Skip to content

Coder apps with long hostname fail without explanation #15178

@stirby

Description

@stirby

In the port forwarding docs, we warn users about configuring hostnames >63 characters long.

There is a DNS limitation where each segment of hostnames must not exceed 63 characters. If your app name, agent name, workspace name and username exceed 63 characters in the hostname, port forwarding via the dashboard will not work.

We raise a build error if the workspace name + agent name + username exceeds this limit, but there is no warning on coder_app ports where the added app name breaks the limit. Currently, the app fails silently and returns an empty response. We should show that the app is failing due to this character limitation with a health status or an error on the workspace page.

Metadata

Metadata

Assignees

Labels

bug riskProne to bugscustomer-requestedFeatures requested by enterprise customers. Only humans may set this.siteArea: frontend dashboard

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy