I’ve including and following the instructions in order to connect my arduino to cayenne cloud service. After setting up as the instructions I only get the error :
Looks like I’ll have to type up a guide for troubleshooting arduino connection issues tonight. Until then you can try to do as much as you can from here Troubleshooting Pi Showing Up as Offline in Dashboard to see if you have any connection issues. If you have a pi and are willing to install Cayenne on it you should have the same connection issues with the Pi and can go down through that guide.
Check your router settings to allow outbound traffic on port 8442. Most routers will allow outbound traffic by default, but on corporate networks, or ultra paranoid folks like me may tweak the settings to disallow any traffic that isn’t explicitly defined.
As mentioned above, you can try putting your device IP in the DMZ temporarily and if it works, then figure out how to allow outbound on 8442.
It’s likely a network configuration issue on your end, I’m sure we can get to the bottom of it. Presuming you have a computer of some sort on your network (and that computer can ping your Arduino), we can try to verify your connection to arduino.mydevices.com
If it is running OS X or Linux, you can run
telnet arduino.mydevices.com 8442
on your command line.
If things are working, it will disconnect you right away, but you’ll get a message like “Connected to arduino.mydevices.com” first.
If you’re running Windows, you can download PuTTY: Download PuTTY: latest release (0.77) to make the same test. You’d be looking for these settings:
Once you click ‘Open’ there, if you get a popup with ‘Connection closed by remote host’, then your computer is able to communicate with arduino.mydevices.com on port 8442. If you get a blank black window and no popup message, you’re blocked for some local reason that we can continue to help you figure out.
I had same issue. I downloaded PuTTY and I got “Fatal error” message. Then I searched how to open certain ports on my router and because I am using WDS system, I had to add port 8442 to both of the devices (router and the bridge). That solved this problem.
Sorry, for acting like a jerk, I guess you people find loads of people here. It seems like the port is blocked, I did exactly as you told, a blank black window pops for a second and disappears.
Also, today Ive tried to connect an arduino (mega) and I cant even seem to manually set an ip, it always prints
[0] Using static IP
[1300] My IP: 0.0.0.0
[5001] state 0, tconn 0
[5001] Connecting to arduino.mydevices.com:8442
And gets frozen here and doesnt do anything more.
Thanks in advance and sorry for being a jerk.
Volkun
Have you tried to connect your computer to this server. Use telnet or putty.
If you have OSX or Linux try to type on terminal:
telnet arduino.mydevices.com 8442
Have you a firewall in the system, in the router, or Antivirus, or program that block the in/out connections? Have you a direct access to the internet or behind server?