pveproxy[1599]: proxy detected vanished client connection

pveproxy[1599]: proxy detected vanished client connection

出现背景

在集群环境中,PVE网页经常出现401,并且需要重新登录。

在pveproxy日志中,可以查看到如下:

pveproxy[1599]: proxy detected vanished client connection

在pveproxy的access日志中,可以查看到如下信息

 

::ffff:192.168.6.99 - - [19/11/2022:23:47:50 +0800] "GET /api2/json/nodes/sam/certificates/info HTTP/1.1" 401 -
::ffff:192.168.6.99 - - [19/11/2022:23:47:50 +0800] "GET /api2/json/nodes/sam/config HTTP/1.1" 401 -
::ffff:192.168.6.99 - - [19/11/2022:23:47:50 +0800] "GET /api2/json/nodes/sam/status HTTP/1.1" 401 -
::ffff:192.168.6.99 - - [19/11/2022:23:48:05 +0800] "GET /api2/json/nodes/sam/status HTTP/1.1" 401 -
::ffff:192.168.6.99 - - [19/11/2022:23:48:06 +0800] "GET /api2/extjs/nodes/sam/qemu/609/config?_dc=1668872888562 HTTP/1.1" 401 -
::ffff:192.168.6.99 - - [19/11/2022:23:48:07 +0800] "GET /api2/json/nodes/sam/qemu/609/status/current HTTP/1.1" 401 -
::ffff:192.168.6.99 - - [19/11/2022:23:48:40 +0800] "GET /api2/extjs/nodes/sam/qemu/609/config?_dc=1668872922616 HTTP/1.1" 401 -
::ffff:192.168.6.99 - - [19/11/2022:23:48:41 +0800] "GET /api2/json/nodes/sam/qemu/609/status/current HTTP/1.1" 401 -
::ffff:192.168.6.99 - - [19/11/2022:23:48:43 +0800] "GET /api2/extjs/nodes/sam/qemu/607/config?_dc=1668872925367 HTTP/1.1" 401 -
::ffff:192.168.6.99 - - [19/11/2022:23:48:43 +0800] "GET /api2/json/nodes/sam/qemu/607/status/current HTTP/1.1" 401 -
::ffff:192.168.6.99 - - [19/11/2022:23:48:44 +0800] "GET /api2/json/nodes/sam/storage/local/status HTTP/1.1" 401 -

解决方法

 

1.检查集群状态是否正常,

2.检查集群节点时间是否同步。

如果时间不同,请配置好时间同步。可用使用临时解决方法,设置节点时间:

date -s "$(curl http://baidu.com -v 2>&1 | \
  grep "Date: " | awk '{ print $3 " " $5 " " $4 " " $7 " " $6 " GMT"}')"

 

版权声明:
作者:佛西
链接:https://foxi.buduanwang.vip/virtualization/2172.html/
文章版权归作者所有,未经允许请勿转载
如需获得支持,请点击网页右上角
THE END
分享
二维码
海报
pveproxy[1599]: proxy detected vanished client connection
在集群环境中,PVE网页经常出现401,并且需要重新登录。
<<上一篇
下一篇>>
文章目录
关闭
目 录