Websockets in Jelastic: DeploymentException: The HTTP response from the server did not permit the HTTP upgrade to WebSocket
问题 I'm trying to play with websockets, so I created WS server like that: @ServerEndpoint(value = "/chat") public class WsChatServlet{ private static final Logger LOGGER = Logger.getLogger(WsChatServlet.class.getName()); @OnOpen public void onOpen(Session session) { LOGGER.log(Level.INFO, "New connection with client: {0}", session.getId()); } @OnMessage public String onMessage(String message, Session session) { LOGGER.log(Level.INFO, "New message from Client [{0}]: {1}", new Object[] {session