Skip to content

Support error codes 1012 (Service Restart), 1013 (Try Again Later) and 1014 (Bad Gateway) #639

@ebourg

Description

@ebourg

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions