You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug MQTTProtocol_connect() does not parse wss://domain.com/mqtt properly. It will parse as 8883 instead of 443. The work around is to set the URL as wss://domain.com:443/mqtt.
To Reproduce
Take a library trace as outlined in the README, and/or have a program or describe the steps to reproduce the behavior:
Create paho client and connect to wss://domain.com/mqtt
Put a breakpoint on MQTTProtocol_connect and MQTTProtocol_addressPort.
Step through and notice the port returned from MQTTProtocol_addressPort is 8883 instead of 443.
Expected behavior
We can connect using wss://domain.com/mqtt
Screenshots
N/A
** Environment (please complete the following information):**
OS: Windows
Version 10
Additional context
N/A
The text was updated successfully, but these errors were encountered:
icraggs
changed the title
MQTTProtocol_connect() does not parse wss://domain.com/mqtt properly as the broker url
Default port for wss:// should be 443
Jan 20, 2021
Describe the bug
MQTTProtocol_connect()
does not parsewss://domain.com/mqtt
properly. It will parse as 8883 instead of 443. The work around is to set the URL aswss://domain.com:443/mqtt
.To Reproduce
Take a library trace as outlined in the README, and/or have a program or describe the steps to reproduce the behavior:
MQTTProtocol_connect
andMQTTProtocol_addressPort
.MQTTProtocol_addressPort
is 8883 instead of 443.Expected behavior
We can connect using wss://domain.com/mqtt
Screenshots
N/A
** Environment (please complete the following information):**
Additional context
N/A
The text was updated successfully, but these errors were encountered: