Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

315
Views
Javascript client fails to connect to SignalR end point

Dear Programming Gurus,

I am working of signalr project using .NET CORE on the backend and ReactJS on the front end. It works on my local machine, but when i tried them on development server somehow the font end site giving me an issue. If you look at the first picture, we can see the signalr end point response perfectly via https on the web browser.

enter image description here

But when the front end script try to connect it gives connection error as shown below. It seems the client script instead of use https , it uses wss.

enter image description here

The client code is simple.

enter image description here

I just wondering what else need to be checked to ensure the client wss can find the endpoint and start working.

Any help will be appreciated.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

At last, i found the answer by my self. My gut feeling leads to the setup on windows server setup to enable the web socket protocol.

This is what i did to solve the issues:

(1) On my server , windows start, i typed Server Manager

enter image description here

(2) Then i select (2) Add Roles and features.

enter image description here

(3) A pop up window will appear, click next

enter image description here

(4) Click Next

enter image description here

(5) On "Select server roles", expand Web Server (IIS). Expand the next Web Server check box again, then expand Application Development. Now, make sure you check the check box for WebSocket Protocol. Then click next.

enter image description here

(6) Click Next and then click Install.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!