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

Haproxy - 421 Misdirected Request #3

Open
FudDeath opened this issue May 29, 2024 · 0 comments
Open

Haproxy - 421 Misdirected Request #3

FudDeath opened this issue May 29, 2024 · 0 comments

Comments

@FudDeath
Copy link

Hey!

I was wondering how you are dealing with "421 Misdirected Request" when using most of the RPCs through Haproxy?

For ex when I run haproxy using your config file then try to do a test using curl

curl -X POST http://localhost:8385 -H "Content-Type: application/json" -H "Host: mainnet.base.org" -d '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id":1}'

Response

<title>421 Misdirected Request</title>

421 Misdirected Request


cloudflare

and if I try https://localhost:8385 then I get

curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number

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

1 participant