Question
ERROR: SSL/TLS Error: Unable to connect (-330)
Posted on May 02, 2016 at 19:56
With a SPW01SA I'm able to connect to a server using anonymous negotiation, but I often get the following error trying to open a socket before it opens successfully:
ERROR: SSL/TLS Error: Unable to connect (-330)Questions:Exactly what does (-330) indicate?- Does it makes sense that I tend to see the error more often when there is a lot of traffic on the server?
- A co-worker thought that the problem may be that I don't have the wi-fi authenticating the server's certificate. If that was the problem, I shouldn't ever be able to open a socket to the server using anonymous negotiation, right?
- I tried one-way authentication, but I get this error: ''ERROR: SSL/TLS Error: Unable to connect (-322).'' Could that be because I'm specifying the wrong domain in the command AT+S.TLSDOMAIN=f_domain,<server domain>? The certificate was created from godaddy so I used godaddy.com (and ca.godaddy.com, certs.godaddy.com, etc) in place of <server domain>, but I always get the error.