Read the statement by Michael Teeuw here.
August-Lock Module Stuck on Loading
-
Do you see anything unusual in the logs of node or the browser?
I link the developer here, maybe he’ll get a notification: @relm923
-
-
I am still new at this so didn’t think about the logs. Looks like there is for sure an error, but not sure how to determine what is causing it. Here is the error in the logs…any thoughts
0|mm | [2024-04-03 16:42:14.130] [ERROR] Error occurred while fetching stats Error: GET failed with: 401 0|mm | at IncomingMessage.<anonymous> (/home/admin/MagicMirror/modules/MMM-August-Lock/node_modules/tiny-json-http/bundle.js:1:2186) 0|mm | at IncomingMessage.emit (node:events:526:35) 0|mm | at endReadableNT (node:internal/streams/readable:1408:12) 0|mm | at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { 0|mm | raw: <ref *1> IncomingMessage { 0|mm | _readableState: ReadableState { 0|mm | state: 456758, 0|mm | highWaterMark: 16384, 0|mm | buffer: BufferList { head: null, tail: null, length: 0 }, 0|mm | length: 0, 0|mm | pipes: [], 0|mm | flowing: true, 0|mm | errored: null, 0|mm | defaultEncoding: 'utf8', 0|mm | awaitDrainWriters: null, 0|mm | decoder: null, 0|mm | encoding: null, 0|mm | [Symbol(kPaused)]: false 0|mm | }, 0|mm | _events: [Object: null prototype] { 0|mm | end: [Array], 0|mm | data: [Function (anonymous)] 0|mm | }, 0|mm | _eventsCount: 2, 0|mm | _maxListeners: undefined, 0|mm | socket: null, 0|mm | httpVersionMajor: 1, 0|mm | httpVersionMinor: 1, 0|mm | httpVersion: '1.1', 0|mm | complete: true, 0|mm | rawHeaders: [ 0|mm | 'Date', 0|mm | 'Wed, 03 Apr 2024 20:42:14 GMT', 0|mm | 'Content-Type', 0|mm | 'application/json', 0|mm | 'Content-Length', 0|mm | '65', 0|mm | 'Connection', 0|mm | 'keep-alive', 0|mm | 'vary', 0|mm | 'origin,access-control-request-method,access-control-request-headers', 0|mm | 'content-security-policy', 0|mm | "default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests", 0|mm | 'x-dns-prefetch-control', 0|mm | 'off', 0|mm | 'expect-ct', 0|mm | 'max-age=0', 0|mm | 'x-frame-options', 0|mm | 'SAMEORIGIN', 0|mm | 'strict-transport-security', 0|mm | 'max-age=15552000; includeSubDomains', 0|mm | 'x-download-options', 0|mm | 'noopen', 0|mm | 'x-content-type-options', 0|mm | 'nosniff', 0|mm | 'x-permitted-cross-domain-policies', 0|mm | 'none', 0|mm | 'referrer-policy', 0|mm | 'no-referrer', 0|mm | 'x-xss-protection', 0|mm | '0', 0|mm | 'api-version', 0|mm | '0.0.1', 0|mm | 'x-response-time', 0|mm | '2', 0|mm | 'CF-Cache-Status', 0|mm | 'DYNAMIC', 0|mm | 'Set-Cookie', 0|mm | '__cf_bm=OoUIdyZ8fziOlR0ZXufTExomKxLJrvgfgDil42qlrOk-1712176934-1.0.1.1-6atgYmMjhGdKpAbUxyDKj36_Cswj3DQLV0Me_FTeh0Rywy2UqoMUs35FUtYJoVv06MUOyGfjuch82PQpSg_DGw; path=/; expires=Wed, 03-Apr-24 21:12:14 GMT; domain=.august.com; HttpOnly; Secure; SameSite=None', 0|mm | 'Server', 0|mm | 'cloudflare', 0|mm | 'CF-RAY', 0|mm | '86ebe24d3c4eb3c7-MIA' 0|mm | ], 0|mm | rawTrailers: [], 0|mm | joinDuplicateHeaders: undefined, 0|mm | aborted: false, 0|mm | upgrade: false, 0|mm | url: '', 0|mm | method: null, 0|mm | statusCode: 401, 0|mm | statusMessage: 'Unauthorized', 0|mm | client: TLSSocket { 0|mm | _tlsOptions: [Object], 0|mm | _secureEstablished: true, 0|mm | _securePending: false, 0|mm | _newSessionPending: false, 0|mm | _controlReleased: true, 0|mm | secureConnecting: false, 0|mm | _SNICallback: null, 0|mm | servername: 'api-production.august.com', 0|mm | alpnProtocol: false, 0|mm | authorized: true, 0|mm | authorizationError: null, 0|mm | encrypted: true, 0|mm | _events: [Object: null prototype], 0|mm | _eventsCount: 9, 0|mm | connecting: false, 0|mm | _hadError: false, 0|mm | _parent: null, 0|mm | _host: 'api-production.august.com', 0|mm | _closeAfterHandlingError: false, 0|mm | _readableState: [ReadableState], 0|mm | _maxListeners: undefined, 0|mm | _writableState: [WritableState], 0|mm | allowHalfOpen: false, 0|mm | _sockname: null, 0|mm | _pendingData: null, 0|mm | _pendingEncoding: '', 0|mm | server: undefined, 0|mm | _server: null, 0|mm | ssl: [TLSWrap], 0|mm | _requestCert: true, 0|mm | _rejectUnauthorized: true, 0|mm | timeout: 5000, 0|mm | parser: null, 0|mm | _httpMessage: null, 0|mm | autoSelectFamilyAttemptedAddresses: [Array], 0|mm | [Symbol(alpncallback)]: null, 0|mm | [Symbol(res)]: [TLSWrap], 0|mm | [Symbol(verified)]: true, 0|mm | [Symbol(pendingSession)]: null, 0|mm | [Symbol(async_id_symbol)]: -1, 0|mm | [Symbol(kHandle)]: [TLSWrap], 0|mm | [Symbol(lastWriteQueueSize)]: 0, 0|mm | [Symbol(timeout)]: Timeout { 0|mm | _idleTimeout: 5000, 0|mm | _idlePrev: [TimersList], 0|mm | _idleNext: [Timeout], 0|mm | _idleStart: 498879, 0|mm | _onTimeout: [Function: bound ], 0|mm | _timerArgs: undefined, 0|mm | _repeat: null, 0|mm | _destroyed: false, 0|mm | [Symbol(refed)]: false, 0|mm | [Symbol(kHasPrimitive)]: false, 0|mm | [Symbol(asyncId)]: 17455, 0|mm | [Symbol(triggerId)]: 17453 0|mm | }, 0|mm | [Symbol(kBuffer)]: null, 0|mm | [Symbol(kBufferCb)]: null, 0|mm | [Symbol(kBufferGen)]: null, 0|mm | [Symbol(kCapture)]: false, 0|mm | [Symbol(kSetNoDelay)]: false, 0|mm | [Symbol(kSetKeepAlive)]: true, 0|mm | [Symbol(kSetKeepAliveInitialDelay)]: 1, 0|mm | [Symbol(kBytesRead)]: 0, 0|mm | [Symbol(kBytesWritten)]: 0, 0|mm | [Symbol(connect-options)]: [Object] 0|mm | },
-
@jcgrim13 GET failed with: 401
unauthorized
-
@jcgrim13 Check that your password and augustID are correct.
-
@KristjanESPERANTO, I had that same thought so I triple checked those, even used the same ones to log in to get the authorization code thats required when you first install the module. I am wondering if August changed something with their API…
-
@jcgrim13 I recommend to open an issue in the module’s repository. Maybe the author will notice that.
-
@jcgrim13 sid you rerun the auth script?
-
@sdetweil, I did and everything authorized successfully. I will open an issue with the developer as suggested above. I appreciate the responses and help!