Closed narainaDewasi closed 1 month ago
This is a bug in 1.15.0
Your options are to:
Install clean using the --use-rolling-images
flag when running install.sh
On an existing install, update your system to use the kasmweb/api:1.15.0-rolling
image:
Stop the services on the Kasm server (Or the WebApp role if using multi-server)
sudo /opt/kasm/bin/stop
Modify /opt/kasm/current/docker/docker-compose.yaml
sudo vi /opt/kasm/current/docker/docker-compose.yaml
In the kasm_api
section, adjust the image
to be kasmweb/api:1.15.0-rolling
. It should look like this
...
kasm_api:
container_name: kasm_api
user: "${KASM_UID?}:${KASM_GID?}"
image: "kasmweb/api:1.15.0-rolling"
read_only: true
networks:
- kasm_default_network
volumes:
- /opt/kasm/1.15.0:/opt/kasm/current
- /opt/kasm/1.15.0/tmp/api:/tmp
depends_on:
- db
restart: always
logging:
driver: "json-file"
options:
...
Remove the existing kasm_api container
sudo docker rm -f kasm_api
Start the services
sudo /opt/kasm/bin/start
You can verify you are running the patched code by looking at the System Info page in your deployment. The API Server Build should be 1.15.0.3e3c97
Thank for the quick reply, now its working properly.
I have already checked the following issues: #90 and #97. My instance fulfills the minimum requirements for a Kasm deployment.
The problem arises when I create a Kasm using the API provided at https://kasmweb.com/docs/latest/developers/developer_api.html#post--api-public-request_kasm. In the response, I retrieve the URL of the session, but upon redirection to that URL, I encounter an error indicating 'login failed.'
Furthermore, when attempting to use the API endpoint https://kasmweb.com/docs/latest/developers/developer_api.html#post--api-public-get_login for obtaining the login URL and subsequently redirecting to it, I encounter the same error.
Below are the error logs: : -