Andre Lopes
1 min readJun 26, 2020

--

Thanks, Jonathan! :)

I think CORS and HTTPS were the main issues with this one.

I found that SignalR client doesn't accept that the request gets redirected, so if you are trying to hit HTTP and have HttpsRedirect middleware set, your SignalR client doesn't connect to your server.

CORS is funny because it also doesn't accept '*' for origins because it passes credentials through the connection.

And it took some research to proper find how to use IHubContext so I don't need to use the SignalR endpoint to send a request to the server.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Written by Andre Lopes

Full-stack developer @ Tesla | Public Speaker | AWS | Terraform | Serverless | Gamer | Eternal Geek 🤓

No responses yet

Write a response