Questions tagged [websocket]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
12
votes
2answers
12k views

Geth can't connected to via Websocket

I am trying to connect to Geth via Websockets but unfortunately i am given 403 error. I am using the --ws --wsport XXXX args. Everything is done in a local instance, so that would be surprising if ...
4
votes
1answer
1k views

How to listen to contract events using ethers.js?

I need to listen to the specific contract events and do some task once the event is emitted. I didn't find proper docs on ethers.js documentation. Can anybody tell me how can I keep listening to my ...
2
votes
3answers
7k views

web3 Websocket connection to infura

I receive this error when I'm trying to connect to the websocket WebSocket connection to 'wss://ropsten.infura.io/ws' failed: Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol'...
2
votes
1answer
254 views

Connecting to blockchain on azure using web3.js and websocket

right now, I am trying to write a service using web3 which will 'subscribe' to all 'perndingtransactions' on blockchain to perform further actions. web3 documentation says that 'Httpprovider' cant be ...