Replies: 4 comments 1 reply
-
Yes, Kamal supports WebSocket. Also, any reason why you are on Kamal v1 instead of Kamal v2 which replaced traefix with kamal-proxy. |
Beta Was this translation helpful? Give feedback.
-
im on kamal v2. the traefik configs are because websockets was working locally, but not on server. it fails with error when i run
I thought it was a proxy issue, so i tried to add traefik as an accessory, because traefik supports websockets but that also didn't work. https://kamal-deploy.org/docs/upgrading/continuing-to-use-traefik/ |
Beta Was this translation helpful? Give feedback.
-
Is there a simple example anywhere showing how to forward traffic from 443 to a websocket server running on a different port (on a non-proxy container) with kamal 2? For example in my case my app container has a websocket running on port 27960. Is there an analgous argument to |
Beta Was this translation helpful? Give feedback.
-
not been able to find an example anywhere. kamal proxy has all set of arguments https://kamal-deploy.org/docs/configuration/proxy/ it makes sense there are no exaamples because kamal proxy is still new, so only luck is this github thread. maybe someone from kamal may see it. |
Beta Was this translation helpful? Give feedback.
-
hello,
i deployed a next.js application via kamal to a digital ocean droplet. everything works fine, except the application fails to establish a websocket connection - 308, then 404 status. I looked through kamal-proxy docs, because i wasn't sure if it supported socket.io, but i found nothing.
I also tried adding traefik as an accessory, so maybe it could handle it but no luck. any thoughts?
this is my deploy.yaml
Beta Was this translation helpful? Give feedback.
All reactions