-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 over websockets #1895
Comments
It seems that you selected a TCP connection. So the part "/mqtt" is wrong at the host test box. Also please share the code in the ticket. We will not download any zip file and execute it's content 😉 |
Here's a repo with the demo code: https://github.com/lukedukeus/mqtt-broker-test I tried with / without the "/mqtt" part, and it didn't seem to make a difference. Please let me know if anything looks off in the code. Thanks! |
Same problem here... |
Maybe the same problem
Can not connect to server by using the client. |
@Metaln00b I guess, you need to tell the server to speak Mqtt version 5.0 as well if you tell the client to connect with it... |
Thank you for the fast response.
I have not found a quick way to assign the protocol to the server. However, it makes no difference whether I specify this in the client or not. I have found that it works with TCP. I use the server example for ASP.Net 5.0 but in 8.0.
Many thanks |
Describe the bug
I am able to connect over TCP on port 1833 or 5000, but not over websockets on any port
Which component is your bug related to?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should be able to connect
Screenshots
Additional context / logging
The server does not produce any logs as to why connecting failed
MQTTtest.zip
The text was updated successfully, but these errors were encountered: