-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid session #6
Comments
I’m located in Sweden and have the exact same problem. My updating frequency is set on 120 seconds. It always works after an app restart though. +20:53:3.964: Info: Invalid session, logging back in. |
Same issue here (in Norway). Running 60s updates. App restart fixes the issue for a short while. @Vaggan any chance to figure out what is causing this? |
To me it seems the "Fix problem with multiple locks" PR is causing the issue. Haven't been able understand the whole workings yet but when getting the lock-id from the source every-time one need it by calling this.getData().id seems to be an issue since the auth-session seems to die pretty fast. Was able to recreate this by logging in manually to https://mypagesapi.sectoralarm.net/locks/getlocks/?withstatus=true&id={my system id} that returns valid information for a few refreshes before it suddenly returns unauthenticated. I see that the "sector_alarm_central" driver is authenticating on every call. |
If you have more information or suggestions, please contact me.Sorry for not replying earlier. |
Same issue here. I use 600s updates. |
This plug-in worked for a little while, but recently stopped working. I checked the log, and it seemed like the app was flooding the server with login attempts. My polling interval was set to 60 sec. Account was then blocked, and I unblocked it again. Changed the polling frequency to 1200 sec, but did not affect anything. Reinstalled the app and was able to add the devices back, but they don't seem to be controllable anymore. Log is saying "SectorAlarmError: Invalid session, please re-login".
I am located in Norway, by the way.
Snippet from the log:
+14:20:59.922: onCapabilityChanged, set locked to: true
+14:21:0.204: SectorAlarmError: Invalid session, please re-login
+14:30:19.528: onCapabilityChanged, set locked to: false
+14:30:25.817: onCapabilityChanged, set locked to: true
+14:30:26.087: SectorAlarmError: Invalid session, please re-login
+14:30:28.686: {"status":"success"}
+14:30:28.798: onCapabilityChanged, set locked to: false
+14:30:29.409: onCapabilityChanged, set locked to: true
+14:30:29.756: SectorAlarmError: Invalid session, please re-login
+14:30:32.972: {"status":"success"}
The text was updated successfully, but these errors were encountered: