I am trying to get background music that works in my browser game. It works fine, but in Chrome I often cut music, and this error appears:
Failed to load resource: net :: ERR_CONTENT_LENGTH_MISMATCH
I looked at the Network tab and saw the downloaded audio file, as it should be, with the status of partial content 206, until it hits this error and stops.
Reload the page usually gives the same result, but at a different point in the track. I haven't run into this problem in IE yet, it looks like it only affected Chrome.
Any suggestions on what might happen?
Request / response example:
GET /music/___________.mp3 HTTP/1.1 Host: ____________.net Connection: keep-alive Accept-Encoding: identity;q=1, *;q=0 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36 Accept: */* DNT: 1 Referer: http://____________.net/ Accept-Language: en-GB,en-US;q=0.8,en;q=0.6 Cookie: SID=XXXXXXXXXX Range: bytes=0- HTTP/1.1 206 Partial Content Date: Tue, 26 Aug 2014 13:53:38 GMT Server: Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 Last-Modified: Fri, 13 Jun 2014 21:00:31 GMT ETag: "219f1a-8ed344-4fbbdf7c339c0" Accept-Ranges: bytes Content-Length: 9360196 Content-Range: bytes 0-9360195/9360196 Connection: close Content-Type: audio/mpeg
html5 audio
Niet the dark absol
source share