Bitcoin full node and query server

Mar 4, 2020

View in context in the libbitcoin Slack #general mirror.

vdeurzen09:15
I had the block subscription running through the night, multiplexing all 4 servers but it stopped receiving blocks after 2AM 😕 I honest don't know what's breaking it, maybe it's a networking issue that's causing my socket to be disconnected? At least the ZMQ interface from libbitcoin-protocol doesn't seem to tell me if that is the case
5 replies · neillm, vdeurzen · last Mar 04, 2020
neillm12:53
By chance are you using any kind of VPN or anything different about your connection? If a VPN reconnects, the script will continue to run, but no more data will come in due to the connection reset. Sounds a little bit like what you're seeing, but not sure.
vdeurzen12:54
This wouldn't have been the case this night as that was running on my home machine, but could be the case on production, which is guarded by a VPN
vdeurzen12:54
Would it make sense then to just periodically reconnect?
neillm12:56
That will help if this is the case, but you may lose a broadcasted message during reconnect.
vdeurzen12:57
Using the poller and several connections, I could reconnect them at different intervals so I spread that risk 🤔
👍 1