-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Describe the bug
I upgraded from 0.9.0 to 0.10.0. Since then, I only get a 502 by our ingress controller (nginx). When having a look to the logs I get a 401 by the api container:
console-ui ▲ Next.js 14.2.33
console-ui - Local: http://localhost:3000
console-api INFO exec -a "java" java -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager -cp "." -jar /deployments/quarkus-run.jar
console-ui - Network: http://0.0.0.0:3000
console-api INFO running in /deployments
console-ui
console-ui ✓ Starting...
console-ui ✓ Ready in 77ms
console-api __ ____ __ _____ ___ __ ____ ______
console-api --/ __ \/ / / / _ | / _ \/ //_/ / / / __/
console-api -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
console-api --\___\_\____/_/ |_/_/|_/_/|_|\____/___/
console-api 2025-10-30 14:16:26,582 INFO [com.git.str.con.api.sup.fac.ConsoleConfigFactory] (main) Loading console configuration from file:/deployments/console-config.yaml
console-api 2025-10-30 14:16:26,748 WARN [io.fab.kub.cli.dsl.int.VersionUsageUtils] (main) The client is using resource type 'kafkas' with unstable version 'v1beta2'
console-api 2025-10-30 14:16:27,121 WARN [io.fab.kub.cli.dsl.int.VersionUsageUtils] (main) The client is using resource type 'kafkanodepools' with unstable version 'v1beta2'
console-api 2025-10-30 14:16:27,143 WARN [io.fab.kub.cli.dsl.int.VersionUsageUtils] (main) The client is using resource type 'kafkatopics' with unstable version 'v1beta2'
console-api 2025-10-30 14:16:27,192 INFO [com.git.str.con.LoggingConfigWatcher] (main) No log config files set to monitor
console-api 2025-10-30 14:16:27,223 INFO [io.quarkus] (main) console-api 0.10.0 on JVM (powered by Quarkus 3.20.3) started in 2.459s. Listening on: http://0.0.0.0:8080
console-api 2025-10-30 14:16:27,223 INFO [io.quarkus] (main) Profile build activated.
console-api 2025-10-30 14:16:27,223 INFO [io.quarkus] (main) Installed features: [cache, cdi, hibernate-validator, kubernetes-client, micrometer, oidc, oidc-client, rest, rest-client, rest-client-jackson, rest-jackson, security, smallrye-context-propagation, smallrye-health, smallrye-openapi, swagger-ui, ve
console-ui {"level":30,"time":1761833792413,"env":"production","module":"utils","msg":"console configuration loaded from /deployments/console-config.yaml"}
console-ui {"level":50,"time":1761833792541,"env":"production","module":"next-auth","0":{"error":{"name":"OAuthCallbackError","message":""},"providerId":"oidc"},"msg":"OAUTH_CALLBACK_ERROR"}
console-api 2025-10-30 14:16:33,432 WARN [com.git.str.con.api.sup.TrustStoreSupport] (vert.x-eventloop-thread-1) No truststore found for bucket 'oidc-provider:auth-server'
console-api 2025-10-30 14:16:33,561 INFO [io.qua.htt.access-log] (vert.x-eventloop-thread-1) - 127.0.0.1 - "GET /api/kafkas?fields%5Bkafkas%5D=name%2Cnamespace%2CkafkaVersion&page%5Bsize%5D=20&sort=name HTTP/1.1" 401 143ms 172
console-ui {"level":30,"time":1761833793563,"env":"production","module":"api","errors":[{"title":"Not Authenticated","detail":"Authentication credentials missing or invalid","id":"783375d4-b61f-4c57-86ea-334e244a19cd","status":"401","code":"4011"}],"msg":"fetch http://127.0.0.1:8080/api/kafkas?fields%5Bkafka
console-ui ReferenceError: window is not defined
console-ui at /app/.next/server/chunks/4119.js:1:16532
console-ui at d (/app/.next/server/chunks/4119.js:1:56446)
console-ui at Generator.<anonymous> (/app/.next/server/chunks/4119.js:1:56237)
console-ui at Generator.next (/app/.next/server/chunks/4119.js:1:56805)
console-ui at t (/app/.next/server/chunks/4119.js:1:51078)
console-ui at u (/app/.next/server/chunks/4119.js:1:51288)
console-ui at /app/.next/server/chunks/4119.js:1:51347
console-ui at new Promise (<anonymous>)
console-ui at /app/.next/server/chunks/4119.js:1:51229
console-ui at I (/app/.next/server/chunks/4119.js:1:17302)
console-ui {"level":50,"time":1761833796134,"env":"production","module":"next-auth","0":{"error":{"name":"OAuthCallbackError","message":""},"providerId":"oidc"},"msg":"OAUTH_CALLBACK_ERROR"}
console-api 2025-10-30 14:16:36,614 INFO [io.qua.htt.access-log] (vert.x-eventloop-thread-1) - 127.0.0.1 - "GET /api/kafkas?fields%5Bkafkas%5D=name%2Cnamespace%2CkafkaVersion&page%5Bsize%5D=20&sort=name HTTP/1.1" 401 1ms 172
console-ui {"level":30,"time":1761833796618,"env":"production","module":"api","errors":[{"title":"Not Authenticated","detail":"Authentication credentials missing or invalid","id":"aa499bbf-5451-4280-9a5d-6f4f51293fdb","status":"401","code":"4011"}],"msg":"fetch http://127.0.0.1:8080/api/kafkas?fields%5Bkafka
console-ui ReferenceError: window is not defined
console-ui at /app/.next/server/chunks/4119.js:1:16532
console-ui at d (/app/.next/server/chunks/4119.js:1:56446)
console-ui at Generator.<anonymous> (/app/.next/server/chunks/4119.js:1:56237)
console-ui at Generator.next (/app/.next/server/chunks/4119.js:1:56805)
console-ui at t (/app/.next/server/chunks/4119.js:1:51078)
console-ui at u (/app/.next/server/chunks/4119.js:1:51288)
console-ui at /app/.next/server/chunks/4119.js:1:51347
console-ui at new Promise (<anonymous>)
console-ui at /app/.next/server/chunks/4119.js:1:51229
console-ui at t.signOut (/app/.next/server/chunks/4119.js:1:10937)
To Reproduce
Steps to reproduce the behavior:
- Upgrade from 0.9.0 to 0.10.0
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Linux
- Browser Chromium
- Version 141.0.7390.122
Additional context
I also integrated the changes from 287801d into my config but rolling them back does not have any effect.
Used images:
quay.io/streamshub/console-api:0.10.0@sha256:96844bedcdd5c01d2c2e888b058793a2735d5ec591c21090bbd054edc2602447
quay.io/streamshub/console-ui:0.10.0@sha256:b06077d15d687a0e61ec86e6a4ab8f60b8a0ff81f156d4a033e0410afbb604b1
or
quay.io/streamshub/console-ui:0.10.1-snapshot@sha256:29338b16b3fb1d4e4a06f90489339f4d27e8dac88b7640b3a98675f185ad79ba
Metadata
Metadata
Assignees
Labels
No labels