Connection closed

#126 · open · 2 comments

View on GitHub ↗

RTechSn

I'm unable to download a large file (4,5 Gb). After some time i get "connection closed". I've ended up using another web-server and it runs fine. ``` downloading http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso to /proxmox/directory/template/iso/Windows10_20H2.iso --2024-11-08 15:04:48-- http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 200 OK Length: 4848877568 (4.5G) [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' 0K ........ ........ ........ ........ 0% 1.12M 68m27s 32768K ........ ........ ........ ..... 1% 1.04M=57s 2024-11-08 15:05:49 (1.08 MB/s) - Connection closed at byte 64053248. Retrying. --2024-11-08 15:05:50-- (try: 2) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 4784824320 (4.5G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 32768K ] 32768K ,,,,,,,, ,,,,,,,, ,,,,,,,, ,,,,,... 1% 7.65M 1h49m 65536K ........ .... 1% 852K=19s 2024-11-08 15:06:14 (822 KB/s) - Connection closed at byte 80175104. Retrying. --2024-11-08 15:06:16-- (try: 3) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 4768702464 (4.4G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 65536K ] 65536K ,,,,,,,, ,,,,.... ........ ........ 2% 1.41M 87m46s 98304K ........ ..... 2% 813K=40s 2024-11-08 15:06:57 (852 KB/s) - Connection closed at byte 114810880. Retrying. --2024-11-08 15:07:00-- (try: 4) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 4734066688 (4.4G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 98304K ] 98304K ,,,,,,,, ,,,,,... ........ ........ 2% 1.59M 81m25s 131072K 2% 1.98M=20s 2024-11-08 15:07:25 (961 KB/s) - Connection closed at byte 134946816. Retrying. --2024-11-08 15:07:29-- (try: 5) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 4713930752 (4.4G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 131072K ] 131072K 131072K ........ ........ ........ ........ 3% 1.13M 67m5s 163840K ........ ........ ........ ........ 4% 1.12M 66m9s 196608K ........ ........ ........ ........ 4% 1.09M 66m13s 229376K ........ ... 5% 1.01M=97s 2024-11-08 15:09:10 (1.10 MB/s) - Connection closed at byte 246784000. Retrying. --2024-11-08 15:09:15-- (try: 6) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 4602093568 (4.3G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 229376K ] 229376K ,,,,,,,, ,,,..... ........ ........ 5% 1.69M 66m44s 262144K ........ ........ ........ ........ 6% 1.12M 65m15s 294912K ........ ........ ........ ........ 6% 1.12M 64m32s 327680K ........ ........ ........ ........ 7% 1.12M 63m52s 360448K ........ ........ . 7% 1.07M=2m1s 2024-11-08 15:11:21 (1.11 MB/s) - Connection closed at byte 387670016. Retrying. --2024-11-08 15:11:27-- (try: 7) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 4461207552 (4.2G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 360448K ] 360448K ,,,,,,,, ,,,,,,,, ,....... ........ 8% 2.53M 62m32s 393216K ........ ........ ........ ........ 8% 1.12M 62m34s 425984K ........ ........ ........ ........ 9% 1.13M 61m53s 458752K ........ ........ ........ ........ 10% 1.13M 61m21s 491520K ........ ........ ........ ........ 11% 1.12M 60m55s 524288K ........ ........ ........ ........ 11% 1.13M 60m22s 557056K ........ ........ ........ ........ 12% 1.14M 59m49s 589824K ........ ........ ........ ........ 13% 1.13M 59m18s 622592K ........ ........ ........ ........ 13% 1.13M 58m49s 655360K ........ ........ ........ ........ 14% 1.12M 58m22s 688128K ........ ........ ...... 15% 1.05M=4m49s 2024-11-08 15:16:20 (1.12 MB/s) - Connection closed at byte 728301568. Retrying. --2024-11-08 15:16:27-- (try: 8) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 4120576000 (3.8G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 688128K ] 688128K ,,,,,,,, ,,,,,,,, ,,,,,,.. ........ 15% 2.73M 81m18s 720896K ........ ........ ........ ........ 15% 1.10M 63m48s 753664K ..... 16% 941K=47s 2024-11-08 15:17:18 (1.00 MB/s) - Connection closed at byte 777248768. Retrying. --2024-11-08 15:17:26-- (try: 9) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 4071628800 (3.8G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 753664K ] 753664K ,,,,,... ........ ........ ........ 16% 1.22M 63m5s 786432K ........ .. 16% 1.07M=36s 2024-11-08 15:18:07 (1.03 MB/s) - Connection closed at byte 816472064. Retrying. --2024-11-08 15:18:16-- (try:10) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 4032405504 (3.8G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 786432K ] 786432K ,,,,,,,, ,,...... ........ ........ 17% 1.56M 61m21s 819200K ........ ........ ........ ........ 17% 1.10M 58m57s 851968K ........ ........ ........ ........ 18% 1.08M 58m17s 884736K ........ ........ ........ ........ 19% 1.09M 57m33s 917504K ........ ....... 19% 1.02M=2m4s 2024-11-08 15:20:25 (1.07 MB/s) - Connection closed at byte 956227584. Retrying. --2024-11-08 15:20:35-- (try:11) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 3892649984 (3.6G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 917504K ] 917504K ,,,,,,,, ,,,,,,,. ........ ........ 20% 2.24M 54m53s 950272K ........ ........ ........ ........ 20% 1.11M 54m56s 983040K ........ ........ ........ ........ 21% 1.13M 54m11s 1015808K ........ ........ ........ ........ 22% 1.10M 54m1s 1048576K ........ ........ ........ . 22% 1.05M=2m5s 2024-11-08 15:22:45 (1.10 MB/s) - Connection closed at byte 1100496896. Retrying. --2024-11-08 15:22:55-- (try:12) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 3748380672 (3.5G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 1048576K ] 1048576K ,,,,,,,, ,,,,,,,, ,,,,,,,, ,....... 22% 5.50M 53m22s 1081344K ........ ........ ........ ........ 23% 1.11M 52m56s 1114112K ........ ........ ........ ........ 24% 1.11M 52m27s 1146880K ........ ... 24% 1.08M=74s 2024-11-08 15:24:14 (1.11 MB/s) - Connection closed at byte 1186865152. Retrying. --2024-11-08 15:24:24-- (try:13) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 3662012416 (3.4G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 1146880K ] 1146880K ,,,,,,,, ,,,..... ........ ........ 24% 1.39M 66m0s 1179648K ........ .. 25% 831K=36s 2024-11-08 15:25:02 (874 KB/s) - Connection closed at byte 1218912256. Retrying. --2024-11-08 15:25:12-- (try:14) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 3629965312 (3.4G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 1179648K ] 1179648K ,,,,,,,, ,,...... .... 25% 624K=17s 2024-11-08 15:25:33 (624 KB/s) - Connection closed at byte 1229791232. Retrying. --2024-11-08 15:25:43-- (try:15) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 3619086336 (3.4G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 1179648K ] 1179648K ,,,,,,,, ,,,,,,,, ,,,,.... ........ 25% 3.20M 51m16s 1212416K ........ ........ ........ ........ 26% 973K 57m26s 1245184K ..... 26% 882K=50s 2024-11-08 15:26:37 (997 KB/s) - Connection closed at byte 1280360448. Retrying. --2024-11-08 15:26:47-- (try:16) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 3568517120 (3.3G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 1245184K ] 1245184K ,,,,,... ........ ..... 26% 875K=20s 2024-11-08 15:27:09 (875 KB/s) - Connection closed at byte 1297858560. Retrying. --2024-11-08 15:27:19-- (try:17) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 3551019008 (3.3G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 1245184K ] 1245184K ,,,,,,,, ,,,,,,,, ,,,,,... ........ 26% 3.29M 53m17s 1277952K ........ ........ ........ ........ 27% 1.06M 52m34s 1310720K 27% 4.16M=40s 2024-11-08 15:28:02 (1.06 MB/s) - Connection closed at byte 1342316544. Retrying. --2024-11-08 15:28:12-- (try:18) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 3506561024 (3.3G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 1310720K ] 1310720K 1310720K ........ ........ ........ ........ 28% 957K 59m19s 1343488K ........ . 28% 1.02M=43s 2024-11-08 15:28:59 (972 KB/s) - Connection closed at byte 1385381888. Retrying. --2024-11-08 15:29:09-- (try:19) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 3463495680 (3.2G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 1343488K ] 1343488K ,,,,,,,, ,....... ........ .... 28% 1.05M=19s 2024-11-08 15:29:32 (1.05 MB/s) - Connection closed at byte 1405894656. Retrying. --2024-11-08 15:29:42-- (try:20) http://192.168.1.75:8000/10%2020H2%20Consumer%20x64%.iso Connecting to 192.168.1.75:8000... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 4848877568 (4.5G), 3442982912 (3.2G) remaining [application/octet-stream] Saving to: '/proxmox/directory/template/iso/Windows10_20H2.iso.tmp.3083391' [ skipping 1343488K ] 1343488K ,,,,,,,, ,,,,,,,, ,,,,,,,, ,,,,.... 29% 11.2M 48m20s 1376256K ........ ........ ........ ........ 29% 1.13M 48m5s 1409024K ........ ........ ........ ........ 30% 1.12M 47m38s 1441792K ........ ....... 30% 1.05M=75s 2024-11-08 15:31:02 (1.11 MB/s) - Connection closed at byte 1493016576. Giving up. TASK ERROR: download failed: exit code 4 ```

Comments

whytf

Same issue

TheWaWaR

You may try the [v0.8.0](https://github.com/TheWaWaR/simple-http-server/releases/tag/v0.8.0) rewrite