kt-connect icon indicating copy to clipboard operation
kt-connect copied to clipboard

exchange命令下经常会出现broke pip

Open sunnyramsey opened this issue 2 years ago • 6 comments

WRN Error while copy local->remote error="readfrom tcp 127.0.0.1:52524->127.0.0.1:8202: write tcp 127.0.0.1:52524->127.0.0.1:8202: write: broken pipe"

sunnyramsey avatar Jul 13 '22 12:07 sunnyramsey

空闲一段时间后尤其容易出现这种情况,telent本地端口又是正常的

sunnyramsey avatar Jul 16 '22 15:07 sunnyramsey

这种情况正常应该会触发自动重连,如果不是持续发生的话,可能只是网络抖动原因

linfan avatar Jul 29 '22 09:07 linfan

这种情况正常应该会触发自动重连,如果不是持续发生的话,可能只是网络抖动原因

基本上只要空闲一段时间就会出现,kt-connect使用的ssh proxy似乎没有ServerAliveInterval的类似配置,有没有可能是这个问题呢?

sunnyramsey avatar Jul 29 '22 16:07 sunnyramsey

这种情况正常应该会触发自动重连,如果不是持续发生的话,可能只是网络抖动原因

基本上只要空闲一段时间就会出现,kt-connect使用的ssh proxy似乎没有ServerAliveInterval的类似配置,有没有可能是这个问题呢?

补充一下现场描述,一段时间空闲以后,每发送一个请求都会触发一次broken pipe,一定次数后就恢复正常。看起来的表象就像是长链接keep alive有些问题,但是双端都感知不到这个连接异常了,直到下次发送数据,然后断开重连。这里的一定次数看起来就像是ssh client和ssh server之间建立的长链接的数量?

sunnyramsey avatar Jul 30 '22 03:07 sunnyramsey

3:24PM WRN Error while copy local->remote error="readfrom tcp 127.0.0.1:55268->127.0.0.1:8100: write tcp 127.0.0.1:55268->127.0.0.1:8100: wsasend: An established connection was aborted by the software in your host machine." 3:24PM WRN Error while copy local->remote error="readfrom tcp 127.0.0.1:55266->127.0.0.1:8100: write tcp 127.0.0.1:55266->127.0.0.1:8100: wsasend: An established connection was aborted by the software in your host machine." 3:30PM WRN Error while copy local->remote error="readfrom tcp 127.0.0.1:56240->127.0.0.1:8100: write tcp 127.0.0.1:56240->127.0.0.1:8100: wsasend: An established connection was aborted by the software in your host machine." 是不是一样的问题

wzjaa avatar Jun 10 '23 07:06 wzjaa

一样的问题,应该是调试过程中本地服务主动断开,就会发生

Brant-lzh avatar Mar 11 '24 03:03 Brant-lzh