• TipClientHTTP SSL error

    From =?UTF-8?B?0J7RgdGC0LDQvyDQoNC+0LzQs@21:1/5 to All on Sun Apr 25 04:26:44 2021
    Hi,
    Today I met this error again:

    PROCEDURE Main()
    LOCAL oHttp, cHtml

    oHttp:= TIpClientHttp():new( "https://bibliotheques-specialisees.paris.fr", .t. )
    oHttp:cUserAgent:= "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36"
    oHttp:hFields:= { "Accept" => "text/html, application/xhtml+xml, image/jxr, */*" }
    IF .NOT. oHttp:open()
    ? "Connection error:", oHttp:lastErrorMessage()
    QUIT
    ENDIF
    cHtml := oHttp:readAll()
    oHttp:close()
    RETURN

    Debug log:

    20210425-14:07:23 :INETCONNECT( bibliotheques-specialisees.paris.fr, 443 )
    719FE0 <<

    20210425-14:07:23 :INETERRORCODE( 719FE0 )
    -1 <<

    xHarbour version: xHarbour Binaries 1.2.3 Rev. 10264 for BCC 5.8.2

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From culikr@gmail.com@21:1/5 to All on Sun Apr 25 09:56:22 2021
    Hi

    which libs was linked and what was the order?

    Regards
    Luiz

    Em domingo, 25 de abril de 2021 às 08:26:45 UTC-3, Остап Романенко escreveu:
    Hi,
    Today I met this error again:

    PROCEDURE Main()
    LOCAL oHttp, cHtml

    oHttp:= TIpClientHttp():new( "https://bibliotheques-specialisees.paris.fr", .t. )
    oHttp:cUserAgent:= "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36"
    oHttp:hFields:= { "Accept" => "text/html, application/xhtml+xml, image/jxr, */*" }
    IF .NOT. oHttp:open()
    ? "Connection error:", oHttp:lastErrorMessage()
    QUIT
    ENDIF
    cHtml := oHttp:readAll()
    oHttp:close()
    RETURN

    Debug log:

    20210425-14:07:23 :INETCONNECT( bibliotheques-specialisees.paris.fr, 443 ) >> 719FE0 <<

    20210425-14:07:23 :INETERRORCODE( 719FE0 )
    -1 <<

    xHarbour version: xHarbour Binaries 1.2.3 Rev. 10264 for BCC 5.8.2

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?B?0J7RgdGC0LDQvyDQoNC+0LzQs@21:1/5 to All on Mon Apr 26 01:58:15 2021
    Hi

    Libs and order:

    set HB_FIRST_LIBS=codepage.lib tipssl.lib tip.lib C:\OpenSSL-Win32\lib\libssl-BC.lib C:\OpenSSL-Win32\lib\libcrypto-BC.lib

    There is no error with other https sites. I have tested more than 10 sites.

    воскресенье, 25 апреля 2021 г. в 19:56:23 UTC+3, culikr@gmail.com:
    Hi

    which libs was linked and what was the order?

    Regards
    Luiz
    Em domingo, 25 de abril de 2021 às 08:26:45 UTC-3, Остап Романенко escreveu:
    Hi,
    Today I met this error again:

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)