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

Not working with HTTP/1.0, f.e. when proxied #303

Open
jitash opened this issue Jun 7, 2023 · 8 comments
Open

Not working with HTTP/1.0, f.e. when proxied #303

jitash opened this issue Jun 7, 2023 · 8 comments

Comments

@jitash
Copy link

jitash commented Jun 7, 2023

image

hi, i have this error when use quick-node in rust: error: JSON-RPC error: transport error: HTTP response started with HTTP/1.0 ; expected HTTP/1.1 .
anyone can help?

@stevenroose
Copy link
Collaborator

Hmm, that's interesting, I don't actually know why we enforce HTTP/1.1 being used..

But what is "quick-node"? You're not using bitcoin core?

@stevenroose
Copy link
Collaborator

Oh, is that https://www.quicknode.com/chains/btc? Interesting. So they use some HTTP proxy probably that is using HTTP/1.0.

@jitash
Copy link
Author

jitash commented Jun 8, 2023

So, how can I set compatibility with HTTP/1.0?

@gdnathan
Copy link

Same issue here

@stevenroose stevenroose changed the title JSON-RPC error Not working with HTTP/1.0, f.e. when proxied Oct 19, 2023
@chinyuchan
Copy link

Same issue

@TheBlueMatt
Copy link
Member

Uhhh, HTTP/1.1 is from 1997, this is a bug in whatever software is requiring almost 30 year old protocols, not a bug in this library.

@apoelstra
Copy link
Member

FWIW, though, it should be fixed upstream by the minreq backend. We had an issue here #259 (see also #276 and #330) which appear to be stalled out. But in principle it should be easy for this library to update their jsonrpc dep.

@scolear
Copy link

scolear commented Oct 17, 2024

Same issue on v0.19.

Not sure why quicknode is using HTTP/1.0, alas we can't use it. We are trying to use it as a backup provider for when our bitcoin node is under maintenance. Instead we will spin up another one for the time being.

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

7 participants