WifiClientSecure connect failed tomcat - solved
Posted: Thu Jan 12, 2017 6:37 pm
I've been working with Igrr's test code here: https://github.com/esp8266/Arduino/blob ... equest.ino
When I use api.github.com as the host it seems to work. When I use gb.synaptrix.com as the host, it fails - it doesn't even get to the fingerprint verification stage. I have debugging turned on and set to "all" and don't see any kind of messaging for the https handshake. This is the output:
wifi evt: 0
.....wifi evt: 3
.
WiFi connected
IP address:
192.168.1.177
connecting to gb.synaptrix.com
[hostByName] request IP for: gb.synaptrix.com
[hostByName] Host: gb.synaptrix.com IP: 52.38.244.165
connection failed
wifi evt: 7
How do I troubleshoot this?
When I use api.github.com as the host it seems to work. When I use gb.synaptrix.com as the host, it fails - it doesn't even get to the fingerprint verification stage. I have debugging turned on and set to "all" and don't see any kind of messaging for the https handshake. This is the output:
wifi evt: 0
.....wifi evt: 3
.
WiFi connected
IP address:
192.168.1.177
connecting to gb.synaptrix.com
[hostByName] request IP for: gb.synaptrix.com
[hostByName] Host: gb.synaptrix.com IP: 52.38.244.165
connection failed
wifi evt: 7
How do I troubleshoot this?