Skip to content

Kasm 1.19: /api/zoneoptions omits custom port, causing /checkvalid timeout #930

Open

Description

@SchmalzerC

Kasm Workspaces 1.19 is accessed through a reverse proxy at https://example.com:1443. When launching a desktop, the RDP file download is delayed until a /checkvalid request times out.

The browser’s window.location.origin correctly includes :1443, but /api/zoneoptions returns:

{"zones":[{"host":"https://example.com","id":""}]}

The frontend then calls fetch(t.host + "/checkvalid"), resulting in https://example.com/checkvalid on port 443 instead of 1443. Port 443 serves a different application.

The same /api/zoneoptions response occurs when calling Kasm directly, bypassing the reverse proxy, with Host: example.com:1443, X-Forwarded-Proto: https, and X-Forwarded-Port: 1443. Zone Proxy Port was tested with both 1443 and 0; neither resolved the issue. RDP HTTPS Proxy Port is 1443.

Expected: The returned zone host includes :1443, or /checkvalid uses the page’s origin. Is there a configuration setting for this endpoint, or is this a 1.19 regression?

Activity

  1. added
    bug
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions