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

Release 15.01 uncompatible with Infura endpoint #2973

Closed
llxxee opened this Issue Nov 8, 2018 · 5 comments

Comments

Projects
None yet
3 participants
@llxxee

llxxee commented Nov 8, 2018

Release 15.01 uncompatible with Infura endpoint

Using Raiden with an rpc-endpoint provided by an Infura Ethereum node results in Client 405 error:
requests.exceptions.HTTPError: 405 Client Error: Method Not Allowed for url: https://ropsten.infura.io/v3/<token>

System Description

Raiden version:

{
  "raiden": "0.15.1",
  "python_implementation": "CPython",
  "python_version": "3.6.7",
  "system": "Linux 64bit_ELF 4.15.0-36-generic x86_64",
  "distribution": "bundled"
}

output of ./raiden --keystore-path ~/.ethereum/testnet/keystore --eth-rpc-endpoint "https://ropsten.infura.io/v3/<my_token>":

... (Python Traceback)
requests.exceptions.HTTPError: 405 Client Error: Method Not Allowed for url: https://ropsten.infura.io/v3/<my_token>

Release 13.01 works well:

{
  "raiden": "0.13.1",
  "python_implementation": "CPython",
  "python_version": "3.6.6",
  "system": "Linux 64bit_ELF 4.15.0-36-generic x86_64",
  "distribution": "bundled"
}
@mat7ias

This comment has been minimized.

mat7ias commented Nov 8, 2018

Same issue as #2951
Lefteris explained why this is happening here. You can fix it by running a Geth or Parity node or otherwise, the next Raiden release should allow users to use Raiden with Infura again (usually comes out on Fridays). Running your own node is much more reliable compared to using Infura in general though so I'd probably recommend that.

@LefterisJP

This comment has been minimized.

Collaborator

LefterisJP commented Nov 8, 2018

@LefterisJP LefterisJP closed this Nov 8, 2018

@mat7ias

This comment has been minimized.

mat7ias commented Nov 8, 2018

@LefterisJP I still get the same error using the latest nightly with Infura. It works fine when I run my own node though.

@LefterisJP

This comment has been minimized.

Collaborator

LefterisJP commented Nov 8, 2018

Hmm let me test it

@LefterisJP LefterisJP reopened this Nov 8, 2018

@LefterisJP

This comment has been minimized.

Collaborator

LefterisJP commented Nov 8, 2018

It's indeed still an issue.

Possibly due to the checks introduced by #2969.
Scratch that. There never was a proper check for Infura.

I will work on this now.

@LefterisJP LefterisJP self-assigned this Nov 8, 2018

LefterisJP added a commit to LefterisJP/raiden that referenced this issue Nov 8, 2018

Make raiden work with Infura again
If we detect an infura endpoint then we skip all the interface checks and
fallback to the `getTransactionCount()` call.

Fix raiden-network#2973

LefterisJP added a commit to LefterisJP/raiden that referenced this issue Nov 8, 2018

Make raiden work with Infura again
If we detect an infura endpoint then we skip all the interface checks and
fallback to the `getTransactionCount()` call.

Fix raiden-network#2973

LefterisJP added a commit that referenced this issue Nov 8, 2018

Make raiden work with Infura again
If we detect an infura endpoint then we skip all the interface checks and
fallback to the `getTransactionCount()` call.

Fix #2973
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment