<?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>Question Re: HTTPS request error after upgrading from SQL Anywhere 12.0.1 to 16.0.0. in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/https-request-error-after-upgrading-from-sql-anywhere-12-0-1-to-16-0-0/qaa-p/13845301#M4876144</link>
    <description>&lt;P&gt;I assume that the error was due to the fact that the web-service returns an empty Body in the response.&lt;BR /&gt;
Probably, this behavior is acceptable for SQLAnywhere/12.0.1.4436 and is unacceptable for SQLAnywhere/16.0.0.2546, that is, it triggers the exception (i.e. SQLCODE=-990).&lt;BR /&gt;
ps I processed only the Status:&lt;/P&gt;
&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;/SPAN&gt;select * ... with(attribute long varchar,value long varchar) ...
select value ... where lower(attribute) = 'status'
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;and did not pay attention to the Body in the response.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jan 2018 05:05:48 GMT</pubDate>
    <dc:creator>former_SQLA_member326303</dc:creator>
    <dc:date>2018-01-24T05:05:48Z</dc:date>
    <item>
      <title>HTTPS request error after upgrading from SQL Anywhere 12.0.1 to 16.0.0.</title>
      <link>https://community.sap.com/t5/technology-q-a/https-request-error-after-upgrading-from-sql-anywhere-12-0-1-to-16-0-0/qaq-p/13845300</link>
      <description>&lt;P&gt;There is web procedure:  &lt;/P&gt;
&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;/SPAN&gt;create procedure dba.sp_authentication( 
  RequestXml xml,
  urlSpec long varchar,
  certificatekey long varchar ) 
url '!urlSpec' 
type 'HTTP:POST:application/xml' 
set 'HTTP(VERSION=1.1)' 
certificate '!certificatekey'
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;The login and password are variables in the URL, for example:&lt;/P&gt;
&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;/SPAN&gt;urlSpec='https://........com/eForms_0315/api/setfieldset?web_login=...&amp;amp;cin=...
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;Certificate:&lt;/P&gt;
&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;X.509 Certificate&lt;/SPAN&gt;
&lt;SPAN&gt;-----------------&lt;/SPAN&gt;
Common Name:             Starfield Root Certificate Authority - G2
Country Code:            US
State/Province:          Arizona
Locality:                Scottsdale
Organization:            Starfield Technologies, Inc.
Issuer:                  Starfield Root Certificate Authority - G2
Serial Number:           0
Issued:                  Sep 1, 2009   3:00:00
Expires:                 Jan 2, 2038   2:59:59
Signature Algorithm:     RSA, SHA256
Key Type:                RSA
Key Size:                2048 bits
Basic Constraints:       Is a certificate authority, path length limit: 0
Key Usage:               Certificate Signing, CRL Signing
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;remote_idle_timeout = '0'.  &lt;/P&gt;
&lt;P&gt;If the request is executed in SQLAnywhere/12.0.1.4436, then there is no error.&lt;BR /&gt;
If the request is executed in SQLAnywhere/16.0.0.2546, then the following error occurs:  &lt;/P&gt;
&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;/SPAN&gt;The secure connection to the remote host failed: The connection was
closed from the other side
SQLCODE=-990, ODBC 3 State="HY000".
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;WEb log (-zoc) does not show the error and is completely identical for both builds:&lt;/P&gt;
&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;[connid = 1, 01/22 14:30:08.113, RESPONSE]&lt;/SPAN&gt;
&lt;SPAN&gt;HTTP/1.1 200 OK&lt;/SPAN&gt;
&lt;SPAN&gt;Server: nginx/1.4.6 (Ubuntu)&lt;/SPAN&gt;
&lt;SPAN&gt;Date: Mon, 22 Jan 2018 11:31:42 GMT&lt;/SPAN&gt;
&lt;SPAN&gt;Content-Type: application/xml;charset&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;UTF-8&lt;/SPAN&gt;
&lt;SPAN&gt;Content-Length: 0&lt;/SPAN&gt;
&lt;SPAN&gt;Connection: close&lt;/SPAN&gt;
&lt;SPAN&gt;X-Content-Type-Options: nosniff&lt;/SPAN&gt;
&lt;SPAN&gt;X-XSS-Protection: 1; mode&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;block&lt;/SPAN&gt;
&lt;SPAN&gt;Cache-Control: no-cache, no-store, max-age&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;0, must-revalidate&lt;/SPAN&gt;
&lt;SPAN&gt;Pragma: no-cache&lt;/SPAN&gt;
&lt;SPAN&gt;Expires: 0&lt;/SPAN&gt;
&lt;SPAN&gt;X-Frame-Options: DENY&lt;/SPAN&gt;
&lt;SPAN&gt;Set-Cookie: JSESSIONID&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;FC191F23F99DA29160C6F0CB39464029; Path=/eForms_0315; HttpOnly&lt;/SPAN&gt;

&lt;SPAN&gt;[connid = 1, socket closed]&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 08:20:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/https-request-error-after-upgrading-from-sql-anywhere-12-0-1-to-16-0-0/qaq-p/13845300</guid>
      <dc:creator>former_SQLA_member326303</dc:creator>
      <dc:date>2018-01-22T08:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS request error after upgrading from SQL Anywhere 12.0.1 to 16.0.0.</title>
      <link>https://community.sap.com/t5/technology-q-a/https-request-error-after-upgrading-from-sql-anywhere-12-0-1-to-16-0-0/qaa-p/13845301#M4876144</link>
      <description>&lt;P&gt;I assume that the error was due to the fact that the web-service returns an empty Body in the response.&lt;BR /&gt;
Probably, this behavior is acceptable for SQLAnywhere/12.0.1.4436 and is unacceptable for SQLAnywhere/16.0.0.2546, that is, it triggers the exception (i.e. SQLCODE=-990).&lt;BR /&gt;
ps I processed only the Status:&lt;/P&gt;
&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;/SPAN&gt;select * ... with(attribute long varchar,value long varchar) ...
select value ... where lower(attribute) = 'status'
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;and did not pay attention to the Body in the response.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 05:05:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/https-request-error-after-upgrading-from-sql-anywhere-12-0-1-to-16-0-0/qaa-p/13845301#M4876144</guid>
      <dc:creator>former_SQLA_member326303</dc:creator>
      <dc:date>2018-01-24T05:05:48Z</dc:date>
    </item>
  </channel>
</rss>

