From one day to the next, without carrying out any updates, infura stopped working. With other providers it continues to work correctly.
Uncaught TypeError: Cannot read properties of undefined (reading 'callback')
at WebSocketProvider._this.websocket.onmessage
request.callback(error, undefined);
_this.emit("debug", {
action: "response",
error: error,
request: JSON.parse(request.payload),
provider: _this
});
"ethers": "^5.7.2",
"web3": "^1.10.3",
Even if you downgrade it doesn’t work:
"ethers": "^5.7.2",
"web3": "^1.8.1",