waringid opened a new issue #2266:
URL: https://github.com/apache/apisix-dashboard/issues/2266


   ### Issue description
   
   需求:访问 nas.test.lan 自动跳转到 192.168.113.11 页面(登录页面)
   kong+konga 环境配置显示正常。konga 界面中没有针对 WebSocket 的设置选项,按普通方式配置后可以通过域名正常访问
   问题:通过 Dashboard 新建 路由并启用 WebSocket 功能,代理后的页面无法正常登录(能显示,会自动重复刷新页面)
   
   ### Expected behavior
   
   1、nas.test.lan 和 192.168.113.11 打开的页面一致
   2、上游服务器的超时设置中增加验证机制,如果URL返回是200则默认不自动刷新
   
   ### How to Reproduce
   
   1、新建路由,启用“WebSocket”,主机名:nas.test.lan (不启用 WebSocket 页面无法显示)
   2、上游服务器 192.168.113.11,端口 80 
   3、其它策略默认
   访问日志会一直报 websocket 101 的转发体系,页面也无法正常访问
   
   ### Screenshots
   
   ![Y 
G0FYIWQJ15XNN)91A5PAO](https://user-images.githubusercontent.com/5705865/147458950-31606dfe-a128-48db-9364-97fd0aa0acf3.png)
   
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):2.11
   - OS (cmd: `uname -a`): CentOS 7 3.10.0
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`): 1.19.3.2
   - etcd version, if have (cmd: run `etcd --version`):3.5.1
   - apisix-dashboard version, if have:2.10
   - Browser version, if have: chrome 96.0.4664.110 (64bit)
   
   
   ### Additional context
   
   _No response_


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to