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

361
Views
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 answers
Answer question

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 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!