Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When casting a session, the "kasm_url" parameter is not passed as an environment variable. #677

Open
5 tasks
AlaBouali opened this issue Dec 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@AlaBouali
Copy link

AlaBouali commented Dec 30, 2024

Existing Resources

  • Please search the existing issues for related problems
  • Consult the product documentation : Docs
  • Consult the FAQ : FAQ
  • Consult the Troubleshooting Guide : Guide
  • Reviewed existing training videos: Youtube

Describe the bug

I am trying to pass the kasm_url parameter while casting a session in Kasm 1.16.1 using the following URL:

https://kasm.example.com/#/cast/?kasm_url=http://url.com

According to the API documentation, the kasm_url parameter should be accessible as an environment variable ($KASM_URL) within the running container for the casted session. However, it is not appearing in the environment variables list in my container.

Steps to Reproduce

Launch Kasm 1.16.1.
Cast a session using #/cast/?kasm_url=http://url.com/.
Inspect the environment variables within the container for KASM_URL.

Expected behavior
KASM_URL should be present in the container’s environment variables.

Actual behavior
KASM_URL does not appear, even though the parameter is sent.

Workspaces Version
kasm version: 1.16.1

Workspaces Installation Method
docker

What I’ve Tried

  • Verified that the parameter (kasm_url) is indeed being sent to the server.
  • Consulted the Kasm Developer API docs but have not found a working solution.
  • Looked for relevant environment variable settings within the container but could not see KASM_URL.

Any guidance, advice, or workaround would be greatly appreciated. If I’m missing a step or if there’s an updated setting that needs to be enabled, please let me know. Thank you in advance for your help!

Thank you!

@AlaBouali AlaBouali added the bug Something isn't working label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant