Hi,
Using Java-WebSocket 1.3.7 as a client I encountered an InvalidDataException "Trying to send an illegal close code!" when the server sends an 1013 error code (Try Again Later). Looking at the CloseFrame.java
class it seems the error codes 1012, 1013 and 1014 are not supported yet and trigger an exception on the client side.
Hi,
Using Java-WebSocket 1.3.7 as a client I encountered an InvalidDataException "Trying to send an illegal close code!" when the server sends an 1013 error code (Try Again Later). Looking at the CloseFrame.java
class it seems the error codes 1012, 1013 and 1014 are not supported yet and trigger an exception on the client side.