Skip to content
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

InvalidStateError on stream.read() for message with 206 status #11

Closed
leifurhauks opened this issue May 6, 2016 · 1 comment
Closed

Comments

@leifurhauks
Copy link
Contributor

Stream.read sometimes throws an InvalidStateError originating at connection.py:344. It seems that sometimes the future is already cancelled at that point, so future.set_result(message) raises InvalidStateError.

I haven't found a cause yet.

@davebshow
Copy link
Owner

As we determined, this was caused due to a timeout canceling the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants