alibaba-rsocket-broker
alibaba-rsocket-broker copied to clipboard
make connect from client (angular) to broker
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
- enable authentication require from broker
- 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.
@baudiachatb I will take a look at RSocke-JS client side implementation, and give you feedback. What's your rsocket-js version?
@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