php - ERROR: 8 - CURL error: GnuTLS recv error (-9): A TLS packet with unexpected length was received -
i have infusionsoft api lib running on server. in code, have find contacts in infusionsoft using method dsfind
. if use 5 limit fetch no of contacts, working fine when make more 10, throwing below error:
error: 8 - curl error: gnutls recv error (-9): tls packet unexpected length received
.
the same code working fine on other server.
the problem relies on fact gnutls deals tls protocol. nikos mavrogiannopoulos explains fact in message on gnutls-devel mailling list:
several sites terminate tls connection without following tls protocol (i.e. sending closure alerts), rather terminate tcp connection directly. relic of sslv2 , seems other implementations ignore error. gnutls doesn't , prints error. ignore it, not distinguish between premature connection termination (i.e. injecting stray tcp termination packet) , normal termination.
Comments
Post a Comment