Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

What causes the following error (SQLAnywhere 12.0.1.4178):
E. 07/23 17:13:04. The TLS handshake failed, error code 8
?
I note that in a few milliseconds before an error similar request has been successfully executed:

[connid = 26, 07/23 17:13:02.995, REQUEST]
POST /d4w/api/getPeriod HTTP/1.0
Host: ... .com
ASA-Id: 5831d8ab74f348758f1bb69451cbccbf
Accept-Charset: windows-1251, UTF-8, *
Authorization: Basic M...=
Content-Length: 158
Connection: close
Date: Thu, 23 Jul 2015 07:13:03 GMT
User-Agent: SQLAnywhere/12.0.1.4178
Content-Type: application/xml; charset=windows-1251

<slotRequest> ... </slotRequest> [connid = 26, 07/23 17:13:03.151, RESPONSE] HTTP/1.1 200 OK Server: nginx/1.4.6 (Ubuntu) Date: Thu, 23 Jul 2015 07:13:26 GMT Content-Type: application/xml;charset=UTF-8 Connection: close

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><response><errorStatus>OK</errorStatus></response> [connid = 26, socket closed by peer] [connid = 26, socket closed]

But:
[connid = 26, 07/23 17:13:03.192, REQUEST]
POST /d4w/api/getPeriod HTTP/1.0
Host: ... .com
Accept-Charset: windows-1251, UTF-8, *
Connection: close
Content-Type: application/xml; charset=windows-1251
Date: Thu, 23 Jul 2015 07:13:04 GMT
ASA-Id: 5831d8ab74f348758f1bb69451cbccbf
Content-Length: 158
Authorization: Basic M...=
User-Agent: SQLAnywhere/12.0.1.4178

[connid = 26, Error: socket closed] [connid = 26, socket closed] [connid = 26, Error: socket closed by peer]

asked 23 Jul '15, 08:50

Ilia63's gravatar image

Ilia63
1.2k525982
accept rate: 44%


Error code 8 means that your server has run out of memory (or at least is running low on memory).

See my answer to your previous question - the same answer applies here.

permanent link

answered 23 Jul '15, 09:51

Mark%20Culp's gravatar image

Mark Culp
25.0k10142298
accept rate: 41%

Thanks. I set -ch 1G, but it should probably be reduced :^(

(23 Jul '15, 12:11) Ilia63
Comment Text Removed
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×438

question asked: 23 Jul '15, 08:50

question was seen: 1,822 times

last updated: 23 Jul '15, 17:40