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

375
Visualizações
Failed to load resource net::ERR_CONNECTION_TIMED_OUT. ERROR in my Server or Code

I have application on ASP.NET CORE 5.0. The application is served over admin.vizz.az. I get the error Failed to load resource: net::ERR_CONNECTION_TIMED_OUT. This is not a browser issue. An error associated with a code or server. 2 Javascript files cannot be read by html.

Debug time works great. The problem occurs when I publish via IIS

My HTML head

<html>
    <head>
            <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
            <style>
                #map {
                    height: 100%;`enter code here`
                    /* The height is 400 pixels */
                    width: 100%;
                    /* The width is the width of the web page */
                }
            </style>
            <script src="~/js/API.js"></script>
            <script src="~/js/ChangeLoc.js"></script>
        </head>
    </html>

MY javascript addresses

APİ.js

ChangeLoc.js

My Error

enter image description here

PROBLEM

I don't know how to solve it. Your help will be appreciated Thanks

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

I used additional tag in HTML plugin. This forces the protocol of all forwarded links to https.

Uninstalling it worked for me

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
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