[jboss-jira] [JBoss JIRA] (WFLY-4778) WebSocket connection failed because of Unexpected response code: 501

Mike Mike (JIRA) issues at jboss.org
Wed Jun 17 08:38:03 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080245#comment-13080245 ] 

Mike Mike commented on WFLY-4778:
---------------------------------

I tried the newest version of vaadin 7.4.8 with athmosphere 2.2.4.vaadin5 now. The error in the log file is away, but the server push does also not work anymore:

"Websocket closed, reason: The endpoint is going away, either because of a server failure or because the browser is navigating away from the page that opened the connection." vaadinPush.js:25:141275
"Websocket closed, wasClean: true" vaadinPush.js:25:141275

> WebSocket connection failed because of Unexpected response code: 501
> --------------------------------------------------------------------
>
>                 Key: WFLY-4778
>                 URL: https://issues.jboss.org/browse/WFLY-4778
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web (Undertow)
>            Reporter: Mike Mike
>            Assignee: Stuart Douglas
>
> I am trying to use Wilfly 9 RC with Vaadins Server Push. The Push works but I get always following message in the java script log:
> Vaadin push loaded
> vaadinPush.js:21 WebSocket connection to 'ws://localhost:8080/abc-ui/PUSH/?v-uiId=0&v-csrfToken=9592bfe8-549f-4713-85b4-8ddae0163407&X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=2.0.3.vaadin2-jquery&X-Atmosphere-Transport=websocket&X-Atmosphere-TrackMessageSize=true&X-Cache-Date=0&Content-Type=application/json;%20charset=UTF-8' failed: Error during WebSocket handshake: Unexpected response code: 501
> vaadinPush.js:21 Websocket failed. Downgrading to Comet and resending
> The HTTP 501 (Not Implemented) is really irritating. Which side is implementing and who specifies? 
> I found this topic related here: http://atmosphere-framework.2306103.n4.nabble.com/Websocket-Connection-Fails-On-Wildfly-8-0-0-Beta1-td4656823.html
> Does anybody know here, if it is a bug in WildFly or atmosphere?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list