-
Notifications
You must be signed in to change notification settings - Fork 46
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
HTTPError: HTTP 401: Unauthorized (Invalid session) #13
Comments
(Also, I'd like to add, other than this, TornadIO has been working flawlessly. Great job.) |
Hi, There are two possible scenarios:
Here's "normal" XHR long-polling working sequence:
So, if you changed long-polling timeout to 30 seconds, there's chance Serge. On 27.04.2011 10:27, statico wrote:
|
Just in case, I can prevent it from throwing exception - some debugging message might work better. |
What would be the proper way to "hide" that exception? All the stack traces make the terminal output quite unreadable when restarting the server. |
Hi, You can stop request here: Right now it will send back proper response (http code 401, but it Serge. On Sun, Jul 31, 2011 at 4:30 PM, tcatm
|
polling.py
, line 66, raises this error if the XHR long-polling session expires.Can you elaborate on this a bit more? How does this occur and why is the default 30 seconds? This seems to cause strange behavior on the client-side — how can my clients handle this gracefully?
Thanks :)
The text was updated successfully, but these errors were encountered: