The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

What causes the following error (SQLAnywhere
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/
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]

[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/

[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

accept rate: 20%

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
accept rate: 40%

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 23 Jul '15, 08:50

question was seen: 401 times

last updated: 23 Jul '15, 17:40