Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to connect through MQTT #1

Open
AkhileshThorat opened this issue Mar 22, 2019 · 2 comments
Open

unable to connect through MQTT #1

AkhileshThorat opened this issue Mar 22, 2019 · 2 comments

Comments

@AkhileshThorat
Copy link

Following logs are displayed

I (1493) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (1993) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
W (2343) MQTT_CLIENT: Connection refused, not authorized
I (2343) MQTT_CLIENT: Error MQTT Connected
W (3503) tb_ota: WAIT_MQTT state, MQTT not connected, wait for the connect
W (4503) tb_ota: WAIT_MQTT state, MQTT not connected, wait for the connect
W (5503) tb_ota: WAIT_MQTT state, MQTT not connected, wait for the connect
W (6503) tb_ota: WAIT_MQTT state, MQTT not connected, wait for the connect
W (7503) tb_ota: WAIT_MQTT state, MQTT not connected, wait for the connect
W (8503) tb_ota: WAIT_MQTT state, MQTT not connected, wait for the connect
W (9503) tb_ota: WAIT_MQTT state, MQTT not connected, wait for the connect
W (10503) tb_ota: WAIT_MQTT state, MQTT not connected, wait for the connect

@vkukhtyn
Copy link

@AkhileshThorat
Please start menuconfig tool and double check (sub-menu ThingsBoard OTA configuration) that the correct values were specified for:

  • MQTT broker URL
  • MQTT broker port
  • MQTT access token

@liamjm36
Copy link

Hey I'm getting the same issue while running the app.

What is the correct broker URL and port for thingsboard cloud?

I am currently using
MQTT broker URL = mqtt://cloud.thingsboard.io
MQTT broker port = 1883
MQTT access token = access token for a device ive added on thingsboard.cloud

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@AkhileshThorat @vkukhtyn @liamjm36 and others