B4J Question Websocket connection

Philip Prins

Active Member
Licensed User
Longtime User
Hello,

Recently i get some errors when connecting my B4A websocket client to the B4J server;
B4X:
java.lang.NullPointerException
    at org.eclipse.jetty.websocket.common.WebSocketSession.toString(WebSocketSession.java:597)
    at org.slf4j.helpers.MessageFormatter.safeObjectAppend(MessageFormatter.java:304)
    at org.slf4j.helpers.MessageFormatter.deeplyAppendParameter(MessageFormatter.java:276)
    at org.slf4j.helpers.MessageFormatter.arrayFormat(MessageFormatter.java:230)
    at org.eclipse.jetty.util.log.JettyAwareLogger.log(JettyAwareLogger.java:619)
    at org.eclipse.jetty.util.log.JettyAwareLogger.debug(JettyAwareLogger.java:206)
    at org.eclipse.jetty.util.log.Slf4jLog.debug(Slf4jLog.java:89)
    at org.eclipse.jetty.util.component.ContainerLifeCycle.addBean(ContainerLifeCycle.java:323)
    at org.eclipse.jetty.util.component.ContainerLifeCycle.addBean(ContainerLifeCycle.java:230)
    at org.eclipse.jetty.websocket.common.WebSocketSession.<init>(WebSocketSession.java:99)
    at org.eclipse.jetty.websocket.common.WebSocketSessionFactory.createSession(WebSocketSessionFactory.java:65)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.createSession(WebSocketServerFactory.java:247)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.upgrade(WebSocketServerFactory.java:591)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:194)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:156)
    at org.eclipse.jetty.websocket.servlet.WebSocketServlet.service(WebSocketServlet.java:155)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

It does happen often but not every time, any ideas what is the problem?
 

Philip Prins

Active Member
Licensed User
Longtime User
Hello Erel,
I will post the complete error below, the client disconnects and then reconnects that does succeed.

B4X:
SLF4J: Failed toString() invocation on an object of type [org.eclipse.jetty.websocket.common.WebSocketSession]
java.lang.NullPointerException
    at org.eclipse.jetty.websocket.common.WebSocketSession.toString(WebSocketSession.java:597)
    at org.slf4j.helpers.MessageFormatter.safeObjectAppend(MessageFormatter.java:304)
    at org.slf4j.helpers.MessageFormatter.deeplyAppendParameter(MessageFormatter.java:276)
    at org.slf4j.helpers.MessageFormatter.arrayFormat(MessageFormatter.java:230)
    at org.eclipse.jetty.util.log.JettyAwareLogger.log(JettyAwareLogger.java:619)
    at org.eclipse.jetty.util.log.JettyAwareLogger.debug(JettyAwareLogger.java:206)
    at org.eclipse.jetty.util.log.Slf4jLog.debug(Slf4jLog.java:89)
    at org.eclipse.jetty.util.component.ContainerLifeCycle.addBean(ContainerLifeCycle.java:323)
    at org.eclipse.jetty.util.component.ContainerLifeCycle.addBean(ContainerLifeCycle.java:230)
    at org.eclipse.jetty.websocket.common.WebSocketSession.<init>(WebSocketSession.java:99)
    at org.eclipse.jetty.websocket.common.WebSocketSessionFactory.createSession(WebSocketSessionFactory.java:65)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.createSession(WebSocketServerFactory.java:247)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.upgrade(WebSocketServerFactory.java:591)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:194)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:156)
    at org.eclipse.jetty.websocket.servlet.WebSocketServlet.service(WebSocketServlet.java:155)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
    at org.eclipse.jetty.server.Server.handle(Server.java:517)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    at java.lang.Thread.run(Thread.java:745)
SLF4J: Failed toString() invocation on an object of type [org.eclipse.jetty.websocket.common.WebSocketSession]
java.lang.NullPointerException
    at org.eclipse.jetty.websocket.common.WebSocketSession.toString(WebSocketSession.java:597)
    at org.slf4j.helpers.MessageFormatter.safeObjectAppend(MessageFormatter.java:304)
    at org.slf4j.helpers.MessageFormatter.deeplyAppendParameter(MessageFormatter.java:276)
    at org.slf4j.helpers.MessageFormatter.arrayFormat(MessageFormatter.java:230)
    at org.eclipse.jetty.util.log.JettyAwareLogger.log(JettyAwareLogger.java:619)
    at org.eclipse.jetty.util.log.JettyAwareLogger.debug(JettyAwareLogger.java:206)
    at org.eclipse.jetty.util.log.Slf4jLog.debug(Slf4jLog.java:89)
    at org.eclipse.jetty.util.component.ContainerLifeCycle.addBean(ContainerLifeCycle.java:323)
    at org.eclipse.jetty.util.component.ContainerLifeCycle.addBean(ContainerLifeCycle.java:227)
    at org.eclipse.jetty.websocket.common.WebSocketSession.<init>(WebSocketSession.java:100)
    at org.eclipse.jetty.websocket.common.WebSocketSessionFactory.createSession(WebSocketSessionFactory.java:65)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.createSession(WebSocketServerFactory.java:247)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.upgrade(WebSocketServerFactory.java:591)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:194)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:156)
    at org.eclipse.jetty.websocket.servlet.WebSocketServlet.service(WebSocketServlet.java:155)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
    at org.eclipse.jetty.server.Server.handle(Server.java:517)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    at java.lang.Thread.run(Thread.java:745)
New Connection ;viyvxbrxf4qql12ffv9zw47f
New connection viyvxbrxf4qql12ffv9zw47f
Nr of clients 2
Nr of clients2 2
Pong 355489061497588
Nr of Clients 2
Nr of Pongs 2
SLF4J: Failed toString() invocation on an object of type [org.eclipse.jetty.websocket.common.WebSocketSession]
java.lang.NullPointerException
    at org.eclipse.jetty.websocket.common.WebSocketSession.toString(WebSocketSession.java:597)
    at org.slf4j.helpers.MessageFormatter.safeObjectAppend(MessageFormatter.java:304)
    at org.slf4j.helpers.MessageFormatter.deeplyAppendParameter(MessageFormatter.java:276)
    at org.slf4j.helpers.MessageFormatter.arrayFormat(MessageFormatter.java:230)
    at org.eclipse.jetty.util.log.JettyAwareLogger.log(JettyAwareLogger.java:619)
    at org.eclipse.jetty.util.log.JettyAwareLogger.debug(JettyAwareLogger.java:206)
    at org.eclipse.jetty.util.log.Slf4jLog.debug(Slf4jLog.java:89)
    at org.eclipse.jetty.util.component.ContainerLifeCycle.addBean(ContainerLifeCycle.java:323)
    at org.eclipse.jetty.util.component.ContainerLifeCycle.addBean(ContainerLifeCycle.java:230)
    at org.eclipse.jetty.websocket.common.WebSocketSession.<init>(WebSocketSession.java:99)
    at org.eclipse.jetty.websocket.common.WebSocketSessionFactory.createSession(WebSocketSessionFactory.java:65)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.createSession(WebSocketServerFactory.java:247)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.upgrade(WebSocketServerFactory.java:591)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:194)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:156)
    at org.eclipse.jetty.websocket.servlet.WebSocketServlet.service(WebSocketServlet.java:155)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
    at org.eclipse.jetty.server.Server.handle(Server.java:517)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    at java.lang.Thread.run(Thread.java:745)
SLF4J: Failed toString() invocation on an object of type [org.eclipse.jetty.websocket.common.WebSocketSession]
java.lang.NullPointerException
    at org.eclipse.jetty.websocket.common.WebSocketSession.toString(WebSocketSession.java:597)
    at org.slf4j.helpers.MessageFormatter.safeObjectAppend(MessageFormatter.java:304)
    at org.slf4j.helpers.MessageFormatter.deeplyAppendParameter(MessageFormatter.java:276)
    at org.slf4j.helpers.MessageFormatter.arrayFormat(MessageFormatter.java:230)
    at org.eclipse.jetty.util.log.JettyAwareLogger.log(JettyAwareLogger.java:619)
    at org.eclipse.jetty.util.log.JettyAwareLogger.debug(JettyAwareLogger.java:206)
    at org.eclipse.jetty.util.log.Slf4jLog.debug(Slf4jLog.java:89)
    at org.eclipse.jetty.util.component.ContainerLifeCycle.addBean(ContainerLifeCycle.java:323)
    at org.eclipse.jetty.util.component.ContainerLifeCycle.addBean(ContainerLifeCycle.java:227)
    at org.eclipse.jetty.websocket.common.WebSocketSession.<init>(WebSocketSession.java:100)
    at org.eclipse.jetty.websocket.common.WebSocketSessionFactory.createSession(WebSocketSessionFactory.java:65)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.createSession(WebSocketServerFactory.java:247)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.upgrade(WebSocketServerFactory.java:591)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:194)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:156)
    at org.eclipse.jetty.websocket.servlet.WebSocketServlet.service(WebSocketServlet.java:155)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
    at org.eclipse.jetty.server.Server.handle(Server.java:517)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    at java.lang.Thread.run(Thread.java:745)
New Connection ;9unqo31zx74ds928prztiyox
New connection 9unqo31zx74ds928prztiyox
Nr of clients 3
Nr of clients2 3
Pong 865520020758620
Nr of Clients 3
Nr of Pongs 3
 
Upvote 0

Philip Prins

Active Member
Licensed User
Longtime User
Hello Erel,

I have B4J 4.5 with Jserver 2.60 , will upgrade to check if the problem persists.
Regards and happy holidays ,
Philip
 
Upvote 0

Philip Prins

Active Member
Licensed User
Longtime User
Hello Erel,

I did not use the Broker library but it was checked because i tried it before.I now removed/ unchecked the broker library and the problem with Log4J is gone.
I do get an another error message;Unknown opcode: 7
B4X:
2016-12-27 12:58:51.758:INFO::main: Logging initialized @428ms
61042
2016-12-27 12:58:53.303:INFO:oejs.Server:main: jetty-9.3.z-SNAPSHOT

2016-12-27 12:58:53.672:INFO:oejs.Server:main: Started @2344ms
MQTT connected
New Connection ;vyihgpxf2j701w7gqaqwfnxaa
New connection vyihgpxf2j701w7gqaqwfnxaa
Nr of clients 1
Nr of clients2 1
Pong 354187079181753
Nr of Clients 1
Nr of Pongs 1
New Connection ;ytrjt576tvk8lem7982nnaj1
New connection ytrjt576tvk8lem7982nnaj1
Nr of clients 2
Nr of clients2 2
2016-12-27 12:58:55.181:WARN:oejwc.Parser:qtp1025491-13:
org.eclipse.jetty.websocket.api.ProtocolException: Unknown opcode: 7
    at org.eclipse.jetty.websocket.common.Parser.parseFrame(Parser.java:325)
    at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:252)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:663)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:493)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    at java.lang.Thread.run(Thread.java:745)
org.eclipse.jetty.websocket.api.ProtocolException: Unknown opcode: 7
    at org.eclipse.jetty.websocket.common.Parser.parseFrame(Parser.java:325)
    at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:252)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:663)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:493)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    at java.lang.Thread.run(Thread.java:745)
disconnected vyihgpxf2j701w7gqaqwfnxaa
WebclientsDisconnect; vyihgpxf2j701w7gqaqwfnxaa
Pong 359469079340257
Nr of Clients 1
Nr of Pongs 1
2016-12-27 12:58:56.002:WARN:oejwc.Parser:qtp1025491-9:
org.eclipse.jetty.websocket.api.ProtocolException: Unknown opcode: 7
    at org.eclipse.jetty.websocket.common.Parser.parseFrame(Parser.java:325)
    at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:252)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:663)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:493)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    at java.lang.Thread.run(Thread.java:745)
org.eclipse.jetty.websocket.api.ProtocolException: Unknown opcode: 7
    at org.eclipse.jetty.websocket.common.Parser.parseFrame(Parser.java:325)
    at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:252)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:663)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:493)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    at java.lang.Thread.run(Thread.java:745)
disconnected ytrjt576tvk8lem7982nnaj1
WebclientsDisconnect; ytrjt576tvk8lem7982nnaj1
New Connection ;127nicffwlmtz16mkfk2e6rag9
New connection 127nicffwlmtz16mkfk2e6rag9
Nr of clients 1
Nr of clients2 1
Pong 359469079340257
Nr of Clients 1
Nr of Pongs 1
New Connection ;1ug1jf9qc41pf1ghnwxteu5a46
New connection 1ug1jf9qc41pf1ghnwxteu5a46
Nr of clients 2
Nr of clients2 2
Pong 354187079181753
Nr of Clients 2
Nr of Pongs 2
2016-12-27 12:59:00.564:WARN:oejwc.Parser:qtp1025491-10:
org.eclipse.jetty.websocket.api.ProtocolException: Unknown opcode: 7
    at org.eclipse.jetty.websocket.common.Parser.parseFrame(Parser.java:325)
    at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:252)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:663)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:493)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    at java.lang.Thread.run(Thread.java:745)
org.eclipse.jetty.websocket.api.ProtocolException: Unknown opcode: 7
    at org.eclipse.jetty.websocket.common.Parser.parseFrame(Parser.java:325)
    at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:252)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:663)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:493)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    at java.lang.Thread.run(Thread.java:745)
disconnected 127nicffwlmtz16mkfk2e6rag9
WebclientsDisconnect; 127nicffwlmtz16mkfk2e6rag9
New Connection ;19e1z3xigylsd1m3q2oof3lybr
New connection 19e1z3xigylsd1m3q2oof3lybr
Nr of clients 2
Nr of clients2 2
Pong 359469079340257
Nr of Clients 2
Nr of Pongs 2
2016-12-27 12:59:01.301:WARN:oejwc.Parser:qtp1025491-11:
org.eclipse.jetty.websocket.api.ProtocolException: Unknown opcode: 7
    at org.eclipse.jetty.websocket.common.Parser.parseFrame(Parser.java:325)
    at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:252)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:663)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:493)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    at java.lang.Thread.run(Thread.java:745)
org.eclipse.jetty.websocket.api.ProtocolException: Unknown opcode: 7
    at org.eclipse.jetty.websocket.common.Parser.parseFrame(Parser.java:325)
    at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:252)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:663)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:493)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    at java.lang.Thread.run(Thread.java:745)
disconnected 1ug1jf9qc41pf1ghnwxteu5a46
WebclientsDisconnect; 1ug1jf9qc41pf1ghnwxteu5a46
New Connection ;1jleulaexyl6amqy2meowy1e8
New connection 1jleulaexyl6amqy2meowy1e8
Nr of clients 2
Nr of clients2 2
Pong 354187079181753
Nr of Clients 2
Nr of Pongs 2
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…