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

111
Views
Javascript cannot be loaded in time

I'm running a flask web app and i getting an error like this: get (some js source) net::err_invalid_http_response

But the problem is when I trying to get the page the scripts that not working are different, sometimes all the scripts are working.

When I putting the scripts on the head of html it's loading better but still not all the scripts are working, but when I slowing down the internet to 3G in devtools all the scripts are running

I don't know what to do with it and I couldn't find nothing about it.

Im am using the standard script markup in html: <script src="some/js"></script>

Thanks in advance!

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

0

I added the type attribute to the script tag and all start working so the code looks like that: <script type="text/javascript src="js/source"></script>

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!