OpenBazaar / multiwallet

API based multi-cryptocurrency wallet
MIT License
72 stars 41 forks source link

Multiwallet websocket connection to blockbook intermittently fails #105

Closed placer14 closed 4 years ago

placer14 commented 4 years ago

We have been getting reports of connectivity failures when sending new messages over our persistent websocket connection to our Blockbook instrastructure. The most used common case of failure is when adding new "watched addresses" (which is maintained on a per-connection basis). Aside from failure during new messages, there is not much other corelative behavior which is obviously triggering this disconnection.

This issue manifests as an error in the logs from the multiwallet indicating that the websocket has died and is reconnecting via https://github.com/OpenBazaar/openbazaar-go/blob/f3499105bfdb834cddf365e140f391ffac0033f8/vendor/github.com/OpenBazaar/multiwallet/client/blockbook/client.go#L48.

hoffmabc commented 4 years ago

This issue was addressed via https://github.com/OpenBazaar/openbazaar-go/pull/1920 and https://github.com/OpenBazaar/openbazaar-go/pull/1925