Tool/software: TI-RTOS
I am trying to POST data to an HTTPS server by modifying the HTTPS GET example code over Ethernet that uses WolfSSL library.
But API HTTPCli_sendRequest() always returns error -103 which results in socket error of -308 (error state on socket) to run the
I am using the correct Root CA for the server and API HTTPCli_connect() is always successful.
I have tried to connect with a non-HTTPS version of the same above server and it works fine.
I have also tried the same POST code on other servers and it also works fine
My queries are:
- What more info can I get on error -308 (error state on socket) as this is the only string I could find on wolfSSL manual.
- If API HTTPCli_connect() is a success, does this mean that SSL handshake between my board and server is successful or not?
- How to enable and capture logs (may be wireshark logs) and WolfSSL logs to pin-point the exact issue.
Thanks,
Akshat