<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SSL Error in api call (works with one server and doesn't with another) in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/SSL-Error-in-api-call-works-with-one-server-and-doesn-t-with/m-p/1727745#M13018</link>
    <description>&lt;P&gt;I would like to know, is it important who verified the SSL certificate? I have two Qlik servers and one of them works with API call correctly and another does not. I explained the error message and the difference between two machines. Can you tell me if this difference raise that error or I should look for something else?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Error message which I get from calling qlik API (by pthon) says :&lt;/P&gt;&lt;P&gt;in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='qlik-11.xxx.xxxx.ca', port=4242): Max retries exceeded with url: /qrs/task/start/synchronous?name=ReloadTrigger&amp;amp;xrfkey=1234567890123456 (Caused by SSLError(SSLError("bad handshake: SysCallError(10054, 'WSAECONNRESET')")))&lt;/P&gt;&lt;P&gt;I know there is one difference between 2 servers. It's on the SSL certificate. They set up by two different people. Both have a valid SSL certificate but with different properties for verified.&lt;/P&gt;&lt;P&gt;The main difference is who verified them. They are like this:&lt;/P&gt;&lt;P&gt;website:&amp;nbsp;bisb-02.xxx.xxxx.ca&lt;BR /&gt;verified by:&amp;nbsp; bisb-02.xxx.xxxx.ca-CA&lt;BR /&gt;python result: work correctly&lt;/P&gt;&lt;P&gt;The result of cURL on those Qlik URL is like this:&lt;/P&gt;&lt;P&gt;C:\&amp;gt;curl -v &lt;A href="https://bisb-02.xxx.xxxx.ca:4242" target="_blank"&gt;https://bisb-02.xxx.xxxx.ca:4242&lt;/A&gt;&lt;/P&gt;&lt;P&gt;* Rebuilt URL to: &lt;A href="https://bisb-02.xxx.xxxxx.ca:4242/" target="_blank"&gt;https://bisb-02.xxx.xxxxx.ca:4242/&lt;/A&gt;&lt;BR /&gt;* Trying 10.xx.xx.58...&lt;BR /&gt;* TCP_NODELAY set&lt;BR /&gt;* Connected to bisb-02.xxx.xxx.ca (10.xx.xx.58) port 4242 (#0)&lt;BR /&gt;* schannel: SSL/TLS connection with bisb-02.xxxx.xxxxx.ca port 4242 (step 1/3)&lt;BR /&gt;* schannel: checking server certificate revocation&lt;BR /&gt;* schannel: sending initial handshake data: sending 189 bytes...&lt;BR /&gt;* schannel: sent initial handshake data: sent 189 bytes&lt;BR /&gt;* schannel: SSL/TLS connection with bisb-02.xxxx.xxxx.ca port 4242 (step 2/3)&lt;BR /&gt;* schannel: failed to receive handshake, need more data&lt;BR /&gt;* schannel: SSL/TLS connection with bisb-02.xxxx.xxxx.ca port 4242 (step 2/3)&lt;BR /&gt;* schannel: encrypted data got 1847&lt;BR /&gt;* schannel: encrypted data buffer: offset 1847 length 4096&lt;BR /&gt;* schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.&lt;BR /&gt;* Closing connection 0&lt;BR /&gt;* schannel: shutting down SSL/TLS connection with bisb-02.xxx.xxx.ca port 4242&lt;BR /&gt;* schannel: clear security context handle&lt;BR /&gt;curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;############################################################&lt;/P&gt;&lt;P&gt;&amp;nbsp;############################################################&lt;/P&gt;&lt;P&gt;&amp;nbsp;############################################################&lt;/P&gt;&lt;P&gt;&amp;nbsp;############################################################&lt;/P&gt;&lt;P&gt;website: qlik-11.xxx.xxxx.ca&lt;BR /&gt;verified by:&amp;nbsp; XXXX-EnterpriseRootCA&lt;BR /&gt;python result:&amp;nbsp; raise the error&lt;/P&gt;&lt;P&gt;C:\&amp;gt;curl -v &lt;A href="https://qlik-11.xxx.xxxx.ca:4242" target="_blank"&gt;https://qlik-11.xxx.xxxx.ca:4242&lt;/A&gt;&lt;/P&gt;&lt;P&gt;* Rebuilt URL to: &lt;A href="https://qlik-11.xxx.xxx.ca:4242/" target="_blank"&gt;https://qlik-11.xxx.xxx.ca:4242/&lt;/A&gt;&lt;BR /&gt;* Trying 10.xx.xx.59...&lt;BR /&gt;* TCP_NODELAY set&lt;BR /&gt;* Connected to qlik-11.xxx.xxx.ca (10.xx.xx.59) port 4242 (#0)&lt;BR /&gt;* schannel: SSL/TLS connection with qlik-11.xxx.xxx.ca port 4242 (step 1/3)&lt;BR /&gt;* schannel: checking server certificate revocation&lt;BR /&gt;* schannel: sending initial handshake data: sending 189 bytes...&lt;BR /&gt;* schannel: sent initial handshake data: sent 189 bytes&lt;BR /&gt;* schannel: SSL/TLS connection with qlik-11.xxx.xxx.ca port 4242 (step 2/3)&lt;BR /&gt;* schannel: failed to receive handshake, need more data&lt;BR /&gt;* schannel: SSL/TLS connection with qlik-11.xxx.xxx.ca port 4242 (step 2/3)&lt;BR /&gt;* schannel: failed to receive handshake, SSL/TLS connection failed&lt;BR /&gt;* Closing connection 0&lt;BR /&gt;* schannel: shutting down SSL/TLS connection with qlik-11.xxx.xxx.ca port 4242&lt;BR /&gt;* Send failure: Connection was reset&lt;BR /&gt;* schannel: failed to send close msg: Failed sending data to the peer (bytes written: -1)&lt;BR /&gt;* schannel: clear security context handle&lt;BR /&gt;curl: (35) schannel: failed to receive handshake, SSL/TLS connection failed&lt;/P&gt;</description>
    <pubDate>Mon, 21 Dec 2020 20:45:53 GMT</pubDate>
    <dc:creator>parviz_asoodehfard</dc:creator>
    <dc:date>2020-12-21T20:45:53Z</dc:date>
    <item>
      <title>SSL Error in api call (works with one server and doesn't with another)</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/SSL-Error-in-api-call-works-with-one-server-and-doesn-t-with/m-p/1727745#M13018</link>
      <description>&lt;P&gt;I would like to know, is it important who verified the SSL certificate? I have two Qlik servers and one of them works with API call correctly and another does not. I explained the error message and the difference between two machines. Can you tell me if this difference raise that error or I should look for something else?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Error message which I get from calling qlik API (by pthon) says :&lt;/P&gt;&lt;P&gt;in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='qlik-11.xxx.xxxx.ca', port=4242): Max retries exceeded with url: /qrs/task/start/synchronous?name=ReloadTrigger&amp;amp;xrfkey=1234567890123456 (Caused by SSLError(SSLError("bad handshake: SysCallError(10054, 'WSAECONNRESET')")))&lt;/P&gt;&lt;P&gt;I know there is one difference between 2 servers. It's on the SSL certificate. They set up by two different people. Both have a valid SSL certificate but with different properties for verified.&lt;/P&gt;&lt;P&gt;The main difference is who verified them. They are like this:&lt;/P&gt;&lt;P&gt;website:&amp;nbsp;bisb-02.xxx.xxxx.ca&lt;BR /&gt;verified by:&amp;nbsp; bisb-02.xxx.xxxx.ca-CA&lt;BR /&gt;python result: work correctly&lt;/P&gt;&lt;P&gt;The result of cURL on those Qlik URL is like this:&lt;/P&gt;&lt;P&gt;C:\&amp;gt;curl -v &lt;A href="https://bisb-02.xxx.xxxx.ca:4242" target="_blank"&gt;https://bisb-02.xxx.xxxx.ca:4242&lt;/A&gt;&lt;/P&gt;&lt;P&gt;* Rebuilt URL to: &lt;A href="https://bisb-02.xxx.xxxxx.ca:4242/" target="_blank"&gt;https://bisb-02.xxx.xxxxx.ca:4242/&lt;/A&gt;&lt;BR /&gt;* Trying 10.xx.xx.58...&lt;BR /&gt;* TCP_NODELAY set&lt;BR /&gt;* Connected to bisb-02.xxx.xxx.ca (10.xx.xx.58) port 4242 (#0)&lt;BR /&gt;* schannel: SSL/TLS connection with bisb-02.xxxx.xxxxx.ca port 4242 (step 1/3)&lt;BR /&gt;* schannel: checking server certificate revocation&lt;BR /&gt;* schannel: sending initial handshake data: sending 189 bytes...&lt;BR /&gt;* schannel: sent initial handshake data: sent 189 bytes&lt;BR /&gt;* schannel: SSL/TLS connection with bisb-02.xxxx.xxxx.ca port 4242 (step 2/3)&lt;BR /&gt;* schannel: failed to receive handshake, need more data&lt;BR /&gt;* schannel: SSL/TLS connection with bisb-02.xxxx.xxxx.ca port 4242 (step 2/3)&lt;BR /&gt;* schannel: encrypted data got 1847&lt;BR /&gt;* schannel: encrypted data buffer: offset 1847 length 4096&lt;BR /&gt;* schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.&lt;BR /&gt;* Closing connection 0&lt;BR /&gt;* schannel: shutting down SSL/TLS connection with bisb-02.xxx.xxx.ca port 4242&lt;BR /&gt;* schannel: clear security context handle&lt;BR /&gt;curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;############################################################&lt;/P&gt;&lt;P&gt;&amp;nbsp;############################################################&lt;/P&gt;&lt;P&gt;&amp;nbsp;############################################################&lt;/P&gt;&lt;P&gt;&amp;nbsp;############################################################&lt;/P&gt;&lt;P&gt;website: qlik-11.xxx.xxxx.ca&lt;BR /&gt;verified by:&amp;nbsp; XXXX-EnterpriseRootCA&lt;BR /&gt;python result:&amp;nbsp; raise the error&lt;/P&gt;&lt;P&gt;C:\&amp;gt;curl -v &lt;A href="https://qlik-11.xxx.xxxx.ca:4242" target="_blank"&gt;https://qlik-11.xxx.xxxx.ca:4242&lt;/A&gt;&lt;/P&gt;&lt;P&gt;* Rebuilt URL to: &lt;A href="https://qlik-11.xxx.xxx.ca:4242/" target="_blank"&gt;https://qlik-11.xxx.xxx.ca:4242/&lt;/A&gt;&lt;BR /&gt;* Trying 10.xx.xx.59...&lt;BR /&gt;* TCP_NODELAY set&lt;BR /&gt;* Connected to qlik-11.xxx.xxx.ca (10.xx.xx.59) port 4242 (#0)&lt;BR /&gt;* schannel: SSL/TLS connection with qlik-11.xxx.xxx.ca port 4242 (step 1/3)&lt;BR /&gt;* schannel: checking server certificate revocation&lt;BR /&gt;* schannel: sending initial handshake data: sending 189 bytes...&lt;BR /&gt;* schannel: sent initial handshake data: sent 189 bytes&lt;BR /&gt;* schannel: SSL/TLS connection with qlik-11.xxx.xxx.ca port 4242 (step 2/3)&lt;BR /&gt;* schannel: failed to receive handshake, need more data&lt;BR /&gt;* schannel: SSL/TLS connection with qlik-11.xxx.xxx.ca port 4242 (step 2/3)&lt;BR /&gt;* schannel: failed to receive handshake, SSL/TLS connection failed&lt;BR /&gt;* Closing connection 0&lt;BR /&gt;* schannel: shutting down SSL/TLS connection with qlik-11.xxx.xxx.ca port 4242&lt;BR /&gt;* Send failure: Connection was reset&lt;BR /&gt;* schannel: failed to send close msg: Failed sending data to the peer (bytes written: -1)&lt;BR /&gt;* schannel: clear security context handle&lt;BR /&gt;curl: (35) schannel: failed to receive handshake, SSL/TLS connection failed&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 20:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/SSL-Error-in-api-call-works-with-one-server-and-doesn-t-with/m-p/1727745#M13018</guid>
      <dc:creator>parviz_asoodehfard</dc:creator>
      <dc:date>2020-12-21T20:45:53Z</dc:date>
    </item>
  </channel>
</rss>

