【发布时间】:2016-12-31 13:48:46
【问题描述】:
我的服务驻留在具有亚马逊 ELB 的服务器中。客户端部分与 服务器由 vertx 事件总线。尝试连接服务器时,弹出以下日志
WebSocket connection to 'wss://login.com:7070/Notify/287/mxyox3qd/websocket' failed: Error during WebSocket handshake: Unexpected response code: 400
我在客户端的代码:
eventBus = new EventBus(url);
eventBus.onopen = function() {
// ---------- Do Something ---------------------------------
});
}
ELB 监听器是否与此有关?有人可以帮忙吗?
【问题讨论】:
标签: javascript amazon-web-services websocket amazon-elb vert.x