Connection problem with Arduino Wifi Shield


#1

Hi. I’m new to thinger & working on a simple first project. I’ve got an Arduino Leonardo w/ WiFi shield. It’s not connecting to the cloud. Using the simple WiFi example program, in debug mode, I get the following message:

[_SOCKET] Connecting to iot.thinger.io:25200
[_SOCKET] Using secure TLS/SSL connection: no
[_SOCKET] Error while connecting!

Any pointers/help at figuring this out would be welcome. Thanks!!


#2

Hi! What is your sketch code? Just to be sure… Many WiFi shields are reporting connections problems. Did you test at first that you can open a socket connection from a basic example, i.e., loading a page content?. Bests.


#3

Thanks for the quick reply! Seems to be a larger Arduino Wifi Shield issue (see, ie: https://forum.arduino.cc/index.php?topic=177044.0) I’m working through those channels. Thanks for the nudge in the right direction :slight_smile:


#4

& an update for anyone encountering similar issues. Everything was resolved by updating the Wifi shield firmware. This was a process which took some weird wrangling–namely correcting the paths in the Arduino install scripts provided here: https://www.arduino.cc/en/Hacking/WiFiShieldFirmwareUpgrading


#5

Nice @leahb! So, you are now able to connect your Arduino + Wifi Shield? It is good to know that a shield update help in the process. There are some problems with those devices.


#6

Yep. Connecting fine now.


#7

Nice, thanks for sharing this information! It could be very helpful for other users :slight_smile:

However, the latest firmware update is about 4 years old. How old is your shield? Are they selling shields with outdated software?


#8

I had an older board :slight_smile: