GitHub user jc4250 created a discussion: Getting 404 error on welcome page

Supserset is installed as pod in kubernetes cluster using ingress gateway and 
istio for routing the request.
My virtual Service config for superset
```
 - match:
        - uri:
            prefix: /superset
      route:
        - destination:
            host: superset.superset.svc.cluster.local
            port:
              number: 80
          headers:
            request:
              set:
                X-Forwarded-Proto: https
      rewrite:
        uri: /
```

In Deployment file under env for reading the config
```
- name: SUPERSET_CONFIG_PATH
   value: /app/superset_config.py
```

Superset_config.py file
```
import os

SUPERSET_WEBSERVER_PREFIX = "/superset/"
# APPLICATION_ROOT = "/superset/"
ENABLE_PROXY_FIX = True
LOG_LEVEL = "DEBUG"

# ------------------------------------------------------
# REQUIRED: force metadata DB for CLI + app init
# ------------------------------------------------------

SQLALCHEMY_DATABASE_URI = os.environ["SQLALCHEMY_DATABASE_URI"]

# ------------------------------------------------------
# Secrets
# ------------------------------------------------------

SECRET_KEY = os.environ["SUPERSET_SECRET_KEY"]
GUEST_TOKEN_JWT_SECRET = os.environ["GUEST_TOKEN_JWT_SECRET"]
```

When I hit url: domain/superset in response it getting 302 status code with 
Location /superset/welcome
In second request path is correct domain/superset/welcome but getting 404

GitHub link: https://github.com/apache/superset/discussions/37655

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to