eclipse-ee4j / eclipse-ee4j/tyrus

Tyrusclient handles same 401 not authorize response twice

Open
#608 6 comments 0 reactions 0 assignees View on GitHub
Component: client Priority: Major Type: Bug
Dominant language
Java
Stars
128
Forks
49
PR merge metrics
No merged PRs in 30d

Description

Looks like Tyrus client handles same 401 not authorize response twice.

Socket acquisition is protected with OAuth2 on server side.

Firs time client tries to obtain web socket server returns "401 not Authorized".
Client sends another request with token.
Server returns "101 protocol change" but sometimes client handles the same 401 response that was sent previously and closes connection

See logs from client and Wirwshark capture in attach
#### Affected Versions
[1.13]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.