We are trying to use the WebSocket provider in our Node.js dApp to have a log stream filtered by our events, but it is working very unreliably. At times, this will print on the production console:
connection not open on send()
We were using the latest web3-1.0.0-beta36 and then downgraded to -beta33 as per the docs, but the behaviour persisted.
And any query that uses WSS provider (like using a contracts methods) will fail because the underlying transport (websocket) failed.
We can’t use any other transport to get events, so we are kind of stuck. What can we do?