jariz / Noti

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

Need to re-authenticate frequently #35

Closed tokestermw closed 6 years ago

tokestermw commented 7 years ago

Hi, thanks for the app.

I'm on my Mac and use Noti to mirror notifications from my Android phone.

It seems to get disconnected frequently and I have to re-authenticate. I can't seem to pinpoint the cause but I think it happens when WiFi changes or there's no data on my phone.

The same thing happens on AirDroid but it would be great if there's some visual indicator to see if I'm disconnected.

fajor commented 7 years ago

Current solution is to close and reopen the app. An option to reload the app without having to close and reopen would be appreciated. Or if Noti would automatically reload itself after the Mac comes back from Power Off or Sleep.

jariz commented 7 years ago

Are you sure you are on the latest version? There's been a disconnected indicator for a while (the icon gets dark), and there was a bug before where it would not reconnect, but that's also long been fixed (both in 0.1.4)

Do you mean reauthenticate as in having to click 'Reauthorize' in the status menu or reauthenticate as in reconnecting to PushBullet?
You should rarely have to click reauthorize.

fajor commented 7 years ago

Hi!

I'm on 0.1.5.

I don't have to click 'Reauthorize' in order to reconnect (it works, but closing and reopening is much simpler).

When this problem arises, I do not get the disconnected indicator.

I'm not 100% sure if putting the Mac to sleep and opening it back up after a couple hours is the source of the problem, but it usually happens then.

Here's what I currently see on Noti:

screen shot 2016-12-14 at 1 09 02 pm

On my Nexus 5's Pushbullet app, I can troubleshoot the current problem by sending a test notification: screenshot_20161214-130602

However it simply does not appear until I close and reopen Noti. After doing so, Noti behaves normally:

screen shot 2016-12-14 at 1 14 57 pm

Other than this though, I'm very happy with your app. Thanks for the help!

tokestermw commented 7 years ago

I am on 0.1.5 as well and I don't see any notification.

I'm on macOS Sierra 10.12.1 if that matters.

jariz commented 7 years ago

I really am going to need exact steps to reproduce this or else I won't be able to fix it. Haven't had this before personally and I keep my mac running for months, putting it to sleep multiple times a day.

tokestermw commented 7 years ago

Interestingly, I've updated to MacOS 10.12.2 and I haven't had a problem since.

On Dec 18, 2016, at 10:37, Jari Zwarts notifications@github.com wrote:

I really am going to need exact steps to reproduce this or else I won't be able to fix it. Haven't had this before personally and I keep my mac running for months, putting it to sleep multiple times a day.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jariz/Noti/issues/35#issuecomment-267837953, or mute the thread https://github.com/notifications/unsubscribe-auth/AEgNxz8A5evnLs7RcCtY1KllHphx9a3Bks5rJX1fgaJpZM4LMJZw.

benblb commented 7 years ago

I'm on MacOS 10.12.2 and Noti constantly stops working. Tried putting my Mac to sleep to see if that breaks it, but it did not. It seems to just stop at random. When it does work, however, it's fantastic!

Off topic: would really love if you could add in the 'dismiss on phone' option since it's quite useful.

Thanks for creating such a useful tool!

jariz commented 7 years ago

Would really love to help fix this problem but I've never encountered this before and use it daily ☹️
@benblb When it stops working, is noti's icon darkened?

benblb commented 7 years ago

Next time it stops working I'll take a screenshot for you :)

armandabric commented 7 years ago

Same issue for me. I need to reauthenticate to keep it working.

taolmsted commented 7 years ago

I, too, am having this issue. While I don't to reauthenticate, I'm discovering I need to quit the app and then restart it. The menu bar icon is most certainly not darkened. I'll begin monitoring more closely to identify perceivable trends.

JohnnyMcL commented 7 years ago

I am also experiencing the issue where no notifications will be mirrored until I quit and restart the app. This only occurs after my MacBook has been closed for a length of time, usually when I go to sleep for the night, and the app works perfectly well at all other times. I have not encountered the need to reauthenticate, and the menu bar icon does not darken when this occurs.

jariz commented 6 years ago

Hi all! We just recently pushed a new update that adds logging functionality in order for us to diagnose issues like this better. If this issue happens again for you, please send us your logfile!

You can do this by following these steps:

jevy commented 6 years ago

Hi @jariz - Just installed this for the first time two days ago. I have to reauthenticate frequently. Here's the log: https://gist.github.com/jevy/0eda795b22763e609ff3e711d8b7f8e5

benblb commented 6 years ago

I am experiencing this issue, @jariz - thanks for being on top of it!

https://gist.github.com/anonymous/ae0bec7391a0f378c9940669d54efee3

Edit: Apparently I wasn't signed in when I made the gist, but it is mine.

MatrixDev commented 6 years ago

I'm experiencing same problem. For me it happens constantly after closing mac for few hours. I'm on High Sierra.

This is how Noti looks like: https://imgur.com/a/F0oHH

Here are logs:

20:15:16.542 INFO PushManager.websocketDidDisconnect():286 - Reconnecting in 5 sec
20:15:17.986 WARNING PushManager.disconnect():52 - Trigged disconnect
20:15:21.548 WARNING Is disconnected: Optional("The operation couldn’t be completed.websocketDidDisconnect():283 - PushManager
20:15:21.549 INFO PushManager.websocketDidDisconnect():286 - Reconnecting in 5 sec
21:08:28.174 WARNING Is disconnected: Optional("The operation couldn’t be completed.websocketDidDisconnect():283 - PushManager
21:08:28.174 INFO PushManager.websocketDidDisconnect():286 - Reconnecting in 5 sec
21:08:33.179 WARNING Is disconnected: Optional("The operation couldn’t be completed.websocketDidDisconnect():283 - PushManager
21:08:33.179 INFO PushManager.websocketDidDisconnect():286 - Reconnecting in 5 sec
21:08:38.185 WARNING Is disconnected: Optional("The operation couldn’t be completed.websocketDidDisconnect():283 - PushManager
21:08:38.186 INFO PushManager.websocketDidDisconnect():286 - Reconnecting in 5 sec
21:08:46.842 DEBUG Is connected.websocketDidConnect():279 - PushManager
00:02:26.696 WARNING PushManager.disconnect():52 - Trigged disconnect
00:02:26.749 WARNING Is disconnected: nil.websocketDidDisconnect():283 - PushManager
00:02:26.750 ERROR PushManager.websocketDidDisconnect():296 - Not going to reconnect: I'm killed
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.

tokestermw commented 6 years ago

I've been using 0.3.1 for the past few days. Looks good!

Looks like it's working for various situations: after sleep, using a VPN, tethering, no WiFi, etc.

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.