[TYRUS-263] SSL via HTTP PROXY - wss://echo.websocket.org Handshake error. "Response code was not 101: 200" Created: 30/Oct/13  Updated: 22/Nov/13  Resolved: 01/Nov/13

Status: Resolved
Project: tyrus
Component/s: client
Affects Version/s: 1.3
Fix Version/s: 1.3.1, 1.4

Type: Bug Priority: Major
Reporter: cthiebaud2 Assignee: Pavel Bucek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

windows 7 SP2


cf. https://github.com/tyrus-project/tyrus/issues/42

building tyrus 1.3-SNAPSHOT from commit 2e0ef56

and trying the simple client described in the doc here https://tyrus.java.net/documentation/1.2.1/user-guide.html#d0e78

against wss://echo.websocket.org

I get a

javax.websocket.DeploymentException: Handshake error.
Caused by: org.glassfish.tyrus.core.HandshakeException: Response code was not 101: 200

my test code can be found here : https://github.com/cthiebaud/shakuntala/blob/master/src/test/java/net/aequologica/shakuntala/DocClient.java

this used to work with previous version :

The same DocClient.java code works fine against tyrus-1.3-SNAPSHOT build from commit

Comment by Pavel Bucek [ 31/Oct/13 ]

damn, I misunderstood original post, thought that working commit is newer one..

anyway, I already have a fix, should be in current trunk (1.4-SNAPSHOT) momentarily.

Comment by cthiebaud2 [ 01/Nov/13 ]

I confirm commit https://github.com/tyrus-project/tyrus/commit/3652c5a01844c64e2145152956a38c9c4a03f709 fixed the issue.

Comment by Pavel Bucek [ 01/Nov/13 ]


Generated at Fri Dec 09 23:04:48 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.