When vue uses agents to solve cross-domain problems, it will automatically close reporting 1006 when using websocket.

my browser has opened a proxy to access the virtual machine service at this level, and websocket will appear 1006. Although I am not sure whether it is a proxy problem, I have eliminated a lot of problems except proxy

.
Mar.23,2021

configure proxy_read_timeout in nginx ; the proxy_read_timeout of the
agent parameter defaults to 60s. Can be changed to 200s

Menu