Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants