Deployment #989
-
Hello, I'm trying to create a simple MQTT application (broker using aedes and client, I'm using Angular). The thing is, I want to deploy it on the web to test it but I can't find any hosting service that could make it work. I'm trying Render but I keep getting “clientConnectionError” even though I don't have a connection. Has anyone already deployed one? If so, could they kindly tell me how they did it? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
for the web you have to ensure your aedes broker also listens to ws/wss protocol in order to be able to connect |
Beta Was this translation helpful? Give feedback.
-
After a while, I finally got it to work. I had to use wss and no ws. But now I'm trying to connect via the TCP protocol without success. At least it works with WebSocket! I will investigate a bit more. |
Beta Was this translation helpful? Give feedback.
just make aedes listening both to tcp and ws so