Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Web3 connection attempt failed #226
Hi, i keep getting (error.log):
I run geth with the following parameters:
This is my app.json:
Why does the connection fail? Ubuntu 14.4 Kernel 3.19.0-42-generic #48-Ubuntu x86_64 GNU/Linux.
I have the same problem and not solve with rpc enabled.
Similar issue here, my web3 connection from eth-netstats fails despite that node is running normally with the following arguments:
I can connect from any machine using:
And can use all of the enabled apis. Any ideas?
I had the same issue and on checking further in the source code, I saw that the values that were being specified in the app.json file were not being taken into consideration. The following worked for me:
RPC_HOST=server_ip RPC_PORT=port_here WS_SERVER=ws_server_here WS_SECRET=secret_key node app.js
This solved the problem and connected to my local node