这是通过域名访问时遇到的问题:
【注:使用 ip+ 端口,正常使用,没有报这个提示。】
以下是 docker 和 nginx 配置(应该是没问题的)。
查看 docker 日志里,一直在不断的输出日志,提示找不到 token
E 2023/11/16 19:24:44 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:24:46 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:24:49 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:24:51 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:24:52 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:24:56 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:24:58 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:24:59 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:25:02 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:25:07 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:25:08 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:25:09 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:25:13 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:25:16 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:25:17 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:25:18 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:25:21 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:25:31 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:25:31 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:25:31 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:25:37 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:25:37 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:25:40 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
E 2023/11/16 19:25:43 serve.go:415: handle command failed: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于