nginx-upsync-module icon indicating copy to clipboard operation
nginx-upsync-module copied to clipboard

upsync_timeout: timed out reading upsync_server

Open mjwtc0722 opened this issue 6 years ago • 5 comments

2018/12/05 14:08:51 [error] 31184#0: [WARN] upsync_timeout: timed out reading upsync_server: 172.18.41.169:80 2018/12/05 14:08:51 [error] 31184#0: [WARN] upsync_timeout: timed out reading upsync_server: 172.18.41.169:80 2018/12/05 14:08:51 [error] 31183#0: [WARN] upsync_timeout: timed out reading upsync_server: 172.18.41.169:80 2018/12/05 14:08:52 [error] 31183#0: [WARN] upsync_timeout: timed out reading upsync_server: 172.18.41.169:80 2018/12/05 14:08:52 [error] 31184#0: [WARN] upsync_timeout: timed out reading upsync_server: 172.18.41.169:80 2018/12/05 14:08:53 [error] 31184#0: [WARN] upsync_timeout: timed out reading upsync_server: 172.18.41.169:80 2018/12/05 14:09:17 [error] 31184#0: [WARN] upsync_timeout: timed out reading upsync_server: 172.18.41.169:80 2018/12/05 14:09:19 [error] 31183#0: [WARN] upsync_timeout: timed out reading upsync_server: 172.18.41.169:80

mjwtc0722 avatar Dec 05 '18 06:12 mjwtc0722

每隔一段时间就会报这个错误

mjwtc0722 avatar Dec 05 '18 06:12 mjwtc0722

请问解决了吗?

hello-llc avatar Nov 25 '20 07:11 hello-llc

It's not a problem. Each connection(between nginx and conf server) will set timeout for the long pulling. If it's no changes or updates about the value(proxy servers list) during the time, the connection will cut off and try to get a new connection. The message is just a hint which tell you there is no changes.

xiaokai-wang avatar Nov 26 '20 09:11 xiaokai-wang

Maybe we should change the log level so those messages won't be logged as [error]

gfrankliu avatar Nov 26 '20 21:11 gfrankliu

根据观察错误日志出现的时间是upsync_timeout+upsync_interval,是pulling到期后模块发起的FIN包。但是为什么把它当成错误日志呢....容易引起误解,以为配置不当或者网络有波动啥的

unixchina avatar Apr 25 '22 09:04 unixchina