So you have a unique situation because you were using out staging environment for the Beta Arduino focus group session. In short, you are pointing to the wrong servers right now, hence the 'connecting to staging…"
What you’ll need to do is delete the existing Cayenne library that you have on your Arduino IDE, and re-download the library from the Arduino IDE. Below are the steps that should get you online in no time:
Delete existing Cayenne library. You’ll need to manually delete the Cayenne folder from the “libraries” file on your computer.
Now, you can re-download the correct library through the Arduino IDE: Sketch tab → Include Library → Manage Libraries → search for ‘Cayenne’ and download.
Lance,
It looks like you have the staging (alpha testing) libraries installed because it is trying to log you into the staging server. The regular library should try to log you into - [5524] Connecting to arduino.mydevices.com:8442
I’ll take a quick look and see if I can track down the proper link.
Sorry I’ve been gone so long. The new library fixed the ‘Invalid auth token’ error. The sketch loads without error, but the serial monitor shows:
[0][0] MAC: 90-A9-ED-E9-A5-C9
[0] Getting IP…
It never gets an IP address. I don’t know if I’ve done something wrong or if the ethernet shield is faulty.
Last weekend I received 3 Ethernet shields from Amazon. One of the three did exactly what your are explaining, the other two worked fine in the same circuit. One was returned DOA.
Make sure you don’t have anything shorting out against the top of the USB connector on the Arduino. Some shorter legged shields will allow this to happen. This happened to me, I now have tape covering the tops of all the USB connectors.
I’ve been playing with a 5100 series and a couple 5200 series shields on a genuine and clone Uno’s this morning. Read through the sketches before you upload them. I have had a couple of cases where the supplied sketch (which is to be copy/pasted) doesn’t jive with the original blank setup sketch. *Also verify that your token is correct for the device, the copy/paste version needs you to type in your token for it to work.
Sorted out pretty quickly for me as soon as I went back to the IDE and started actually reading the sketch and correcting what needed it.
Success! The new ethernet shield works great! I did have to read through the sketch and make adjustments(change CayenneEthernet.h to CayenneEthernetW5500.h) for my 5500 series. Then I was able to get the correct token and everything worked!
Hi guys, i´m having the same problem.
Using arduino uno on com 3
ethernet shield w5100
getting ==>
MAC: FE-D4…
Getting IP…
My IP:192.168.1.46
Connecting to va-staging-arduino.mydevices.com:8442
Invalid auth token
Weird, looks like you are connecting to the wrong servers. Do you know where you found the link you used to download the Cayenne libraries? If we are pointing you to wrong Cayenne libraries then we’ll need to fix that.
We have multiple locations where it can be downloaded, would you mind sharing a screenshot? …Did you download from the docs section? Or the Cayenne Dashboard? Sorry about this, it’s hard to pin point which link is incorrect.