Star not connecting to cloud
Posted: Wed Jul 24, 2019 6:58 pm
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:
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.
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 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.