Closed ktkk closed 9 months ago
I've figured out what went wrong.
While in the process of designing my API, I had created a controller I had planned to use to request chat history etc.
I called it ChatController
and decorated it with the [Route("[controller]")]
attribute, and then promptly forgot about it and started working on the SignalR part.
That controller, of course, conflicts with the hub endpoint I've been trying to connect to this whole time.
🤦
When trying to connect to my SignalR server (running locally) using a flutter app running on Windows, I'm getting various errors. Almost all of these errors appear in other issues on this repo, but none of the solutions proposed in these issues seem to help.
The messages in question: (access token replaced by
<my-token-omitted>
)My hub connection setup:
Any help would be greatly appreciated. I've been struggling with this for days 😅.