-
Notifications
You must be signed in to change notification settings - Fork 913
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
socket hang up #1426
Comments
Possibly issue with outdated node-fetch as I'm seeing these errors as well after updating to 1.78 |
Try configuring your own keep-alive timeout (with advice from your RPC provider) as mentioned here, and report back! |
Thanks @steveluscher - chatting to Triton now. What do you think about the these issues causing code to hang though? Smells like a secondary issue with error handling somewhere in either this package or node-fetch. |
I drew diagrams over at solana-labs/solana#29130! |
Unless your question is ‘why isn't the infra resilient, even in the face of this connection tracking bug’ to which my answer is: if you can't trust the connection tracking code, all bets are basically off. |
No, I'm asking why does the Solana web3 I guess my concern is there is another issue at play which is triggered by issues such as |
It's been 6 months since I've had all the context loaded into my head, but here's what I remember:
If we start guessing why the network is emitting errors, we will be wrong some amount of the time. The solution is either:
|
Because there has been no activity on this issue for 7 days since it was closed, it has been automatically locked. Please open a new issue if it requires a follow up. |
Overview
We keep getting these occasional
socket hang up
errors which seems to cause our backend job to hang.Steps to reproduce
This is difficult to reproduce but the job which triggers it often is pretty heavy on async calls with many RPC requests firing off in parallel using the same
Connection
object.Description of bug
The text was updated successfully, but these errors were encountered: