#devops
共 933 篇文章
解决 Envoy 报错 router upstream reset before response headers 修复
排查 Envoy 反向代理输出 upstream reset before response headers (503 UC),分析连接复用、TCP RST 与超时配置。
解决 Grafana Loki 报错 entry too far behind 时间戳过旧丢弃修复
排查 在使用 Promtail 或 Fluent Bit 向 Grafana Loki 写入容器历史日志或归档日志时推送失败,控制台狂报 400 Bad Request: entry too far behind, minimum accepted timestamp: xxx, entry timestamp: yyy,分析 Loki 拒绝乱序窗口与 rejection_period 调优。
解决 npm 报错 ERESOLVE could not resolve dependency 依赖冲突
分析 npm 7+ 严格对等依赖校验报 ERESOLVE 的根因,提供 --legacy-peer-deps 与依赖升级解决指南。
Spring Cloud Config 客户端重试雪崩与 GitHub API 速率超限排障
排查 Spring Cloud Config Server 以 GitHub 作为后端存储时,因集群大规模重启并发克隆仓库触发 GitHub API 限流导致全站无法启动的故障。
解决 Skopeo 报错 authentication required 镜像仓库鉴权失败修复
排查使用 Skopeo 同步或复制容器镜像抛出 FATA[0000] Error reading manifest: unauthorized: authentication required,配置 --authfile 或 --creds 凭证。
解决 OpenTelemetry 报错 batch processor queue full 批处理队列打满修复
排查 OpenTelemetry Collector 报 batch processor queue is full: dropping data,分析 send_batch_max_size 与导出器吞吐瓶颈。
解决 Linux 报错 Too many open files 文件句柄超限指南
分析 Linux 系统在高并发网络连接下报 Too many open files 的根因,提供 nofile 与 fs.file-max 调优配置方案。
解决 Kong API Gateway 报错 502 Bad Gateway 响应格式修复
排查 Kong API 网关代理接口返回 {"message":"An invalid response was received from the upstream server"},排查 upstream keepalive 与超时。
解决 GitLab Runner 报错 Job failed (system failure) 缺少 docker.sock
分析 GitLab Runner 在 Docker-in-Docker 场景下报 system failure 无法连接 docker.sock 的根因,提供卷挂载与特权模式配置步骤。
解决 Consul Connect 报错 envoy bootstrap generation failed 引导配置失败修复
排查 Consul Service Mesh 中 Envoy 启动边车报错 error generating bootstrap: failed to retrieve agent token 或 connection refused,分析 Consul Agent 通信与 ACL Token。
解决 Bun 报错 bun --watch ENOSPC System limit for number of file watchers reached 修复
排查 在大型项目中运行 bun --watch 或 bun dev 报错 Error: ENOSPC: System limit for number of file watchers reached,分析 inotify 监听器上限与 Linux 内核参数。
解决 Kong 报错 OIDC session token expired 401 令牌过期修复
排查 Kong 使用 kong-oidc 插件进行 Single Sign-On(SSO)认证时,用户使用一段时间后突然报错 401 Unauthorized / Token expired 且无法自动刷新,分析 Refresh Token 自动续期与 Session 存储配置。
解决 MinIO 报错 Erasure code healing required 磁盘离线数据自愈修复
排查 分布式 MinIO 集群报 503 Service Unavailable 或 mc admin info 提示 Drives: x Offline, Healing: y,分析 纠删码驱动故障与在线自愈流水线。
解决 Docker 报错 failed to initialize logging driver: json-file 的排查指南
排查与解决 Docker 容器启动提示 failed to initialize logging driver 日志驱动初始化失败的完整方案。
解决 Kong 报错 in 'routes': schema violation (paths: length must be at least 1) 声明式配置解析修复
排查 Kong 在 DB-less 模式下启动或重载 kong.yml 报 schema violation: in 'routes': length must be at least 1,分析 声明式配置语法规范。
解决 Prometheus 报错 expanding series query timed out 查询超时
分析 PromQL 查询提示 expanding series: query timed out 的超大时间跨度与高基数瓶颈,提供 query.timeout 调优方案。
解决浏览器报错 net::ERR_CONNECTION_REFUSED 本地开发服务排查指南
排查访问 localhost 或本地开发服务器时浏览器提示 net::ERR_CONNECTION_REFUSED 错误,分析端口监听绑定、WSL 转发与防火墙阻断。
Harbor 标签保留规则(Tag Retention)配置偏差导致生产镜像误删排障
深入分析在 Harbor 中配置自动化标签保留与清理策略时,因正则表达式书写缺陷导致生产在用镜像被意外清空的灾难抢救与安全防护。
解决 containerd 报错 failed to reserve sandbox name 沙盒冲突修复
排查 Kubernetes 节点使用 containerd 提示 failed to reserve sandbox name: name ... is already in use,清理残留 PodSandbox 与重启 containerd。
解决 Fluent Bit 报错 cannot connect to output plugin 网络断连修复
排查轻量日志收集器 Fluent Bit 提示 [error] [output:es:es.0] cannot connect to ... 错误,配置 net.keepalive 与 retry_limit 指数退避。


