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

[web3@1.0.0-beta.41] getPastEvents not working - {"code":-32603,"message":"request failed or timed out"} #2337

Closed
neocybereth opened this issue Feb 7, 2019 · 1 comment

Comments

@neocybereth
Copy link

All issues which aren't created with this template will get immediately closed.

Expected behavior

Expected .getPastEvents to fire for a particular contract and return the data based on the allocated toBlock/fromBlock parameters

Actual behavior

Console returns this error:
{"code":-32603,"message":"request failed or timed out"}

Steps to reproduce the behavior

  1. [First step]
    find an ethereum contract
  2. [Second step]
    call an event on it between a particular pair of block numbers
  3. [and so on...]

Error Logs

(node:37749) UnhandledPromiseRejectionWarning: Error: Connection error: Connection is not open on send()
    at /Users/smorgin099/projects/node_modules/web3-providers/dist/web3-providers.cjs.js:519:27

NOTE: #2311 (comment) ; in this comment @mistersandman provides valuable insight into what the potential issue is.

Versions

[NPM, Node, Web3.js, OS, device...]
web3@1.0.0-beta.37 - 41 (ive tried all instances to no avail)
node@v10.14.2
npm@6.7.0
OS: MacOS mojave

@nivida
Copy link
Contributor

nivida commented Feb 7, 2019

I'm closing this issue because I've reopened the other.

@nivida nivida closed this as completed Feb 7, 2019
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