[GitHub] [apisix] loongzh commented on issue #5440: request help: the connection established by the Websocket proxy client will be automatically disconnected by the server in about 5 seconds

2021-11-18 Thread GitBox


loongzh commented on issue #5440:
URL: https://github.com/apache/apisix/issues/5440#issuecomment-973803128


   The problem has been solved by the new method of heartbeat, but it is not an 
ideal way. Directly using the Nginx proxy will not cause the service to 
actively disconnect the client connection.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [apisix] loongzh commented on issue #5440: request help: the connection established by the Websocket proxy client will be automatically disconnected by the server in about 5 seconds

2021-11-09 Thread GitBox


loongzh commented on issue #5440:
URL: https://github.com/apache/apisix/issues/5440#issuecomment-964271053


   > @loongzh Could you try to configure the backend or the client, so that 
Ping frame can be sent periodically.
   
   The front-end monitors the disconnection event to reconnect, and sends a 
message to the server to ensure the normal use of WebSocket


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [apisix] loongzh commented on issue #5440: request help: the connection established by the Websocket proxy client will be automatically disconnected by the server in about 5 seconds

2021-11-09 Thread GitBox


loongzh commented on issue #5440:
URL: https://github.com/apache/apisix/issues/5440#issuecomment-964003056


   > What happens if don't set the `timeout`?
   
   It will disconnect after 1 minute


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [apisix] loongzh commented on issue #5440: request help: the connection established by the Websocket proxy client will be automatically disconnected by the server in about 5 seconds

2021-11-08 Thread GitBox


loongzh commented on issue #5440:
URL: https://github.com/apache/apisix/issues/5440#issuecomment-963756799


   > > * "timeout": {
   > >   "connect": 6,
   > >   "read": 6,
   > >   "send": 6
   > >   },
   > 
   > if change 6 to 10, what will happen?
   
 "timeout": {
   "connect": 16,
   "read": 16,
   "send": 16
 }
   Will be disconnected after 16s


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [apisix] loongzh commented on issue #5440: request help: the connection established by the Websocket proxy client will be automatically disconnected by the server in about 5 seconds

2021-11-08 Thread GitBox


loongzh commented on issue #5440:
URL: https://github.com/apache/apisix/issues/5440#issuecomment-963000120


   > @loongzh Could you check out the behavior of the backend server when the 
connection was aborted? We need to make sure whether the "disconnect" is made 
by the backend server or Apache APISIX.
   
   Local and service without using APISIX proxy, after many tests, there will 
be no disconnection
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [apisix] loongzh commented on issue #5440: request help: the connection established by the Websocket proxy client will be automatically disconnected by the server in about 5 seconds

2021-11-08 Thread GitBox


loongzh commented on issue #5440:
URL: https://github.com/apache/apisix/issues/5440#issuecomment-962984541


   > 嗨,@loongzh @tzssangglass 的意思是提供APISIX的具体配置信息和验证方法,以便我们复现这个问题。
   
   {
 "uris": [
   "/api/filemanager/v1/*"
 ],
 "name": "lion-metro-server-file-manager-router",
 "upstream_id": "374894233917588162",
 "enable_websocket": true,
 "status": 1
   }
   
   > hi, @loongzh @tzssangglass means to provide specific configuration 
information and verification methods of APISIX so that we can reproduce this 
problem.
   
   {
 "uris": [
   "/api/filemanager/v1/*"
 ],
 "name": "lion-metro-server-file-manager-router",
 "upstream_id": "374894233917588162",
 "enable_websocket": true,
 "status": 1
   }


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [apisix] loongzh commented on issue #5440: request help: the connection established by the Websocket proxy client will be automatically disconnected by the server in about 5 seconds

2021-11-07 Thread GitBox


loongzh commented on issue #5440:
URL: https://github.com/apache/apisix/issues/5440#issuecomment-962765793


   apisix 版本 (cmd:) apisix version:2.6
   操作系统(命令:)uname -a:Linux 58b4c36fe0ae 3.10.0-1160.11.1.el7.x86_64 #1 SMP Fri 
Dec 18 16:34:56 UTC 2020 x86_64 Linux. Docker容器环境
   
   OpenResty / Nginx 版本(cmd:nginx -V或openresty -V):nginx version: 
openresty/1.19.3.1
   
   etcd 版本,如果有(cmd:运行curl http://127.0.0.1:9090/v1/server_info以从服务器信息 API 获取信息):
   apisix-dashboard 版本,如果有:
   插件运行器版本,如果问题与插件运行器有关(cmd:取决于运行器的类型):
   luarocks 版本,如果问题是关于安装 (cmd:) luarocks 
--version:/usr/local/openresty/luajit/bin/luarocks 3.7.0
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org