发布于 3 个月前
发布于 3 个月前
蕾蕾
更新于 3 个月前
1
0
系统版本: Linux **** 5.4.0-195-generic #215-Ubuntu SMP Fri Aug 2 18:28:05 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
拉取最新6.9.0版本镜像进行安装后,无法修改防护站点的全局配置。一旦修改配置会出现名为
[502] https://192.168.31.65:9443/api/open/global/proxy
的报错,并且容器safeline-mgt会发生重启。
容器的错误日志为:
2024/09/14 05:22:40 [error] 10#10: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.31.252, server: , request: "PUT /api/open/global/proxy HTTP/2.0", upstream: "http://[::1]:8000/api/open/global/proxy", host: "192.168.31.65:9443", referrer: "https://192.168.31.65:9443/sites/config"
2024/09/14 05:22:40 [warn] 10#10: *2 upstream server temporarily disabled while connecting to upstream, client: 192.168.31.252, server: , request: "PUT /api/open/global/proxy HTTP/2.0", upstream: "http://[::1]:8000/api/open/global/proxy", host: "192.168.31.65:9443", referrer: "https://192.168.31.65:9443/sites/config"
2024/09/14 05:22:40 [error] 10#10: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.31.252, server: , request: "PUT /api/open/global/proxy HTTP/2.0", upstream: "http://127.0.0.1:8000/api/open/global/proxy", host: "192.168.31.65:9443", referrer: "https://192.168.31.65:9443/sites/config"
2024/09/14 05:22:40 [warn] 10#10: *2 upstream server temporarily disabled while connecting to upstream, client: 192.168.31.252, server: , request: "PUT /api/open/global/proxy HTTP/2.0", upstream: "http://127.0.0.1:8000/api/open/global/proxy", host: "192.168.31.65:9443", referrer: "https://192.168.31.65:9443/sites/config"
2024/09/14 05:22:40 [error] 10#10: *2 no live upstreams while connecting to upstream, client: 192.168.31.252, server: , request: "PUT /api/open/global/proxy HTTP/2.0", upstream: "http://localhost/api/open/global/proxy", host: "192.168.31.65:9443", referrer: "https://192.168.31.65:9443/sites/config"
如果回退到6.8.0版本,会出现下面的问题
2024/09/14 05:42:14 [error] 11#11: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.22.222.1, server: , request: "POST /api/open/publish/server?kind=secret HTTP/1.1", upstream: "http://[::1]:8000/api/open/publish/server?kind=secret", host: "172.22.222.4:1443"
2024/09/14 05:42:14 [warn] 11#11: *1 upstream server temporarily disabled while connecting to upstream, client: 172.22.222.1, server: , request: "POST /api/open/publish/server?kind=secret HTTP/1.1", upstream: "http://[::1]:8000/api/open/publish/server?kind=secret", host: "172.22.222.4:1443"
但如果删除所有数据,从零开始重新安装6.8.0版本,则可以正常工作。
最后我尝试使用另一台系统版本为Linux ****** 5.15.0-113-generic #123-Ubuntu SMP Mon Jun 10 08:16:17 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
的机器安装6.9.0版本则不会出现上述问题,可以正常使用。
雷池 - 小小
更新于 3 个月前
0
0
是官方升级脚本更新的吗
蕾蕾
更新于 3 个月前
不是,我是删除了所有数据,重新手动安装的。
雷池 - 小小
更新于 3 个月前
检查下 compose.yaml 文件需要和最新版本一致,推荐执行下升级脚本更新
蕾蕾
更新于 3 个月前
好的好的,谢谢帮助