Repository navigation
"Real-time notifications interrupted. Please refresh the page or check your connection." #19990
|
My connection is fine and refreshing the page doesn't stop the error from getting shown. I see this error in the Chrome devtools: If I disable QUIC, it's (By the way: The notification icon keeps disappearing and then re-appearing the next time the error happens. I suspect that the intention is that it should stick around until the user reads it?) My setupDeployed via pulumi: new k8s.helm.v3.Release(
"kube-prometheus-stack",
{
chart: "kube-prometheus-stack",
name: "kube-prometheus-stack",
namespace,
repositoryOpts: {
repo: "https://prometheus-community.github.io/helm-charts",
},
values: {
grafana: {
adminPassword: grafanaAdminPassword,
deploymentStrategy: {
type: "Recreate",
},
ingress: {
enabled: true,
hosts: ["[REDACTED]"],
ingressClassName: "nginx",
path: "/",
pathType: "Prefix",
},
persistence: {
accessModes: ["ReadWriteOnce"],
enabled: true,
size: "5Gi",
},
replicas: 1,
} satisfies DeepInput<GrafanaConfig>,
prometheus: {
ingress: {
annotations: {
"nginx.ingress.kubernetes.io/auth-realm":
"Authentication Required",
"nginx.ingress.kubernetes.io/auth-secret":
"prometheus-ingress-auth",
"nginx.ingress.kubernetes.io/auth-type": "basic",
},
enabled: true,
hosts: ["[REDACTED]"],
ingressClassName: "nginx",
pathType: "Prefix",
paths: ["/"],
},
prometheusSpec: {
storageSpec: {
volumeClaimTemplate: {
spec: {
accessModes: ["ReadWriteOnce"],
resources: {
requests: {
storage: "10Gi",
},
},
},
},
},
},
},
},
version: kubePrometheusStackVersion,
},
{ dependsOn: [prometheusIngressAuthSecret, ...dependsOn], provider },
);DNS handled by cloudflare via wildcard. I tried temporarily switching to "DNS only" - no change. |
Replies: 1 comment 3 replies
|
That Which Prometheus/ingress-controller versions are running, and how long after connecting does the failure occur? Could you compare The icon's flicker also fits current UI code: a new |
That
200doesn't show the stream survived. Current main's handler flushes the SSE headers before waiting for notifications, without heartbeat writes. An in-memory test of that extracted handler, with a stub subscriber, produced200with no body until an injected notification; this wasn't a deployment reproduction.Which Prometheus/ingress-controller versions are running, and how long after connecting does the failure occur? Could you compare
/api/v1/notifications/livethrough ingress with the same path through a local pod port-forward? If only the ingress path closes it at a repeatable idle interval, check its effectiveproxy-read-timeoutagainst that interval. NGINX defines the timeout b…