Skip to content

[bug]: Admin service redirect broken on fresh install to microk8s #8814

@dev-null-2007

Description

@dev-null-2007

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When accessing /god-mode through an ingress/reverse proxy, as with hitting the "Get Started" button on a new install, the admin service issues a 301 redirect to hostname:3000/god-mode/ (with its internal listening port appended), causing an ERR_CONNECTION_REFUSED since port 3000 is not externally accessible.

This is on a new self-host instance, installed on microk8s using helm with the makeplane/plane-ce-1.4.1 chart, showing app version 1.2.0. Note that while I am still currently running an nginx ingress, I plan to migrate to traefik in the near future, so for me at least this might hopefully be a non-issue before too long.

Suspected root cause (per Claude):

The admin pod's nginx listens on port 3000 without port_in_redirect off, so trailing-slash redirects (e.g. /god-mode → /god-mode/) include the internal port in the Location header. The standard ingress-level fix for this — injecting port_in_redirect off or a rewrite rule via nginx.ingress.kubernetes.io/configuration-snippet — is unavailable when snippet annotations are disabled, which is the default in current ingress-nginx versions (disabled following CVE-2021-25742).

Steps to reproduce

  1. Deploy Plane CE via Helm on microk8s using ingress-nginx with snippet annotations disabled (the current default)
  2. Navigate to the Plane homepage
  3. Click "Get Started"
  4. Observe 301 redirect to hostname:3000/god-mode/ and subsequent connection failure

Environment

Production

Browser

Google Chrome

Variant

Self-hosted

Version

v1.2.0

Metadata

Metadata

Labels

planesync issues to Plane🐛bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions