kasm-vnc Module: Failed to connect to server
Dear Dev-team.
I have designed a system using kasm-vnc Module but the issue reported is Failed to connect to server
My url use HTTP, but log show HTTPS:
š Starting KasmVNC server...
New 'dev:1 (coder)' desktop is dev:1
Users configured:
coder (can use keyboard and mouse, add/remove users)
Log file is /home/coder/.vnc/dev:1.log
Starting applications specified in /home/coder/.vnc/xstartup
Paste this url in your browser:
https://172.17.0.2:6800
š KasmVNC server started successfully!
Is this the cause of the error? I have set subdomain = false in main.tf file to match HTTP

11 Replies
please share logs from Coder agent
they should be in
/tmp
in the workspaceDear @matifali I 'd like share log in /tmp.
Dear @matifali , As I understand it, the Coder-Dev team configured VNC to use HTTPS. Is there a way to reconfigure it to use HTTP instead? I use F12 to check the system as follows. I saw a similar issue at https://discord.com/channels/747933592273027093/1290646810234454046

Hi @Ben.Ng do you have the CODER_WILDCARD_ACESS_URL set up?
Dear @matifali . You are referring to the CODER_WILDCARD_ACCESS_URL option. I set it is DNS.(Created by IT team.) Can you help me confirm that kasmvnc supports both HTTP, HTTPS. I use kasmvnc at https://github.com/coder/registry/tree/0ccee611922da3972e6c933340305c834a6de2fa/registry/coder/modules/kasmvnc
GitHub
registry/registry/coder/modules/kasmvnc at 0ccee611922da3972e6c9333...
Publish Coder modules and templates for other developers to use. - coder/registry

Yes it should work with both
GitHub
registry/registry/coder/modules/kasmvnc/run.sh at 0ccee611922da3972...
Publish Coder modules and templates for other developers to use. - coder/registry
Thank sir, I can use it. Could you help me close the threads?
@Ben.Ng you can run the /close command
i'll do it
@Phorcys closed the thread.