cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_info_read() returning result of CURLE_RECV_ERROR

From: KS Lee <kslee_at_soft-skills.com.my>
Date: Thu, 8 Oct 2015 16:36:39 +0800

*Hi Daniel*

On Thu, Oct 8, 2015 at 3:22 PM, KS Lee <kslee_at_soft-skills.com.my> wrote:

> From: Daniel Stenberg <daniel_at_haxx.se
> <daniel_at_haxx.se?Subject=Re:%20curl_multi_info_read()%20returning%20result%20of%20CURLE_RECV_ERROR>
> >
> Date: Thu, 8 Oct 2015 08:26:15 +0200 (CEST)
>
> On Thu, 8 Oct 2015, KS Lee wrote:
>
> *> libcurl/7.44.0 OpenSSL/0.9.8k zlib/1.2.8 *
>
> This OpenSSL version is fairly old (March 2009) and it could be worth
> trying a
> more modern version before putting a lot of efforts into this.
>
*​Yes, we have cut a version with OpenSSL 1.0.2d. Will be retesting
tomorrow.*
* ​*

> *> THEN ERROR HERE >>>> SSL read:
> error:00000000:lib(0):func(0):reason(0), *
>
> Based on this, I would suspect something fishy on the TLS or TCP layer.
> Using
> wireshark to check out the TCP traffic on the last parts of the
> communication
> could at least rule that out.
>
> Also, can you do _other_ HTTPS requests successfully against this site? I
> mean
> doing a simple GET or something on another URL? Could make an easier test
> and
> debug case.
>

*Just prior to this, there was another SSL-based POST/GET to authenticate
user credentials. And that worked fine. The user was logged in OK without
any errors.*

*Here are the traces culled from the audit trails:*

GET ***** HTTP/1.1
Host: ******
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/45.0.2454.101 Safari/537.36
Accept: */*
Accept-Encoding: deflate, gzip

HTTP/1.1 200 OK
content-length: 8516
content-type: text/html
date: Thu, 08 Oct 2015 02:22:50 GMT
p3p: CP="NON CUR OTPi OUR NOR UNI"
server: WebSEAL/6.1.1.19 (Build 150525)
pragma: no-cache
 cache-control: no-cache

Added cookie
PD-S-SESSION-ID="0_M/UdolEutPLMDEcpqd94Vdje7/pJMcpd4bJFbx2/njBvMDpjV4M="
for domain ******, path /, expire 0

Set-Cookie:
PD-S-SESSION-ID=0_M/UdolEutPLMDEcpqd94Vdje7/pJMcpd4bJFbx2/njBvMDpjV4M=;
Path=/; Secure

<
html>
​<HEAD>
*** whole bunch of HTML and JavaScript here
​</TABLE>
</BODY>
</html>​

​Connection #0 to host ****** left intact

​*** HERE, IT IS POSTING ANOTHER REQUEST TO GET AT ANOTHER PAGE
​Trying 10.1.8.95...​
Name '192.168.128.61' family 2 resolved to '192.168.128.61' family 2
​Local port: 0
​Connected to ****** (*** ip address ***) port 443 (#0)
​Cipher selection:
ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
​SSL re-using session ID
​TLSv1.0 (OUT), TLS handshake, Client hello (1):​
​[start of header character]
​** a bunch of SSL negotiation follows...
...
upload completely sent off: 107 out of 107 bytes
HTTP/1.1 302 Moved Temporarily
​content-length: 1435
​content-type: text/html
​...
Ignoring the response-body
​...
Issue another request to this URL: 'https://*** host name***'
Switch from POST to GET
​Found bundle for host ept.bursamalaysia.com: 0xf11aa8
​Re-using existing connection! (#0) with host ***hostname***
​...
GET ***url*** HTTP/1.1​
...
HTTP/1.1 200 OK
...
*Connection #0 to host 192.168.128.61 left intact*

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-10-08