Open EdoVro opened 2 months ago
That error is it because it was unable to connect to the servers due to your device not having internet connection to renew your token, and its erroring out because the token is then invalid when it tried to use it.
I'm not that sure what we could do to work around that for you. as the only solution I can think of is suppressing the error and forcing it to try over and over.
Well first of all, have it not crash when it loses connection. Because that could definitely happen not just from entering sleep mode. I feel it should automatically refresh when trying to open from the system tray. Maybe even add a Refresh option when right clicking. Adding auto-refresh when in the background every 30 minutes could be an option too, but I feel that'd interfere with displaying play time.
These aren't full on solutions to my problem, but it's way better than current.
So this app works great, has everything I need, but there's one big issue. I leave it minimized in the system tray, but I've noticed after a bit, or if I were to exit sleep mode, it stops working. When I try and reopen through the system tray, and then interact, it crashes. But then if I reopen, it's perfectly fine for a bit until it repeats.
Here's the log file, it's not the whole thing, but that's because I noticed it was repeating the same error, I assume for every time this has happened. Hoping there's a fix to this issue, cuz if I have to reopen the app constantly, then I don't see the point of using it to begin with.
1724435225.067474: 'result' 1724435225.067474: Login from file 1724435225.067474: Login from imink 1724435225.067474: HTTPSConnectionPool(host='api-lp1.znc.srv.nintendo.net', port=443): Max retries exceeded with url: /v3/Friend/List (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x0000022BB264B890>: Failed to resolve 'api-lp1.znc.srv.nintendo.net' ([Errno 11001] getaddrinfo failed)")) 1724435225.067474: Cannot get session token properly 1724435225.067474: Failure with authorization: 'result'\Friends returns {"status": 9404, "errorMessage": "Token expired.", "correlationId": "a1fc42a0-91631e4a"}