-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Error when when connection close while getting logs #2614
Labels
Bug
Addressing a bug
Comments
Thanks for opening this issue! I'll test and fix it asap. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Infura can close websocket connection when request takes a lot of time, for example query past events starting block 0 on mainnet. In this case web3 produce this error in console:
https://github.com/ethereum/web3.js/blob/1.0/packages/web3-providers/lib/providers/AbstractSocketProvider.js#L195 is the location in file where the error occurs.
Screenshot from debugger:
Steps to reproduce the behavior
Versions
The text was updated successfully, but these errors were encountered: