I've followed this guide to subscribe to events. I succesfully subscribed to the new block headers using Infura provider. But when I try to use local geth node syncing in light mode, it connects, but can't receive new events. Waits for a while, and then throws with unexpected EOF.

I think it's impossible to subscribe to the new events using the node in light mode, but I can't find any information to proove this. Is it right?

1 Answer 1


No, my suggestion was wrong, the problem is different. I did the same steps, but with web3.js and it worked out.

UPD: So, after updating the go package go-ethereum to v1.9.2, everything works perfectly.


go get -u github.com/ethereum/go-ethereum

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.