1 Post
Tag: Protocols

BY eric
Sep 09, 2026
The Connection Reset That Wasn't: Hunting a Protobuf Bug in IBKR's TWS API
A market data gateway that worked fine for hours started rejecting every single connection with 'Connection reset by peer' - and stayed broken through TWS restarts, a full machine reboot, and every conventional fix. Here's how a raw packet capture and a hand-crafted socket client found the real bug: a version-gated Protobuf auto-switch that TWS silently didn't support.
