I am getting Error: net::ERR_CONTENT_LENGTH_MISMATCH
Have a look at your server logs to determine what the real issue is.
For me the problem lay somewhere between nginx and file permissions:
tail -f /usr/local/var/log/nginx/error.log
or runnginx -t
to determine your conf location, where you could specify a custom log path.- refresh the asset in your browser, eg
http://localhost:3000/assets/jquery/jquery.js
You may see something like this in the logs:
“/usr/local/var/run/nginx/proxy_temp/9/04/0000000049” failed (13: Permission denied) while reading upstream for file xyz
Heres how I fixed:
sudo nginx -s stop sudo rm -rf /usr/local/var/run/nginx/* sudo nginx
Related Posts:
- How do I link a JavaScript file to a HTML file?
- JavaScript runtime error: ‘$’ is undefined
- JavaScript Loading Screen while page loads
- How to make a simple image upload using Javascript/HTML
- How to call a webservice method from an html page [javascript] with out refresh the page
- jQuery UI Datepicker not working
- How to keep HTML form field that is conditional hidden with javasript hidden after page reload?
- Getting click on item to open closest relevant element (popup) with jQuery
- jQuery for Fade Preload Causes My Site Favicon to Disappear from Tab of Browser
- Site images are fixed in front of my site content [closed]
- JavaScript sleep/wait before continuing [duplicate]
- Why does my JavaScript code receive a “No ‘Access-Control-Allow-Origin’ header is present on the requested resource” error, while Postman does not?
- How to properly use jsPDF library
- What does [object Object] mean? (JavaScript)
- How do I check whether a checkbox is checked in jQuery?
- ReferenceError: $ is not defined
- How do I check whether a checkbox is checked in jQuery?
- jQuery document.createElement equivalent?
- Why does my JavaScript code receive a “No ‘Access-Control-Allow-Origin’ header is present on the requested resource” error, while Postman does not?
- How to set time delay in javascript
- Pure JavaScript equivalent of jQuery’s $.ready() – how to call a function when the page/DOM is ready for it [duplicate]
- JavaScript error (Uncaught SyntaxError: Unexpected end of input)
- Automatically pausing html5 video as the ‘next’ button is pressed (javascript/ jquery)
- JavaScript error (Uncaught SyntaxError: Unexpected end of input)
- How can I scroll to an element using jQuery?
- jQuery.click() vs onClick
- jQuery Get Selected Option From Dropdown
- Check if checkbox is checked with jQuery
- How to add jQuery code into HTML Page
- jQuery equivalent of JavaScript’s addEventListener method
- How can I get the data-id attribute?
- Check if checkbox is checked with jQuery
- Adding an onclick function to go to url in JavaScript?
- Checking a Url in Jquery/Javascript
- Bootstrap Dropdown menu is not working
- My javascript is returning this error: $.ajax is not a function
- Best way to store a key=>value array in JavaScript?
- jquery SlideToggle effect in upward direction?
- Javascript Runtime error: $ is undefined
- Change Background color (css property) using Jquery
- Failed to load resource: net::ERR_FILE_NOT_FOUND loading json.js
- JavaScript: filter() for Objects
- Get class name using jQuery
- When and why to ‘return false’ in JavaScript?
- Export html table data to Excel using JavaScript / JQuery is not working properly in chrome browser
- Set timeout for ajax (jQuery)
- Use images like checkboxes
- How to read xml file contents in jQuery and display in html elements?
- Force a default browser on my android phone using a simple html shortcut page
- Jquery swipe left or right on mobile
- Set selected option of select box
- How to move an element into another element?
- Bootstrap Dropdown menu is not working
- Bootstrap Dropdown menu is not working
- Format date to MM/dd/yyyy in JavaScript
- How is JavaScript .on() method defined?
- Create table with jQuery – append
- Click button copy to clipboard
- Rotate image with javascript
- How to convert selected HTML to Json?
- How to Open New window on every Click
- How to make html table vertically scrollable
- Uncaught TypeError: Cannot read property ‘top’ of undefined
- How can I select an element by name with jQuery?
- Javascript isnull
- jQuery disable/enable submit button
- Play an audio file using jQuery when a button is clicked
- How to move an element after another element using JS or jquery?
- Why is the jquery script not working?
- document.getElementsByClassName().innerHTML always returns “undefined”
- Jquery button click() function is not working
- How to make Bootstrap carousel slider use mobile left/right swipe
- Javascript TypeError: Cannot read property ‘indexOf’ of undefined
- How to Show External website inside another page without iFrame? [closed]
- bootstrap 3 navbar collapse button not working
- Display XML content in HTML page
- JQuery: $.get is not a function
- HTML text input allow only numeric input
- Bootstrap carousel not sliding
- How to get client’s IP address using JavaScript?
- Play/pause HTML 5 video using JQuery
- javascript function wait until another function to finish
- Simple throttle in JavaScript
- Refresh/reload the content in Div using jquery/ajax
- How to read data From *.CSV file using javascript?
- How do I check whether a checkbox is checked in jQuery?
- Print the contents of a DIV
- Enable & Disable a Div and its elements in Javascript
- Embedding instagram webpage inside an iframe
- How to get height of div in px dimension
- Set value to currency in
- jQuery: Uncaught Error: Syntax error, unrecognized expression
- jQueryUI dialog width
- Creating a div element in jQuery
- SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- How to use in jQuery :not and hasClass() to get a specific element without a class
- HTML Entity Decode
- How to display raw JSON data on a HTML page
- Clearing my form inputs after submission