Hello. I receive this error: ERROR[693191]: iostream.c:552 ast_iostream_close: SSL_shutdown() failed: error:00000001:lib(0)::reason(1), Internal SSL error
when I connect from Stasis application (nodels) https.request
request params:
That’s clearly an error in closing the connection. I suppose it could be a secondary to one to opening, but, in that case, you need to find the primary.
I’m not sufficiently familiar with SSL failures to be sure, but I’d suggest the remote side has dropped the TCP connection, or a dynamic firewall entry has got lost.
The issue was solved by sending Bundle certificate ca within the request:
axios.post( requestParams.path, postData, {
baseURL: requestParams.baseURL ,
httpsAgent: new https.Agent({ ca: fs.readFileSync(‘/etc/ssl/cacert-2023.pem’) }),
auth:{username: options.username,
password: options.password}
})