[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: httpapi error: SetError() #43: CommSSL_Read: time-out!



Ken,

It has sent your XML to the server and is waiting for a reply, but does not receive one and eventually times out.

You say this only happens from time-to-time. If that is the case, it's most likely because the server is very busy, so it times out. I would recommend adjusting your program to look for the time out error, and if it occurs, delay for a minute or two and re-try.

Good luck!

On 7/16/2015 8:12 AM, Kenrick Chan wrote:
    Hi Scott,
    From time to time, the http log records this error: SetError() #43:
    CommSSL_Read: � time-out!
    I google and found 2 pages of links related to the subject but I'm
    still confused.�
    From the face value of the error message, it seems there could be issue
    with the SSL connection.
    Here is an extract (sanitized) from the http log:
    sendraw(): entered
    <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
    xmlns:soapenv="[1]http://schemas.xmlsoap.org/soap/envelope/";
    xmlns:common="[2]http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0";
    xmlns:rate="[3]http://www.ups.com/XMLSchema/XOLTWS/Rate/v1.1";
    xmlns:tns="[4]http://www.ups.com/WSDL/XOLTWS/Rate/v1.1";
    xmlns:upss="[5]http://www.ups.com/XMLSchema/XOLTWS/UPSS/v1.0";><soapenv:
    Header></soapenv:Header><soapenv:Body><rate:RateRequest><common:Request
    ></soapenv:Body></soapenv:Envelope>
    recvresp(): entered
    SetError() #43: CommSSL_Read: � time-out!
    recvresp(): end with timeout
    http_close(): entered
    HTTPAPI Ver 1.24 released 2012-01-23
    OS/400 Ver V7R1M0
    WSDL2RPG (eXpat error): (3) no element found
    �  �  received at line: 1
    �  �  �  �  �  � at column: 0
    �  �  �  from procedure: WSDL2R97_XMLSAXParser_endParse
    �  �  �  � and statement: 108900
    ** 2015-07-15-09.50.27.305000: Leaving RatePort_ProcessRate()
    Thanks,
    Ken

References

    1. http://schemas.xmlsoap.org/soap/envelope/
    2. http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0
    3. http://www.ups.com/XMLSchema/XOLTWS/Rate/v1.1
    4. http://www.ups.com/WSDL/XOLTWS/Rate/v1.1
    5. http://www.ups.com/XMLSchema/XOLTWS/UPSS/v1.0



-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------