OPEnSLab-OSU / SSLClient

🔒Add SSL/TLS functionality to any Arduino library
https://openslab-osu.github.io/SSLClient/index.html
GNU General Public License v3.0
153 stars 46 forks source link

Error: (SSLClient)(SSL_ERROR)(available): SSL engine failed to update. #66

Open roysG opened 2 years ago

roysG commented 2 years ago

I am not sure this is a bug, But when the connection is initial to server in each first time, i get the error below. after the error the connection is stable without any problem.

The error i get: "(SSLClient)(SSL_ERROR)(available): SSL engine failed to update."

Do i need to worry about this message or it normal?

biswaKL commented 2 years ago

I am also facing same issue. +1

After request I can see that the server is receiving the post request. But error is coming while reading response in the client side.

I am getting:

(SSLClient)(SSL_ERROR)(available): SSL engine failed to update.
(SSLClient)(SSL_ERROR)(available): Cannot operate on a closed SSL connection.

on calling:

    int statusCode = http->responseStatusCode();
    String response = http->responseBody();