Skip to content

Infura Method not Allowed for w3.eth.filter() #1003

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

Closed
rbval opened this issue Aug 15, 2018 · 2 comments
Closed

Infura Method not Allowed for w3.eth.filter() #1003

rbval opened this issue Aug 15, 2018 · 2 comments

Comments

@rbval
Copy link

rbval commented Aug 15, 2018

  • Version: 4.4.1
  • Python: 3.5
  • OS: osx

What was wrong?

Doesn't let filter by an address on Rinkeby. Should this be signed? How exactly? Shouldn't this be a normal lookup, creating no transaction?

  • The code which produced the error
provider = HTTPProvider(<infura_token>)
w3 = Web3(provider)
filt = w3.eth.filter('address': <CONTRACT_ADDRESS>)
  • The full output of the error
requests.exceptions.HTTPError: 405 Client Error: Method Not Allowed for url: <infura_token>
  • What type of node you were connecting to.
    Infura / Rinkeby

How can it be fixed?

@voith
Copy link
Contributor

voith commented Aug 15, 2018

@rbval Filters are not supported on Infura.
This is not a bug in web3.py

@pipermerriam
Copy link
Member

@rbval we have a feature in the works to fix this but it isn't complete yet. See #551

cc @dylanjw

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

3 participants