计算机教程网

您现在的位置是:首页 > 主机教程 > 服务器运维

服务器运维

解决Bad compression stub decompression header byte: 102

2024-10-06 21:49:24服务器运维 主机评测网
openvpn客户端连接,网络不稳定,客户端出现如下日志:Sun May 07 16:55:24 2017 Bad compression stub decompression header byte: 102Sun May 07 16:55:26 2017 Bad compression stub decompression header byte: 102Sun May 07 16:55:29 2017 Bad compression stub decompression header byte: 1

openvpn客户端连接,网络不稳定,客户端出现如下日志:

Sun May 07 16:55:24 2017 Bad compression stub decompression header byte: 102Sun May 07 16:55:26 2017 Bad compression stub decompression header byte: 102Sun May 07 16:55:29 2017 Bad compression stub decompression header byte: 102Sun May 07 16:55:34 2017 Bad compression stub decompression header byte: 102Sun May 07 16:55:34 2017 Bad compression stub decompression header byte: 102Sun May 07 16:55:35 2017 Bad compression stub decompression header byte: 102Sun May 07 16:55:36 2017 Bad compression stub decompression header byte: 102Sun May 07 16:55:40 2017 Bad compression stub decompression header byte: 102Sun May 07 16:55:45 2017 Bad compression stub decompression header byte: 102

原因:服务端开启lzo压缩,但是客户端未开启lzo压缩。解决方法二选一

1、关闭服务端lzo

# cat /etc/openvpn/server.conf | grep lzocomp-lzo no# service openvpn restart

2、关闭客户端lzo

打开client.ovpn,启用lzo

comp-lzo