2014-09-22 1 views
1

내 서버에서 infusionsoft API 라이브러리를 실행하고 있습니다. 코드에서 나는 그들의 방법을 사용하여 infusionsoft에서 연락처를 찾을 수있다 dsFind. 연락처를 가져올 수있는 한도를 5로 설정하면 정상적으로 작동하지만 10을 넘으면 오류 아래에 던지고 있습니다.오류 : 8 - CURL 오류 : GnuTLS recv 오류 (-9) : 예기치 않은 길이의 TLS 패킷이 수신되었습니다.

ERROR: 8 - CURL error: GnuTLS recv error (-9): A TLS packet with unexpected length was received.

다른 서버에서도 동일한 코드가 정상적으로 작동합니다.

답변

0

이 문제는 GnuTLS가 TLS 프로토콜을 심각하게 다룹니다. Nikos Mavrogiannopoulos explains this fact in a message on the gnutls-devel mailling list :

Several sites terminate the TLS connection without following the TLS protocol (i.e. sending closure alerts), but rather terminate the TCP connection directly. This is a relic of SSLv2 and it seems other implementations ignore this error. GnuTLS doesn't and thus prints this error. You could ignore it, but then you could not distinguish between a premature connection termination (i.e. by someone injecting a stray TCP termination packet) and normal termination.