2 years ago
I'm trying to use the standard template, I can use the mqtt protocol but I haven't found a way to use ws
23 Replies
2 years ago
what issues are you running into?
I couldn't use the ws connection, I didn't understand which url to use or the port
2 years ago
wss://:
2 years ago
what does caddy have to do with this?
there are two domains > caddy-production-bf9e.up.railway.app,
The other domain is junction.proxy.rlwy.net, I used this to access the mqtt protocol
2 years ago
you would use the TCP proxy
2 years ago
^ what happens when you use this format
I'm trying to connect using mqttx, it requires a port even in the wss protocol, when I try to use the ports that are in the env, it doesn't connect, it keeps reconnecting
2 years ago
then you would need to provide the port
2 years ago
^ updated
2 years ago
may I ask what you need websockets for?
2 years ago
you said the mqtt protocol works fine
It didn't work, for mobile use the ideal is ws or wss, I don't know why, but I couldn't use the EMQX template
