KASM App Proxy with websockets
-
Hi Cloudron team,
I have a question: does the Cloudron App Proxy support websockets? The main issue I'm encountering is with running the workspaces of KASM until Login its working fine from Dashboard and other Admin related settings, but as soon as I launched amy workspace it hung on establishing secure connection and then crashed after few minutes and back to dashboard. After some research, I discovered that the problem is related to websocket support.
I tested it on the NGINX proxy application, and initially, I faced the same error. However, once I enabled support for websockets, it started to work.
Food for thought!
-
Yes, app proxy has websocket support. You can see
proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade;
in the generated nginx config for the proxy. -
Hi Cloudron team,
I have a question: does the Cloudron App Proxy support websockets? The main issue I'm encountering is with running the workspaces of KASM until Login its working fine from Dashboard and other Admin related settings, but as soon as I launched amy workspace it hung on establishing secure connection and then crashed after few minutes and back to dashboard. After some research, I discovered that the problem is related to websocket support.
I tested it on the NGINX proxy application, and initially, I faced the same error. However, once I enabled support for websockets, it started to work.
Food for thought!
@sufian-mughal said in KASM App Proxy with websockets:
I tested it on the NGINX proxy application, and initially, I faced the same error. However, once I enabled support for websockets, it started to work.
Maybe you can quickly check what is the difference between the app proxy config that cloudron generates (it's under /etc/nginx/applications) and the one that you have?
-
@sufian-mughal said in KASM App Proxy with websockets:
I tested it on the NGINX proxy application, and initially, I faced the same error. However, once I enabled support for websockets, it started to work.
Maybe you can quickly check what is the difference between the app proxy config that cloudron generates (it's under /etc/nginx/applications) and the one that you have?
@girish sure i will check and update here
-
@girish sorry for the late reply please see attached imgae as nginx proxy manager settings
-
@sufian-mughal do you have the raw nginx config ?
If you can tell me a simple way to test your setup, that will help as well.
-
For fun, I tried to install kasm. It installed fine and I was able to setup an app proxy as well. However, launching any workspace gives me an error. Not sure how to proceed:
-
I got it to work.
@sufian-mughal A fix in the app proxy is needed, I will make a patch for next release.
-
I got it to work.
@sufian-mughal A fix in the app proxy is needed, I will make a patch for next release.
@girish sorry just saw your messages glad to know you already figure it out.... waiting for new release
-
I got it to work.
@sufian-mughal A fix in the app proxy is needed, I will make a patch for next release.
-
@robi new cloudron release
-
G girish marked this topic as a question on
-
G girish has marked this topic as solved on