Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

317
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda