Closed Chris1234567899 closed 3 years ago
Ok I realized, it must have been because of returning a different key for the url from the negotiation than expected.
The package expects "url", I had "hubUrl" (from a different tutorial). Now it appears to work.
please tell me soluation
@Chris1234567899
@nadeendames96 Signalr clients are supposed to send first a post request against a backend in order to authenticate. Your backend has to send back an url and an accessToken that the client uses co connect to the Signalr server.
I found this tutorial quite helpful for understanding the logic: https://anthonychu.ca/post/java-spring-boot-azure-signalr-service/
In my case my response from my backend was malformed (I had hubUrl instead of url).
I'm afraid I still receive this error. See https://github.com/jamiewest/signalr_core/issues/16
I have:
I can call negotiate successfully but during handshake it breaks:
Using it with signalR on azure. I can change the transporttype, but it does result in the same error.