当我使用此命令从本地连接 websocket 时:
curl -i -N \
-H "Connection: Upgrade" \
-H "Upgrade: websocket" \
-H "Sec-WebSocket-Key: SGVsbG8sIHdvcmxkIQ==" \
-H "Sec-WebSocket-Version: 13" \
http://localhost:6100/admin-api/websocket?access_token=1
响应显示错误mark bundle as not supporting multiuse http/1.1 404 not found
。我确信 websocket 端点存在并且对于互联网用户来说工作正常。