-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
bitcore-node does not seem to connect to eth node at all. #3337
Comments
Are you using Geth? Bitcore-node was designed to sync with Parity/OpenEthereum and might not work with Geth out of the box. If you're using Parity/OE, what flags are you passing in? |
Since OpenEthereum will run out of support and the devs moved on to Erigon I use erigon. I know that geth is missing some used functions so it can not be used. I finally found the reason (and I start to dislike nodejs projects in general more and more just for the fact that debugging and finding an error is a pain in the ass). |
Just to be complete.
web3-core-helpers might not be necessary but I had to to it to be able to set breakpoints in the sourcecode and debug the function that has thrown the error in the old version in my VSCode environment. Last but not least I got errors after a time that stop the bitcore-node process. The error was kind of cryptic in the logs. Using the debugger it was clear that the error happens if a block is greater that the given max blocksize of (maxReceivedFrameSize=1MiB and maxReceivedMessageSize = 8MiN) . Luckily that can be changed via the config file.
So far syncing is running without errors using erigon as bitcore node. I rely on /etc/hosts for IP resolution hostnames ending with 6 are IPv6 addresses. |
Hello,
I tried setup 2 machines one running bitcore-node (M-1) the other running an eth node (M-2).
When testing connection from M-1 to M-2 with curl I can see the connection in the log of the eth node.
I tried with bitcore and doge nodes too. They seem to work just fine.
I also checked if SELinux is blocking something but I did not found any indication that this was happening.
However when running bitcore-node I see no connection attempt in the eth node logs at all.
bitcore-node raises an exception
Does any one have a similar issue and a solution?
The text was updated successfully, but these errors were encountered: