Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudbees / jetty issue - Not a 'WebSocket: Upgrade' request #12

Open
uklance opened this issue Jan 2, 2014 · 0 comments
Open

Cloudbees / jetty issue - Not a 'WebSocket: Upgrade' request #12

uklance opened this issue Jan 2, 2014 · 0 comments

Comments

@uklance
Copy link
Owner

uklance commented Jan 2, 2014

See gist here for server log + access log

TODO: Investigate AtmosphereFramework.doCometSupport(AtmosphereFramework.java:1757)

See here also

2014-01-06 09:35:33.056:WARN:oejs.ServletHandler:qtp24933519-16: /atmosphere/
java.lang.IllegalStateException: Not a 'WebSocket: Upgrade' request
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.upgrade(WebSocketServerFactory.java:444)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:185)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:147)
    at org.atmosphere.container.Jetty9AsyncSupportWithWebSocket$1.acceptWebSocket(Jetty9AsyncSupportWithWebSocket.java:145)
    at org.atmosphere.container.Jetty9AsyncSupportWithWebSocket.service(Jetty9AsyncSupportWithWebSocket.java:174)
    at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:1757)
    at org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:201)
    at org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:187)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    at org.lazan.t5.atmosphere.services.internal.HttpServletHttpServletRequestFilter.service(HttpServletHttpServletRequestFilter.java:66)
    at org.lazan.t5.atmosphere.services.internal.AtmosphereHttpServletRequestFilter.service(AtmosphereHttpServletRequestFilter.java:50)
    at $HttpServletRequestHandler_2ac54b9df74ebb.service(Unknown Source)
    at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
    at $HttpServletRequestFilter_2ac54b9df74eb7.service(Unknown Source)
    at $HttpServletRequestHandler_2ac54b9df74ebb.service(Unknown Source)
    at org.apache.tapestry5.services.TapestryModule$1.service(TapestryModule.java:852)
    at $HttpServletRequestHandler_2ac54b9df74ebb.service(Unknown Source)
    at $HttpServletRequestHandler_2ac54b9df74eb6.service(Unknown Source)
    at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:171)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1539)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:524)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1110)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:453)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1044)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:199)
    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    at org.eclipse.jetty.server.Server.handle(Server.java:459)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:280)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:229)
    at org.eclipse.jetty.io.AbstractConnection$1.run(AbstractConnection.java:505)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
    at java.lang.Thread.run(Unknown Source)
193.108.78.10 - - [06/Jan/2014:09:35:33 +0000] "GET /atmosphere/?X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=2.0.9-javascript&X-Atmosphere-Transport=long-polling&X-Cache-Date=0&Content-Type=application/json&X-atmo-protocol=true&_=1389000932966 HTTP/1.1" 500 3818 "http://tapestry-atmosphere.uklance.cloudbees.net/chatdemo/cars" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17"
Invoking executeWebSocket atmosphere.js:2868
Using URL: ws://tapestry-atmosphere.uklance.cloudbees.net/atmosphere/?X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=2.0.9-javascript&X-Atmosphere-Transport=websocket&X-Cache-Date=0&Content-Type=application/json&X-atmo-protocol=true atmosphere.js:2868
Unexpected response code: 500 :1
Websocket failed. Downgrading to Comet and resending atmosphere.js:2868
Failed to load resource: the server responded with a status of 500 (Server Error) http://tapestry-atmosphere.uklance.cloudbees.net/atmosphere/?X-Atmosphere-t…-Date=0&Content-Type=application/json&X-atmo-protocol=true&_=1389000932041
Failed to load resource: the server responded with a status of 500 (Server Error) http://tapestry-atmosphere.uklance.cloudbees.net/atmosphere/?X-Atmosphere-t…-Date=0&Content-Type=application/json&X-atmo-protocol=true&_=1389000932248
Failed to load resource: the server responded with a status of 500 (Server Error) http://tapestry-atmosphere.uklance.cloudbees.net/atmosphere/?X-Atmosphere-t…-Date=0&Content-Type=application/json&X-atmo-protocol=true&_=1389000932526
Failed to load resource: the server responded with a status of 500 (Server Error) http://tapestry-atmosphere.uklance.cloudbees.net/atmosphere/?X-Atmosphere-t…-Date=0&Content-Type=application/json&X-atmo-protocol=true&_=1389000932688
Failed to load resource: the server responded with a status of 500 (Server Error) http://tapestry-atmosphere.uklance.cloudbees.net/atmosphere/?X-Atmosphere-t…-Date=0&Content-Type=application/json&X-atmo-protocol=true&_=1389000932800
Failed to load resource: the server responded with a status of 500 (Server Error) http://tapestry-atmosphere.uklance.cloudbees.net/atmosphere/?X-Atmosphere-t…-Date=0&Content-Type=application/json&X-atmo-protocol=true&_=1389000932966
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant