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

How to check logs subscription status? #23639

Closed
krasi-georgiev opened this issue Sep 25, 2021 · 4 comments
Closed

How to check logs subscription status? #23639

krasi-georgiev opened this issue Sep 25, 2021 · 4 comments

Comments

@krasi-georgiev
Copy link

On occasions infura stops sending events on the web socket and need to resubscribe. Is there any way to check the web socket connection or the subscription status using the generated bindings of a contract?

https://community.infura.io/t/web3js-subscriptions-stop-firing-events-after-a-while-when-using-infura/2673/10

@krasi-georgiev
Copy link
Author

hhm, or maybe this is a bug fixed in #23556

@fjl
Copy link
Contributor

fjl commented Sep 30, 2021

Please provide an example of the Go code you are using to access the infura websocket server.

@fjl
Copy link
Contributor

fjl commented Sep 30, 2021

The PR you linked fixes an issue on the client side where subscriptions may hang if the network connection is improperly terminated on the server side. Please try upgrading go-ethereum v1.10.9 and check if the issue is still present.

@fjl fjl removed the type:docs label Sep 30, 2021
@krasi-georgiev
Copy link
Author

yes already upgraded and will reopen if the issue it still present

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