kubectl proxy doesn't serve the webUI
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
- #5724 di @lbarrosby — chiusa senza merge
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 22/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- go, kubernetes
- Ambito
- networking
Direzione di ricerca
The failure is a stream error ... INTERNAL_ERROR from kubectl proxy (proxy_server.go), not from Alertmanager itself, so the cause probably lies in how the Kubernetes apiserver proxy handles the service-proxy path. Reproduce by hitting the services/alertmanager-operated:9093/proxy URL through kubectl proxy at v0.32.0 and compare against v0.31.1. Done means the proxied UI loads again and the reproduction is confirmed against both client versions.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What did you do?
When trying to use the kubectl proxy command after upgrading from v0.31.1 to v0.32.0 I tried to reach the alertmanager UI using the URLs:
http://127.0.0.1:8001/api/v1/namespaces/monitoring/services/alertmanager-operated:9093/proxyhttp://127.0.0.1:8001/api/v1/namespaces/monitoring/services/alertmanager-operated:9093/proxy/#/alerts
None of these works after the upgrade, which they did before the upgrade.
The API is still working as expected from what I can see.
Tested on kubernetes v1.35.6 and kubectl v1.35.10
Using kubectl port-forward works as expected, only kubectl proxy seems to be broken
What did you expect to see?
Be redirected to /#/alerts and see the web UI
What did you see instead? Under which circumstances?
The browser shows
stream error: stream ID 1; INTERNAL_ERROR; received from peer
And the output from kubectl proxy is
E1103 15:32:34.220447 1186201 proxy_server.go:147] Error while proxying request: stream error: stream ID 1; INTERNAL_ERROR; received from peer
System information
No response
Alertmanager version
Broken versions:
version=0.32.0, branch=HEAD, revision=685a2a1c6bb01b2c17bc1bfae995cb3416c1115e
version=0.34.2, branch=HEAD, revision=e8349048265ccc0871c3d0d668b05eacc68baf50
Working version:
version=0.31.1, branch=HEAD, revision=7a639ba087d6e877038cabfdaa645230f79001b8
Alertmanager configuration file
Prometheus version
Prometheus configuration file
Logs
CPU profiles
No response
Memory profiles
No response
Number of alerts
No response
Number of silences
No response
prometheus-operator checklist
- I have confirmed this issue is not caused by a missing feature in prometheus-operator.
- I have reproduced this issue when running Alertmanager directly (without prometheus-operator).
- Lingua principale
- Go
- Stelle
- 8.7k
- Fork
- 2.5k
- Merge medio
- 5g 21h
- PR unite (30g)
- 43
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di prometheus/alertmanager
-
featurecontrol: feature-flag activation is logged at WARN, so a clean start-up emits warningsForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
prometheus/alertmanager#5412 · 2 commenti ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
prometheus/alertmanager#4961 · 8 commenti ·
I maintainer di solito rispondono entro 3 giorni
-
0.35.0: 90s HTTP IdleTimeout races Prometheus's resend cadence, POST /api/v2/alerts fails with EOFForse già presa @xixi-box l’ha presa 5 giorni fa. Apertacomponent/api
Difficoltà 2/5 1-3 ore Idoneità per principianti 22/100
prometheus/alertmanager#5743 · 3 commenti · 3 reazioni ·
I maintainer di solito rispondono entro 3 giorni
-
🧭 PR Triage DashboardAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 1/100
prometheus/alertmanager#5727 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 1/100
prometheus/alertmanager#5691 · 15 commenti ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di prometheus/alertmanager
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
txn2/mcp-data-platform#2728 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
blinklabs-io/dingo#6504 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
SocialGouv/iterion#3413 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
orion-belt-dev/orion-belt#181 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
kubesmarts/logic-operator#105 ·
I maintainer di solito rispondono entro 1 giorno