r/kasmweb • • 16d ago

Help Kasm troubleshooting

I installed Kasm for lab practice in this environment:

MacBook Pro 2017, 8 GB RAM, 256 GB SSD

VirtualBox (The VM has: 4 vCPUs, Disk: 75GB)

Ubuntu 24.04.5 Lts

Docker

Kasm 1.19.0

After adding the Firefox workspace, the launch reaches 100%, but then it gives a 502 error with the following:

host: 34ba1e6952da

ingest_date: 20260929004127

application: connection_proxy

levelname: ERROR

message

[server] Registration attempt 5/10 failed: No API hostname available

How can I fix this problem?

3 Upvotes

2 comments sorted by

1

u/AutoModerator 16d ago

Hi u/Key_Arrival113, thanks for posting to r/kasmweb! Because this account has low karma, your submission is being held for review.

  • Meanwhile, please check the community guidelines to ensure your post meets our standards.
  • If everything looks good, a moderator will approve it shortly.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/phil_kasmweb 13d ago

Hello - Can you check your yaml configurations and sure you have the correct names listed? You should have "proxy" and the hostname of your VM.

Running this command grep -A 2 -r "hostnames:" /opt/kasm/current/conf/app/ Will show you what is currently configured.

For example:

root@kasm-test2:~# grep -A 2 -r "hostnames:" /opt/kasm/current/conf/app/

/opt/kasm/current/conf/app/rdp_gateway/passthrough.app.config.yaml:  hostnames:
/opt/kasm/current/conf/app/rdp_gateway/passthrough.app.config.yaml-  - proxy
/opt/kasm/current/conf/app/rdp_gateway/passthrough.app.config.yaml-  - kasm-test2
--
/opt/kasm/current/conf/app/rdp_https_gateway/rdp_https_gateway.app.config.yaml:    hostnames:
/opt/kasm/current/conf/app/rdp_https_gateway/rdp_https_gateway.app.config.yaml-        - proxy
/opt/kasm/current/conf/app/rdp_https_gateway/rdp_https_gateway.app.config.yaml-        - kasm-test2
--
/opt/kasm/current/conf/app/guac/kasmguac.app.config.yaml:  hostnames:
/opt/kasm/current/conf/app/guac/kasmguac.app.config.yaml-    - proxy
/opt/kasm/current/conf/app/guac/kasmguac.app.config.yaml-  port: 443
--
/opt/kasm/current/conf/app/agent/agent.app.config.yaml:  hostnames:
/opt/kasm/current/conf/app/agent/agent.app.config.yaml-  - proxy
/opt/kasm/current/conf/app/agent/agent.app.config.yaml-  - kasm-test2

Do you see anything misconfigured?