Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick: node: relax websocket connection header check (#21646) (#…
…1698) ### Description Cherry-picking from go-ethereum [this PR](ethereum/go-ethereum#21646). The fix from the PR is needed for Kong and the GCP LB to be able to redirect the websocket properly. ### Tested Tested in baklava forno env with and without Kong as proxy: ``` ╰─ wscat -c wss://baklava-forno-k8s.celo-testnet.org/ws Connected (press CTRL+C to quit) > {"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1} < {"jsonrpc":"2.0","id":1,"result":"0x768513"} ``` ``` ╰─ geth attach wss://baklava-forno-k8s.celo-testnet.org/ws Welcome to the Geth JavaScript console! instance: celo/v1.4.0-unstable/linux-amd64/go1.16.8 at block: 7767331 (Wed Sep 22 2021 10:01:28 GMT+0200 (CEST)) modules: eth:1.0 net:1.0 rpc:1.0 web3:1.0 To exit, press ctrl-d > ``` ### Related issues - Fixes #1683 ### Backwards compatibility [This celo-monorepo PR](celo-org/celo-monorepo#8100) needs to be merged/used to deploy new celo-blockchain versions to Forno due to [this issue](ethereum/go-ethereum#21441) (this endpoint change is already on master).
- Loading branch information