Posts

Showing posts with the label wifi

Safari says “can't open page” but JSON return is normal [on hold]

Safari says “can't open page” but JSON return is normal [on hold] My homebrew Wi-Fi temperature sensor works when connected to one of my access points, but with another one I get "Safari can't open the page because the server unexpectedly dropped the connection." Yet looking at the device log (in Arduino) it appears to respond correctly with a very short JSON record: new client Request: GET /temperature/F HTTP/1.1 Response: {"TempF":65.30} Client disconnected Also, accessing the device with curl http://xx.yy.zz.ww/temperature/F produces the desired JSON response. curl http://xx.yy.zz.ww/temperature/F I don't know where to start looking for the problem (tried it with Chrome and got the same result). I have Safari's "Develop" menu enabled. I've been through all the router settings and don't see anything that could cause this. I'm using the Arduino ESP8266 library. This question appears to be off-topic. The users who voted to clos...