-
Notifications
You must be signed in to change notification settings - Fork 23
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
httpx.ResponseNotRead: Attempted to access streaming response content, without having called read()
#8
Comments
@AveZorgen, hello! I just ran the tests and didn't find any errors. Could you send me a list of ACCOUNTS? Tell me, how often does this error occur? I have implemented the solution you found in version 0.2.4b1. Try installing it ( |
One of the accounts: UQD0g_SvxCFDL6siKlAbCGuunZY8R7L6imTN0mIaxIGWGVQf
I'm guessing it's because of these lines at except httpx.ResponseNotRead:
content = response.text My python is
|
@AveZorgen, thanks for the detailed tips! Try installing it |
@nessshon Hello, I have similar exception:
Now I’ll install the version you specified and check it. I'll let you know tomorrow morning, was there an exception again or is everything stable |
@nessshon still throws an exception. After about 1-2 hours of work. |
@Asidert, @AveZorgen, Have you encountered any more errors lately? If so, I'm considering implementing a strategy to ignore all 5xx errors so that the SSE method continues to function regardless. What are your thoughts on this approach? |
@nessshon There were errors, but now I catch them and try to reconnect |
Hello, I've got an error while using
tonapi.sse.subscribe_to_transactions
when "HTTP/1.1 502 Bad Gateway" occurs.My code snippet:
I've also found a possible solution here: https://github.com/encode/httpx/discussions/1856
Stacktrace:
The text was updated successfully, but these errors were encountered: