You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/12/29 03:20:51 UTC
[GitHub] [apisix-dashboard] waringid edited a comment on issue #2266: WebSocket 频繁自动刷新导致页面无法正常
waringid edited a comment on issue #2266:
URL: https://github.com/apache/apisix-dashboard/issues/2266#issuecomment-1002375931
1、Route config:
{
"uri": "/*",
"name": "route-nas-test",
"methods": [
"GET",
"POST",
"PUT",
"DELETE",
"PATCH",
"HEAD",
"OPTIONS",
"CONNECT",
"TRACE"
],
"host": "nas.test.lan",
"plugins": {
"redirect": {
"http_to_https": true
}
},
"upstream": {
"nodes": [
{
"host": "192.168.113.13",
"port": 80,
"weight": 1
}
],
"timeout": {
"connect": 6,
"send": 6,
"read": 6
},
"type": "roundrobin",
"scheme": "http",
"pass_host": "pass",
"keepalive_pool": {
"idle_timeout": 60,
"requests": 1000,
"size": 320
}
},
"status": 1
}
2、disable websocket,error webpage show:

3、enable wobsocket(default config),auto refresh webpage show:



--
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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org