Cant connect to the local websocket server using websocketprovider #4500
ArnabChatterjee20k
started this conversation in
General
Replies: 1 comment
-
Your server is sending that back in the "request" handler. That isn’t something the Ethereum WS protocol responds with. You need to populate the response correctly; which must include a JSON-RPC response (https://www.jsonrpc.org/specification) with a result value that matches the expected response. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ethers Version
6
Search Terms
No response
Describe the Problem
I am using websocketprovider to listen for the events and thus build my own local websockets but everytime I am getting unexpected response.
Code Snippet
Backend consuming websocket and ether js
Errors
Environment
No response
Environment (Other)
No response
Beta Was this translation helpful? Give feedback.
All reactions