Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make connect from client (angular) to broker #195

Open
baudiachatb opened this issue Jun 22, 2022 · 2 comments
Open

make connect from client (angular) to broker #195

baudiachatb opened this issue Jun 22, 2022 · 2 comments
Assignees

Comments

@baudiachatb
Copy link

Describe the bug
I'm having a problem making a connection from rsocket-js to the broker via websocket.
When creating connection from client to broker with access token error. The authenticationService is still working properly, the returnRejectedRsocket function is still being called. However, the client side still reports successful connection before the 'returnRejectedRsocket' result is returned from the broker.
The client will receive an error message when making a subsequent request.

Environment

  • Alibaba RSocket Broker version: 1.1.3
  • Operating System version: Windows 10
  • Java version: 11

Steps to reproduce this issue

  1. enable authentication require from broker
  2. make a connection from web using rsocket-js. add token error to metadata

Pls. provide GitHub address to reproduce this issue.

Expected Result

I expect to receive an error result

Actual Result

Client receive connect succeed from broker.
The client will receive an error message when making a subsequent request.

@linux-china linux-china self-assigned this Jun 23, 2022
@linux-china
Copy link
Collaborator

linux-china commented Jun 25, 2022

@baudiachatb I will take a look at RSocke-JS client side implementation, and give you feedback. What's your rsocket-js version?

@baudiachatb
Copy link
Author

baudiachatb commented Jun 26, 2022

@linux-china l'm using rsocket-js version 0.0.27.

Other.

it seems tls has the same problem with rsocket-js. i cant make connection with wss while tcps no problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants