jariz / Noti

Receive Android notifications on your mac. (w/PushBullet) ⛺
MIT License
911 stars 63 forks source link

Noti does not reconnect after sleep #66

Closed joe776 closed 6 years ago

joe776 commented 6 years ago

For me it looks like the latest version (0.3) does not automatically reconnect after sleep. Those are the latest lines in the log:

13:37:13.731 DEBUG Is connected.websocketDidConnect():279 - PushManager
15:13:42.172 WARNING Is disconnected: Optional("The operation couldn’t be completed.websocketDidDisconnect():283 - PushManager
15:13:42.172 INFO PushManager.websocketDidDisconnect():286 - Reconnecting in 5 sec
15:13:44.277 WARNING PushManager.disconnect():52 - Trigged disconnect
15:13:48.150 DEBUG Is connected.websocketDidConnect():279 - PushManager
15:23:55.553 WARNING PushManager.disconnect():52 - Trigged disconnect
15:23:55.554 WARNING Is disconnected: nil.websocketDidDisconnect():283 - PushManager
15:23:55.554 ERROR PushManager.websocketDidDisconnect():296 - Not going to reconnect: I'm killed
12:41:46.287 INFO AppDelegate.applicationWillTerminate():78 - Going to terminate Noti.
12:41:49.712 DEBUG PushManager.initCrypt():67 - Encryption enabled!
12:41:49.714 DEBUG PushManager.init():41 - Getting user info...
12:41:51.918 DEBUG Is connected.websocketDidConnect():279 - PushManager

BTW, could the date be included in the log messages? The disconnect and the reconnect (through a restart) did not happen on the same day, which is not obvious from the messages.

I'm running macOS High Sierra 10.13.2 (17C88) on a MBP Mid 2014.

yamaha252 commented 6 years ago

I have the same issue after update to 0.3. I reconnected it today morning and now it's disconnected again :(

10.13.2 (17C88)

OrkunDzgn commented 6 years ago

It was happening before 0.3. I used to have this error but haven't tried on 0.3 yet but as far as I can see, it still exists since you guys are telling.

OS Version: 10.13.2 Noti Version: 0.3 (Not tested yet)

bjptwist commented 6 years ago

I'm too facing this issue since updating to 0.3.

bertildaniel commented 6 years ago

Same problem with 0.3, also on 10.13.2. Consistenly logged out after sleep, never a problem with 0.2 will downgrade now until this is fixed.

chakrademorue commented 6 years ago

I have the same problem too since the last update.

sagarwadhwa1 commented 6 years ago

I have the same issue. I need to reauthenticate after waking the laptop up from sleep.

urbontaitis commented 6 years ago

I have the same problem too. @sagarwadhwa1 you don't need to reauthenticate, just quit from Noti and open it again ;)

ABeltramo commented 6 years ago

Can you try with the new Release (https://github.com/jariz/Noti/releases/tag/0.3.1 v3.1) if the issue is gone? It's working perfectly now on my end.

chakrademorue commented 6 years ago

Yes, it seems to be OK :) Thanks a lot for the update !

bertildaniel commented 6 years ago

@ABeltramo I've been using latest release for last 2 days without any issue. Thanks!

jariz commented 6 years ago

OK, We've now had numerous reports that this does not seem to be an issue anymore in 0.3.1. Feel free to comment here (with logs attached) if you are still experiencing similar problefms, but we're closing this for now.