workspaces-issues icon indicating copy to clipboard operation
workspaces-issues copied to clipboard

[Bug] The Downloads folder is not accessible through the Kasm Control Panel in RemoteApp sessions.

Open frealsanchez opened this issue 6 months ago • 0 comments

Existing Resources

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

Describe the bug

I am unable to access the Downloads folder (The folder shows as empty, although it actually contains files) via the Kasm Control Panel when using a RemoteApp session to a Windows machine (this is not a container-based workspace). Static credentials are used for logging into the Windows machine through the RemoteAPP RDP session. Not SSO login is used in Windows. Kasm service is running in the Windows machine. Kasm Manager installed in 10.2.202.169. Remote APP on Windows machine in 10.2.202.173

To Reproduce Steps to reproduce the behavior:

  1. Windows credentials "Admin/ Adminpassword"
  2. Kasm credentials "Rojo / Test@2025 "
  3. Create a text file in C:/Users/Admin/Downloads
  4. Login in Kasm workspaces, run a RemoteAPP RDP app
  5. Try to access to the previous created text file
  6. Nothing is shown in the Kasm Control Panel

Expected behavior

The text file located in C:\Users\Admin\Downloads should be visible and accessible through the Kasm Workspaces Control Panel

Actual Behavior

The Downloads folder appears empty in the Kasm Control Panel, even though files exist in the directory on the host machine.

Screenshots If applicable, add screenshots to help explain your problem.

Workspaces Version

Lastest version 1.17

Workspaces Installation Method

Single Server

Client Browser (please complete the following information):

Firefox 138.0.4 (aarch64)

Workspace Server Information (please provide the output of the following commands):

  • uname -a

Linux new-server-kasm 6.8.0-60-generic #63-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 19:04:15 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

  • cat /etc/os-release

PRETTY_NAME="Ubuntu 24.04.2 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04.2 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=noble LOGO=ubuntu-logo

  • sudo docker info

Client: Docker Engine - Community Version: 28.1.1 Context: default Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.23.0 Path: /usr/libexec/docker/cli-plugins/docker-buildx compose: Docker Compose (Docker Inc.) Version: v2.5.0 Path: /usr/local/lib/docker/cli-plugins/docker-compose

Server: Containers: 10 Running: 10 Paused: 0 Stopped: 0 Images: 10 Server Version: 28.1.1 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Using metacopy: false Native Overlay Diff: true userxattr: false Logging Driver: json-file Cgroup Driver: systemd Cgroup Version: 2 Plugins: Volume: local Network: bridge host ipvlan kasmweb/sidecar:1.2 macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog Swarm: inactive Runtimes: io.containerd.runc.v2 runc Default Runtime: runc Init Binary: docker-init containerd version: 05044ec0a9a75232cad458027ca83437aae3f4da runc version: v1.2.5-0-g59923ef init version: de40ad0 Security Options: apparmor seccomp Profile: builtin cgroupns Kernel Version: 6.8.0-60-generic Operating System: Ubuntu 24.04.2 LTS OSType: linux Architecture: x86_64 CPUs: 4 Total Memory: 31.34GiB Name: new-server-kasm ID: f6214ad6-4e04-4a7b-8ede-c6b2a6bfe080 Docker Root Dir: /var/lib/docker Debug Mode: false Experimental: false Insecure Registries: ::1/128 127.0.0.0/8 Live Restore Enabled: false

  • sudo docker ps | grep kasm

bc9cf5e22269 kasmweb/proxy:1.17.0 "/docker-entrypoint.…" 2 days ago Up 2 days 80/tcp, 0.0.0.0:443->443/tcp, [::]:443->443/tcp kasm_proxy bc6a9b8cbb45 kasmweb/rdp-https-gateway:1.17.0 "/opt/rdpgw/rdpgw" 2 days ago Up 2 days (healthy) kasm_rdp_https_gateway c6dc0e65bc29 kasmweb/agent:1.17.0 "python3 /src/Provis…" 2 days ago Up 2 days (healthy) 4444/tcp kasm_agent 3909db4e6082 kasmweb/share:1.17.0 "python3 /src/api_se…" 2 days ago Up 2 days (healthy) 8182/tcp kasm_share 47bdfa6e7428 kasmweb/manager:1.17.0 "python3 /src/api_se…" 2 days ago Up 2 days (healthy) 8181/tcp kasm_manager 1fd20e53e89a kasmweb/rdp-gateway:1.17.0 "/start.sh" 2 days ago Up 2 days (healthy) 0.0.0.0:3389->3389/tcp, [::]:3389->3389/tcp kasm_rdp_gateway 0ca7cd49125a redis:5-alpine "docker-entrypoint.s…" 2 days ago Up 2 days 6379/tcp kasm_redis fada1b17faac kasmweb/kasm-guac:1.17.0 "/dockerentrypoint.sh" 2 days ago Up 2 days (healthy) kasm_guac 0d2c4f9d62de kasmweb/api:1.17.0 "/bin/sh -c /usr/bin…" 6 days ago Up 2 days (healthy) 8080/tcp kasm_api a5fa858334ad kasmweb/postgres:1.17.0 "docker-entrypoint.s…" 6 days ago Up 2 days (healthy) 5432/tcp kasm_db

Additional context Logs from C:/ProgramFiles/Kasm/

2025-05-26 08:39:04,712 - INFO - No file mappings for server ac97117d-fe86-4862-a5ae-82b56991edb6 2025-05-26 08:39:04,715 - INFO - No storage mappings for server ac97117d-fe86-4862-a5ae-82b56991edb6 2025-05-26 08:39:04,717 - INFO - Applying policies defined. 2025-05-26 08:39:04,723 - INFO - Starting Kasm Upload Server On Port 4902 2025-05-26 08:39:04,883 - INFO - JWT token has been refreshed. 2025-05-26 08:39:25,234 - INFO - Session start initiated for user (Rojo). 2025-05-26 08:39:25,368 - INFO - 10.2.202.169 POST https /session_start? 200 OK 2025-05-26 08:39:25,456 - INFO - Successfully set status of session (0fb873bb-a9a5-471e-9849-cdf9202e0553) to running 2025-05-26 08:39:25,461 - INFO - Logging off disconnected sessions for user "Rojo" 2025-05-26 08:39:25,470 - INFO - Found 1 disconnected sessions for user "Rojo" 2025-05-26 08:39:25,473 - INFO - Successfully registered remote app wrapper at "C:\Program Files\Kasm\remote_app_runner.exe" 2025-05-26 08:39:44,204 - ERROR - 10.2.202.169 GET /api/downloads?path=&_=1748241583251 - 400 Traceback (most recent call last): File "flask\app.py", line 880, in full_dispatch_request File "flask\app.py", line 854, in dispatch_request File "flask\app.py", line 463, in raise_routing_exception File "flask\ctx.py", line 362, in match_request File "werkzeug\routing\map.py", line 627, in match werkzeug.routing.exceptions.WebsocketMismatch: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.

2025-05-26 08:39:44,284 - ERROR - 10.2.202.169 GET https /api/downloads?path=&=1748241583251 400 BAD REQUEST - b'{"error":"400 Bad Request: The browser (or proxy) sent a request that this server could not understand."}\n' 2025-05-26 08:39:44,489 - ERROR - 10.2.202.169 GET /Downloads/Downloads/?=1748241583544 - 400 Traceback (most recent call last): File "flask\app.py", line 880, in full_dispatch_request File "flask\app.py", line 854, in dispatch_request File "flask\app.py", line 463, in raise_routing_exception File "flask\ctx.py", line 362, in match_request File "werkzeug\routing\map.py", line 627, in match werkzeug.routing.exceptions.WebsocketMismatch: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.

2025-05-26 08:39:44,492 - ERROR - 10.2.202.169 GET https /Downloads/Downloads/?=1748241583544 400 BAD REQUEST - b'{"error":"400 Bad Request: The browser (or proxy) sent a request that this server could not understand."}\n' 2025-05-26 08:39:45,463 - INFO - Saving screenshot for "Rojo" at "C:\Users\Rojo\kasm_screenshot.png" 2025-05-26 08:39:45,465 - INFO - Launching application "C:\Program Files\Kasm\screenshot.exe" as user "Rojo" 2025-05-26 08:39:49,583 - ERROR - 10.2.202.169 GET /Downloads/Downloads/?=1748241588556 - 400 Traceback (most recent call last): File "flask\app.py", line 880, in full_dispatch_request File "flask\app.py", line 854, in dispatch_request File "flask\app.py", line 463, in raise_routing_exception File "flask\ctx.py", line 362, in match_request File "werkzeug\routing\map.py", line 627, in match werkzeug.routing.exceptions.WebsocketMismatch: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.

2025-05-26 08:39:49,655 - ERROR - 10.2.202.169 GET https /Downloads/Downloads/?_=1748241588556 400 BAD REQUEST - b'{"error":"400 Bad Request: The browser (or proxy) sent a request that this server could not understand."}\n' 2025-05-26 08:39:51,602 - INFO - Session end initiated for user (Rojo). 2025-05-26 08:39:51,612 - INFO - 10.2.202.169 POST https /session_end? 200 OK 2025-05-26 08:39:51,910 - INFO - Logging off disconnected sessions for user "Rojo" 2025-05-26 08:39:51,917 - INFO - Found 1 disconnected sessions for user "Rojo" 2025-05-26 08:39:51,931 - INFO - Successfully set status of session (0fb873bb-a9a5-471e-9849-cdf9202e0553) to destroyed

Image Image

frealsanchez avatar May 26 '25 06:05 frealsanchez