-
Notifications
You must be signed in to change notification settings - Fork 2
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
Edupage logging out after some time #13
Comments
Have you been calling any methods during that long period? Edupage should extend your current session when you send a request. I could implement some mechanisms to automatically send some ping request repeatedly in some period to keep the session. |
Nope, it was not doing anything in that time. |
There is the same issue in the python edupage-api, so this is probably a bigger issue - maybe there need to be additional requests to extend the session (portalPing?). |
yes this is an issue with python edupage-api, js edupageapi, and most likely cdupage too. |
Nice! Did the new update solve your issue? Edit: Look at the next comment for more info |
I just publish 2 new releases with session pinging added. In case of some failure, there's also a second release which tries to resolve those issues automatically. Hopefully, this will solve your issue. |
Is this and #12 resolved? |
Probably not, there's big update planned, but currently, I have no enough time to work on it. I think, I might be able to migrate all this html parsing stuff to mobile api in like one or two weeks. Hopefully then it will be much more stable. |
Gonna leave it running in the background now. |
Ubuntu crashed. Guess this is not happening today |
I think i can consider this to be fixed now. If it happens again I will reopen this issue. |
The fix seems to be not working. |
My server is logging out after some time too! It has the latest version of edupageapi and has its own edupage.refresh() on intervals too! |
A way to fix this could be an option to automatically log back in with the provided credentials if it cant connect anymore. |
✖ Error!!
Error log:
Stuff that may be causing the problem:
I left the program running for a very long time, maybe it logged out after some time and thats why?
The text was updated successfully, but these errors were encountered: