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

Connection refused, not authorized #26

Open
katianemedeiros opened this issue Nov 23, 2017 · 9 comments
Open

Connection refused, not authorized #26

katianemedeiros opened this issue Nov 23, 2017 · 9 comments

Comments

@katianemedeiros
Copy link

katianemedeiros commented Nov 23, 2017

Hello, I tried to run the sample file on the MQTT connection, but the connection was refused, could anyone help me to understand what the problem is?
Thank you.

I (139) MQTT_SAMPLE: start the WIFI SSID:[Felipe] password:[******]
I (170) phy: phy_version: 359.0, e79c19d, Aug 31 2017, 17:06:07, 0, 0
I (171) wifi: mode : sta (30:ae:a4:0b:50:4c)
I (1136) wifi: n:8 0, o:1 0, ap:255 255, sta:8 0, prof:1
I (2123) wifi: state: init -> auth (b0)
I (2128) wifi: state: auth -> assoc (0)
I (2147) wifi: state: assoc -> run (10)
I (2185) wifi: connected with Felipe, channel 8
I (3030) event: ip: 192.168.43.107, mask: 255.255.255.0, gw: 192.168.43.1
[MQTT INFO] Starting mqtt task
[MQTT INFO] Resolve dns for domain: test.mosquitto.org
[MQTT INFO] Connecting to server 37.187.106.16:8883,45858
[MQTT INFO] Creating SSL object...
[MQTT INFO] Start SSL connect..
I (5148) wifi: pm start, type:0

[MQTT INFO] Connected!
[MQTT INFO] Connected to server test.mosquitto.org:8883
[MQTT INFO] Sending MQTT CONNECT message, type: 1, id: 0000
[MQTT INFO] Reading MQTT CONNECT response message
[MQTT WARN] Connection refused, not authorized
[MQTT INFO] Closing client socket
[MQTT INFO] Client destroyed

@bhaumikdesai4289
Copy link

Facing the same issue!!

@alfredomrh
Copy link

me too!!

@chenqy2018
Copy link

chenqy2018 commented Dec 25, 2017

me too too too

@alfredomrh
Copy link

alfredomrh commented Dec 26, 2017

http://www.lucadentella.it/en/2017/12/04/esp32-28-mqtt-e-ssl/ COPY AND PASTE IN THE ADDRESS BAR

@Krit007
Copy link

Krit007 commented Jan 30, 2018

me too, your link can't use

@alfredomrh
Copy link

@alfredomrh
Copy link

alfredomrh commented Jan 30, 2018

copy and paste in the address bar

@Krit007
Copy link

Krit007 commented Jan 30, 2018

ok thank

@Krit007
Copy link

Krit007 commented Jan 31, 2018

I use test.mosquitto.org for broker. why my connection is Connection refused, not authorized.

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

5 participants