iotjs icon indicating copy to clipboard operation
iotjs copied to clipboard

HTTPS handshake failure on IoT device

Open Raikan10 opened this issue 6 years ago • 2 comments

I am running buildroot and iotjs on an iot device and I'm trying to make a post request to login and get an auth token. But I'm unable to call the API at all because I run into an error that says

"API Failed, problem with request: handshake failed: domian"

The same API works given I use the http version. The server I'm trying to call is hosted on an AWS EC2 instance behind cloudflare.

Any help is appreciated thanks!

Raikan10 avatar Sep 25 '20 07:09 Raikan10

Which API you are using? TLS throws handshake failed but this is probably something different. Maybe something is wrong with the certificate.

zherczeg avatar Nov 18 '20 07:11 zherczeg

Thank you very much for replying, it is an API that the we designed that's used for internal purposes. It's an express server.

Raikan10 avatar Nov 18 '20 09:11 Raikan10