area515 / Photonic3D

Control software for resin 3D printers
http://photonic3d.com
GNU General Public License v3.0
133 stars 112 forks source link

Build fails with Blocking message pending 10000 #268

Closed WesGilster closed 7 years ago

WesGilster commented 7 years ago

I had believed I fixed this, but it's happened twice now and it's starting to annoy me.

   java.lang.IllegalStateException: Blocking message pending 10000 for BLOCKING
        at org.eclipse.jetty.websocket.common.WebSocketRemoteEndpoint.lockMsg(WebSocketRemoteEndpoint.java:130)
        at org.eclipse.jetty.websocket.common.WebSocketRemoteEndpoint.sendBytes(WebSocketRemoteEndpoint.java:244)
        at org.area515.resinprinter.security.keystore.IncomingHttpTunnel.sendMessage(IncomingHttpTunnel.java:146)
        at org.area515.resinprinter.security.keystore.RendezvousClient.sendRequestToRemote(RendezvousClient.java:214)
        at org.area515.resinprinter.security.keystore.RendezvousExchange.messageExchange(RendezvousExchange.java:136)
WesGilster commented 7 years ago

I'm going to close this since I fixed this problem with a hammer. I wanted to optimize this a bit because technically key exchanges "shouldn't" happen at the same time as other messaging, but I haven't had enough time to determine why it was happening in the test. So I just sync'd the remote endpoint.