Welcome! Log In Create A New Profile

Advanced

Nginx Download MP3 206 Partial Content HTTP Response

November 07, 2020 05:47AM
All:

I am successfully able to browse an MP3 website and play the MP3 streams without issue through Nginx (1.19.2).

However, when attempting to download an MP3 through Nginx, I'm receiving a 206 Partial Content HTTP Response:

192.168.0.154 - - [07/Nov/2020:10:25:22 +0000] "GET music.mp3 HTTP/1.1" 206 1982193 "http://domain.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36 Edg/86.0.622.38"

A Client-Side Packet Trace shows the 206 Partial Content HTTP Response with a RST from Nginx:

3390 42.119998 192.168.0.154 192.168.0.2 TCP 54 61978 → 80 [ACK] Seq=526 Ack=2293125 Win=1629440 Len=0
3391 42.120434 192.168.0.2 192.168.0.154 HTTP 347 HTTP/1.1 206 Partial Content (audio/mpeg)
3392 42.120449 192.168.0.154 192.168.0.2 TCP 54 61978 → 80 [ACK] Seq=526 Ack=2293418 Win=1629184 Len=0
4375 69.116574 192.168.0.154 192.168.0.2 TCP 54 [TCP Window Update] 61978 → 80 [ACK] Seq=526 Ack=2293418 Win=4219392 Len=0
4984 87.122995 192.168.0.154 192.168.0.2 TCP 55 [TCP Keep-Alive] 61978 → 80 [ACK] Seq=525 Ack=2293418 Win=4219392 Len=1
4985 87.123324 192.168.0.2 192.168.0.154 TCP 66 [TCP Keep-Alive ACK] 80 → 61978 [ACK] Seq=2293418 Ack=526 Win=6912 Len=0 SLE=525 SRE=526
5761 117.117822 192.168.0.2 192.168.0.154 TCP 60 80 → 61978 [FIN, ACK] Seq=2293418 Ack=526 Win=6912 Len=0
5762 117.117911 192.168.0.154 192.168.0.2 TCP 54 61978 → 80 [ACK] Seq=526 Ack=2293419 Win=4219392 Len=0
7291 162.122574 192.168.0.154 192.168.0.2 TCP 55 [TCP Keep-Alive] 61978 → 80 [ACK] Seq=525 Ack=2293419 Win=4219392 Len=1
7292 162.123048 192.168.0.2 192.168.0.154 TCP 60 [TCP Keep-Alive ACK] 80 → 61978 [ACK] Seq=2293419 Ack=526 Win=6912 Len=0
7591 173.888730 192.168.0.154 192.168.0.2 TCP 54 61978 → 80 [FIN, ACK] Seq=526 Ack=2293419 Win=4219392 Len=0
7594 173.889906 192.168.0.2 192.168.0.154 TCP 60 80 → 61978 [RST] Seq=2293419 Win=0 Len=0

I've tried several different browsers (i.e., Chrome, Edge, etc) with the same issue.

The download is successful when browsing directly and not using Nginx.

Any idea why the MP3 download is failing using Nginx?

Much Appreciated.


Gary
Subject Author Posted

Nginx Download MP3 206 Partial Content HTTP Response

garycnew@yahoo.com November 07, 2020 05:47AM

Re: Nginx Download MP3 206 Partial Content HTTP Response

garycnew@yahoo.com November 08, 2020 03:42AM

Re: Nginx Download MP3 206 Partial Content HTTP Response

Francis Daly November 08, 2020 05:46AM

Re: Nginx Download MP3 206 Partial Content HTTP Response

Francis Daly November 08, 2020 06:50AM

Re: Nginx Download MP3 206 Partial Content HTTP Response

garycnew@yahoo.com November 08, 2020 08:07AM

Re: Nginx Download MP3 206 Partial Content HTTP Response

garycnew@yahoo.com November 08, 2020 09:51AM

Re: Nginx Download MP3 206 Partial Content HTTP Response

Francis Daly November 08, 2020 02:28PM

Re: Nginx Download MP3 206 Partial Content HTTP Response

Francis Daly November 08, 2020 02:56PM

Re: Nginx Download MP3 206 Partial Content HTTP Response

garycnew@yahoo.com November 09, 2020 03:50AM

Re: Nginx Download MP3 206 Partial Content HTTP Response

garycnew@yahoo.com November 09, 2020 04:45AM

Re: Nginx Download MP3 206 Partial Content HTTP Response

Francis Daly November 09, 2020 04:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 246
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready