Star not connecting to cloud

Basic / Standard Reef Angel hardware
Post Reply
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Star not connecting to cloud

Post by binder »

I'm having difficulty with getting my Star to connect to the cloud server. I've got my forum username and password setup and in the file. I had the webwizard generate the code for me so I know I have the proper header includes and proper syntax. I put in my username and password and clicked "Encrypt" to proceed. I have a current copy of the dev branch. I've got my code uploaded and I'm watching the serial output.
I will get a MQTT connecting... then MQTT succeeded. After that, I don't get anything for a while. Then I get a "Channel 5MQTT failed" and then a connecting. That gets repeated multiple times. For whatever reason, it shows "Channel 5" ahead of all the output text now. I have no idea why either.
I've not getting any data being sent to the cloud.
I see a:

Code: Select all

Portal Call
Data Sent
Disconnected
Connecting...
<IP ADDRESS>
Could not create file
Connected
Data:  0
Header:  0
Disconnected
MQTT Connecting...
MQTT Succeeded
I'll also get a web transaction come through with a Error 400: Bad Request

I pulled down the /r99 and somehow the ID is set to cloudtest2 which I have not set anywhere (to my knowledge).

Anyways, I'm at a loss of what is going on and what I should try to do.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Star not connecting to cloud

Post by rimai »

Are you uploading it with the Arduino ide or webwizard?
Roberto.
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Star not connecting to cloud

Post by binder »

rimai wrote:Are you uploading it with the Arduino ide or webwizard?
arduino ide. using the 1.8.6 mac version. haven't tried webwizard because I have additional code I am loading.

Sent from my Pixel 2 using Tapatalk
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Star not connecting to cloud

Post by rimai »

You have to edit RA_CustomSettings
Roberto.
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Star not connecting to cloud

Post by binder »

rimai wrote:You have to edit RA_CustomSettings
ahh... gotcha. thanks!
is that file commented like the features file was/is?
I'll look through the code and see what all I need to update.

Sent from my Pixel 2 using Tapatalk
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Star not connecting to cloud

Post by rimai »

Yeah, you won't have any problems finding out what you need to change.
Roberto.
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Star not connecting to cloud

Post by binder »

rimai wrote:Yeah, you won't have any problems finding out what you need to change.
awesome.
I just haven't kept up with it and didn't realize that there's been some major changes. Just haven't dove into it fully and I should.

Sent from my Pixel 2 using Tapatalk
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Star not connecting to cloud

Post by binder »

It's amazing...when you actually update the settings properly, it all works. ;-)
Got it figured out and I just needed to put in my username/password combo in that file and it started working.
Post Reply