futureporn-scout/ISSUE1.md

8.5 KiB

error after maybe ~24h of running

OH, it's timestamp errors. might be caused by me switching my system clock to UTC

> scout@0.0.1 start /home/chris/Documents/futureporn-scout
> node index daemon

{ _: [ 'daemon' ], '$0': 'index' }
debug: registering room timer for projektmelody {"service":"futureporn/scout"}
info: monitoring room:projektmelody {"service":"futureporn/scout"}
debug: Ably TokenRequest is either absent or expired. Let's get a new one. {"service":"futureporn/scout"}
debug: Ably authCallback. Getting a fresh new Ably TokenRequest. {"service":"futureporn/scout"}
debug: Got a new TokenRequest {"service":"futureporn/scout"}
info: CB Realtime Connected! {"service":"futureporn/scout"}
debug: Ably authCallback. Getting a fresh new Ably TokenRequest. {"service":"futureporn/scout"}
debug: Got a new TokenRequest {"service":"futureporn/scout"}
20:34:08.456 Ably: Auth.requestToken(): token request API call returned error; err = [ErrorInfo: Timestamp not current; statusCode=401; code=40104; see https://help.ably.io/error/40104 ]
20:34:08.458 Ably: Transport.onProtocolMessage(): Ably requested re-authentication, but unable to obtain a new token: [ErrorInfo: Timestamp not current; statusCode=401; code=40104; see https://help.ably.io/error/40104 ]
debug: Ably authCallback. Getting a fresh new Ably TokenRequest. {"service":"futureporn/scout"}
debug: Got a new TokenRequest {"service":"futureporn/scout"}
20:34:08.545 Ably: Auth.requestToken(): token request API call returned error; err = [ErrorInfo: Timestamp not current; statusCode=401; code=40104; see https://help.ably.io/error/40104 ]
debug: Ably authCallback. Getting a fresh new Ably TokenRequest. {"service":"futureporn/scout"}
debug: Got a new TokenRequest {"service":"futureporn/scout"}
20:34:23.646 Ably: Auth.requestToken(): token request API call returned error; err = [ErrorInfo: Timestamp not current; statusCode=401; code=40104; see https://help.ably.io/error/40104 ]
debug: Ably authCallback. Getting a fresh new Ably TokenRequest. {"service":"futureporn/scout"}
debug: Ably TokenRequest is either absent or expired. Let's get a new one. {"service":"futureporn/scout"}
debug: Got a new TokenRequest {"service":"futureporn/scout"}
20:34:54.218 Ably: ConnectionManager.actOnErrorFromAuthorize(): Client configured authentication provider returned 403; failing the connection
20:34:54.218 Ably: Connection state: failed; reason: [ErrorInfo: Client configured authentication provider returned 403; failing the connection; statusCode=403; code=80019; cause=[ErrorInfo: Mismatch between clientId in token (-anon4f0b537a-a86f-44f0-8ef3-0aafca49aa0b) and current clientId (-anon27e17db6-f2ce-4695-b98c-563529582f67); statusCode=403; code=40102]]
20:34:54.219 Ably: Channel state for channel "room:message:G0TWFS5:9": failed; reason: [ErrorInfo: Client configured authentication provider returned 403; failing the connection; statusCode=403; code=80019; cause=[ErrorInfo: Mismatch between clientId in token (-anon4f0b537a-a86f-44f0-8ef3-0aafca49aa0b) and current clientId (-anon27e17db6-f2ce-4695-b98c-563529582f67); statusCode=403; code=40102]]
20:34:54.219 Ably: Channel state for channel "room:silence:G0TWFS5": failed; reason: [ErrorInfo: Client configured authentication provider returned 403; failing the connection; statusCode=403; code=80019; cause=[ErrorInfo: Mismatch between clientId in token (-anon4f0b537a-a86f-44f0-8ef3-0aafca49aa0b) and current clientId (-anon27e17db6-f2ce-4695-b98c-563529582f67); statusCode=403; code=40102]]
20:34:54.220 Ably: Channel state for channel "room:title_change:G0TWFS5": failed; reason: [ErrorInfo: Client configured authentication provider returned 403; failing the connection; statusCode=403; code=80019; cause=[ErrorInfo: Mismatch between clientId in token (-anon4f0b537a-a86f-44f0-8ef3-0aafca49aa0b) and current clientId (-anon27e17db6-f2ce-4695-b98c-563529582f67); statusCode=403; code=40102]]
20:34:54.220 Ably: Channel state for channel "room:status:G0TWFS5:9": failed; reason: [ErrorInfo: Client configured authentication provider returned 403; failing the connection; statusCode=403; code=80019; cause=[ErrorInfo: Mismatch between clientId in token (-anon4f0b537a-a86f-44f0-8ef3-0aafca49aa0b) and current clientId (-anon27e17db6-f2ce-4695-b98c-563529582f67); statusCode=403; code=40102]]

Seems like a reproducable problem. occurs ~24h after running

> scout@0.0.1 start /home/chris/Documents/futureporn-scout
> node index daemon

{ _: [ 'daemon' ], '$0': 'index' }
debug: registering room timer for projektmelody {"service":"futureporn/scout"}
info: monitoring room:projektmelody {"service":"futureporn/scout"}
debug: Ably TokenRequest is either absent or expired. Let's get a new one. {"service":"futureporn/scout"}
debug: Ably authCallback. Getting a fresh new Ably TokenRequest. {"service":"futureporn/scout"}
debug: Got a new TokenRequest {"service":"futureporn/scout"}
info: CB Realtime Connected! {"service":"futureporn/scout"}
debug: Ably authCallback. Getting a fresh new Ably TokenRequest. {"service":"futureporn/scout"}
debug: Got a new TokenRequest {"service":"futureporn/scout"}
00:17:41.516 Ably: Auth.requestToken(): token request API call returned error; err = [ErrorInfo: Timestamp not current; statusCode=401; code=40104; see https://help.ably.io/error/40104 ]
00:17:41.516 Ably: Transport.onProtocolMessage(): Ably requested re-authentication, but unable to obtain a new token: [ErrorInfo: Timestamp not current; statusCode=401; code=40104; see https://help.ably.io/error/40104 ]
debug: Ably authCallback. Getting a fresh new Ably TokenRequest. {"service":"futureporn/scout"}
debug: Got a new TokenRequest {"service":"futureporn/scout"}
00:17:41.597 Ably: Auth.requestToken(): token request API call returned error; err = [ErrorInfo: Timestamp not current; statusCode=401; code=40104; see https://help.ably.io/error/40104 ]
debug: Ably authCallback. Getting a fresh new Ably TokenRequest. {"service":"futureporn/scout"}
debug: Got a new TokenRequest {"service":"futureporn/scout"}
00:17:56.680 Ably: Auth.requestToken(): token request API call returned error; err = [ErrorInfo: Timestamp not current; statusCode=401; code=40104; see https://help.ably.io/error/40104 ]
debug: Ably authCallback. Getting a fresh new Ably TokenRequest. {"service":"futureporn/scout"}
debug: Ably TokenRequest is either absent or expired. Let's get a new one. {"service":"futureporn/scout"}
debug: Got a new TokenRequest {"service":"futureporn/scout"}
00:18:27.276 Ably: ConnectionManager.actOnErrorFromAuthorize(): Client configured authentication provider returned 403; failing the connection
00:18:27.277 Ably: Connection state: failed; reason: [ErrorInfo: Client configured authentication provider returned 403; failing the connection; statusCode=403; code=80019; cause=[ErrorInfo: Mismatch between clientId in token (-anon89dfcc5b-6805-45e0-94db-bc6cfa0e9618) and current clientId (-anon9118cecf-29db-4bab-9592-38ed446c0617); statusCode=403; code=40102]]
00:18:27.277 Ably: Channel state for channel "room:message:G0TWFS5:9": failed; reason: [ErrorInfo: Client configured authentication provider returned 403; failing the connection; statusCode=403; code=80019; cause=[ErrorInfo: Mismatch between clientId in token (-anon89dfcc5b-6805-45e0-94db-bc6cfa0e9618) and current clientId (-anon9118cecf-29db-4bab-9592-38ed446c0617); statusCode=403; code=40102]]
00:18:27.277 Ably: Channel state for channel "room:silence:G0TWFS5": failed; reason: [ErrorInfo: Client configured authentication provider returned 403; failing the connection; statusCode=403; code=80019; cause=[ErrorInfo: Mismatch between clientId in token (-anon89dfcc5b-6805-45e0-94db-bc6cfa0e9618) and current clientId (-anon9118cecf-29db-4bab-9592-38ed446c0617); statusCode=403; code=40102]]
00:18:27.277 Ably: Channel state for channel "room:title_change:G0TWFS5": failed; reason: [ErrorInfo: Client configured authentication provider returned 403; failing the connection; statusCode=403; code=80019; cause=[ErrorInfo: Mismatch between clientId in token (-anon89dfcc5b-6805-45e0-94db-bc6cfa0e9618) and current clientId (-anon9118cecf-29db-4bab-9592-38ed446c0617); statusCode=403; code=40102]]
00:18:27.278 Ably: Channel state for channel "room:status:G0TWFS5:9": failed; reason: [ErrorInfo: Client configured authentication provider returned 403; failing the connection; statusCode=403; code=80019; cause=[ErrorInfo: Mismatch between clientId in token (-anon89dfcc5b-6805-45e0-94db-bc6cfa0e9618) and current clientId (-anon9118cecf-29db-4bab-9592-38ed446c0617); statusCode=403; code=40102]]

I need to know how long after running does the error occur?

starting at Tue May 30 02:30:27 AM GMT 2023