【发布时间】:2018-05-02 02:51:33
【问题描述】:
我们有一个非常简单的 WebSocket node.js 实现,它运行良好
- 我们的本地机器。
- AWS 云
但不工作
- 阿里巴巴云
所有 http/https 请求都在命中,但 websocket 请求没有。
试图找到这个的 RCA:
- Google Chromium browser specific support issue
- Issue with Google App Engine
- Some deleted * thread
- All ports are open in our case 和 we're not using Socket.io also
- Code is not the problem for us
- 不知道Alibaba blocks 8000/tcp ports
- We're too not sure why it's not working with Websockets
- CORS is enabled with the node server app already
不太确定Alibaba cloud supports WebSockets是否也是。
还有什么好的建议吗?
【问题讨论】:
-
您使用的是哪个服务,Elastic Computing Service,您能详细描述一下“不工作”,有什么错误信息吗?
-
@JeffreyChen 它甚至没有击中实例。所有的 http 请求都在命中,但 websocket 请求没有命中
-
您是否检查了安全组以允许 TCP 80 端口?
标签: node.js amazon-web-services websocket cloud alibaba-cloud