chaitin / SafeLine

serve as a reverse proxy to protect your web services from attacks and exploits.
https://waf.chaitin.com
GNU General Public License v3.0
13.29k stars 817 forks source link

[Bug] 升级到6.9.0后,各种提示/api/ 502错误 #1067

Closed clion007 closed 2 months ago

clion007 commented 2 months ago

What happened?

昨晚讲雷池从6.6.1版本升级到了6.9.0版本后,就在日志和控制面板提示各种/api/* 的502错误,不知道是怎么回事。

How we reproduce?

  1. 从6.6.1版本升级到了6.9.0版本
  2. ...
  3. ...

Expected behavior

No response

Error log

mgt erro log like this: 2024/09/13 10:34:05 [error] 10#10: 1 connect() failed (111: Connection refused) while connecting to upstream, client: ..., server: , request: "GET /api/stat/qps HTTP/2.0", upstream: "http://[::1]:/api/stat/qps", host: "", referrer: "https:///dashboard" 2024/09/13 10:34:05 [warn] 10#10: 1 upstream server temporarily disabled while connecting to upstream, client: ..., server: , request: "GET /api/stat/qps HTTP/2.0", upstream: "http://[::1]:/api/stat/qps", host: "", referrer: "https:///dashboard" 2024/09/13 10:34:05 [error] 10#10: 1 connect() failed (111: Connection refused) while connecting to upstream, client: ..., server: , request: "GET /api/stat/qps HTTP/2.0", upstream: "http://127.0.0.1:/api/stat/qps", host: "", referrer: "https:///dashboard" 2024/09/13 10:34:05 [warn] 10#10: 1 upstream server temporarily disabled while connecting to upstream, client: ..., server: , request: "GET /api/stat/qps HTTP/2.0", upstream: "http://127.0.0.1:/api/stat/qps", host: "", referrer: "https:///dashboard"