cancel
Showing results for 
Search instead for 
Did you mean: 

The TLS handshake failed, error code 8: why?

2,056

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]

Accepted Solutions (1)

Accepted Solutions (1)

MarkCulp
Participant

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.

0 Kudos

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

Answers (0)