-
Notifications
You must be signed in to change notification settings - Fork 5k
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: Invalid JSON RPC response: "" #1470
Comments
I'm having the similar issue when I run this "Error: Invalid JSON RPC response: undefined"
|
Check your web3 version in package.json , I've switched it to ^1.0.0-beta.31 and its all golden now. |
@zo-tahiana did you solve this? can you provide info on what node you are connecting to? |
I have the same issue polling regularly a Parity node (ETH), sometimes I receive this error, but not always: web3: 1.0.0-beta.34
|
Thank you for your help. I solve it by upgrading the web3 version to latest. So, I will close this issue. |
@michelem09 did you solve this? I have exactly the same error message, with the latest web3 version. |
No I still have this |
I'm having this issue as well querying a Geth Ropsten node. What's odd is that I was querying the node just fine, then I restarted the node and now I can't query it. Node v10.0.0 EDIT: I found my issue, although it was a stupid error on my part I'm leaving this up incase anyone else happens to have the same issue. I had conflicting env vars which were overriding the host+port I was connecting to, and pointing it towards a node that wasn't up anymore. So this is more of a case of a very bad error message (invalid json rpc vs connection refused) |
Yes, agreed with @jrbury, that wired message was fired when the connection was refused or timeout, and it would be nice to have a meaningful error message returned in that case I think. |
i too get the same response.please provide me a solution. |
check your code making sure you are using the web3 v1 syntax |
Yes. I'm following official web3 documentation
…On Tue, Aug 14, 2018, 8:42 PM arash kiani ***@***.***> wrote:
check your code making sure you are using the web3 v1 syntax
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1470 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aoax9Gb9zNsbsVK3qKJRuCZt233D4PmWks5uQujOgaJpZM4St6rH>
.
|
I'm closing the issue..I got error because i have'nt declared the correct port.it's working fine now.thanks |
In case other debuggers hit this, I was SSHing into a node of a private network and thought I could use |
"name": "inbox", deploy.js // reason we are writing function so that we can avoid promises and use async await console.log('contract deployed at',result.options.address);//to know where our contract is deployed }; ERROR IAM GETTING WHEN I RUN ABOVE CODE |
@sushanth3366 Did you solve the issue, I am getting the same problem. |
If anybody else has solved the issue mentioned by @sushanth3366. Please write back. |
Check the current provider and expected provider
|
Note to my future self when I forget again and look this up, AND anyone else still having this problem: If you are using Geth make sure to run geth in RPC mode |
I was getting same issue with : |
@parin13 I had same issue at |
Hello,
I make this code for watching the event Submission but I have the error:
Error: Invalid JSON RPC response: ""
I'm using web3 v0.19.1
Thanks !
The text was updated successfully, but these errors were encountered: