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]
- ReferenceError: $ is not defined
- How to set time delay in javascript
- jQuery.click() vs onClick
- Check if checkbox is checked with jQuery
- 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
- Use images like checkboxes
- Force a default browser on my android phone using a simple html shortcut page
- How to Open New window on every Click
- How to make html table vertically scrollable
- How to move an element after another element using JS or jquery?
- Why is the jquery script not working?
- How to Show External website inside another page without iFrame? [closed]
- How to get client’s IP address using JavaScript?
- Simple throttle in JavaScript
- Print the contents of a DIV
- Enable & Disable a Div and its elements in Javascript
- Embedding instagram webpage inside an iframe
- Set value to currency in
- HTML Entity Decode
- Highlight a word with jQuery
- getContext is not a function
- How to change the text of a label?
- Using “×” word in html changes to ×
- Fire oninput event with jQuery
- Changing the selected option of an HTML Select element
- How do I remove a box-shadow effect from an element when another element is hovered?
- Slide right to left?
- How to scroll to top of page with JavaScript/jQuery?
- How to set “style=display:none;” using jQuery’s attr method?
- How to enable button onClick functions and java script in wordpress post
- Can’t get a JSON object in response to an Ajax request with wp_ajax
- Add tinymce buttons to caption textarea in media uploader
- How to prevent wordpress from loading old versions of jquery in wp_head();?
- RequireJS in custom theme. Working Example
- How to handle multiple instance of “send_to_editor” js function
- How to get a jQuery script to run on a page?
- WordPress Ajax always returns a 404 error
- Modify Custom Field in Media Library using JavaScript
- wp_enqueuescript won’t load in footer even with true value set?
- Execution of JavaScript on save post
- Prevent five different copies of jquery from being included on every page
- Is placing stuff in page text edit window bad form?
- javascript is not working on Event Submission?
- Add colorpicker to featured image
- WordPress audio player causing js error, mediaelementplayer is not a function
- Auto-detect javascript errors and warn theme user
- combining js scripts from a js newb [closed]
- Heartbeat API: How to access data already enqueued?
- Implementing lazy loading in homepage posts instead of pagination
- Correct way to write jQuery functions in WordPress
- Scripts not appending to element in AJAX call – why?
- Using bootstrap-slider and bootstrap-switch in wordpress admin panel
- Trouble with WordPress Ajax Login System – 302
- How does WordPress handle HTML Tables interaction with jQuery
- Javascript stopped working [closed]
- Why load JS through the CMS framework? [duplicate]
- url – ajax loaded but no JS
- Callback After WordPress Customizer Complete Loading
- Close Fancybox, sumbit form data and redirect
- How to enque js script in footer that are not in .js file?
- Nested Gallery Shortcode INTERMITTENTLY working
- Accessing javascript in multiple files [closed]
- Issues loading Jquery on WordPress website
- Custom AJAX form not working async
- click event to unhide something after ajax not firing
- Is it OK combined wp-include js, jquery, css? [closed]
- Including Older Version of jQuery for IE7/IE8
- Parse wordpress blog data using json api and ajax
- Problem adding MP3 attachments to a jPlayer playlist
- Jquery not working
- A carousel slideshow plugin in JavaScript
- Putting custom html/js page into Elementor as it’s own block
- Add other class content with reference class value
- Can’t Listen to KeyDown in TInyMCE Iframe (jQuery) and Pass it to Parent HTML FORM
- Theme customisation – how to store javascript externally when it utilises php variables?
- Get ajaxForm response value
- onclick jquery function not working in wordpress header file [duplicate]
- How can I add a new lib path without call each one on the header?
- Adding scripts before plugins scripts
- jQuery search function not running in WordPress but running locally (fiddle)
- Masonry – Can’t Find Variable imagesLoaded
- Clear custom field when new tag is added
- Element works, but not on wordpress site [duplicate]
- javascript not loading in wordpress
- Carousel Hover Image
- How to Javascript/jQuery
- can’t make jQuery work (change image on time interval) [closed]