Open bdbogjoe opened 1 year ago
Hi, sorry for the late reply.
What is wrong with my code?
Probably nothing. It looks like the page expired even though we tried to keep it alive with presence packets. Could you check how often your browser does a request to pronote when idle? Your instance could be set up differently with shorter delays...
Looking at the current demo website it does send something a bit different: appelpolling
requests that look like an attempt at notifications maybe? I don't see any Presence requests anymore. Since there is always a pending request, it might have replaced the original system.
i'm trying to use keep alive but i have this error :
I'm running this is dedicated thread :
client.keep_alive().alive()
but i have this error after delay of 300s while doing real keep alive
self._client.post("Presence", 7)
What is wrong in my code ?