On Fri, Apr 18, 2014 at 12:16 PM, David Woodhouse <dwmw2 at infradead.org> wrote: > On Thu, 2014-04-17 at 16:18 -0700, Kevin Cernekee wrote: >> >> The error corresponds to GNUTLS_E_PREMATURE_TERMINATION >> >> I think this means that we were expecting to read a TLS record, but >> the connection was unexpectedly closed. You could check this with >> tcpdump/wireshark and see if there is a TCP RST originating from the >> other side. > > See commit 0a0fce467 ? Same error code, but in this case it's affecting the CSTP connection rather than the initial HTTP handshaking: http://pastebin.com/wyHTzjwR I don't think we need a special check here because it automatically reconnects.