Project

General

Profile

Bug #6090

imagecache: failed to download (client flush -22)

Added by Jacek Tomasiak about 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-10-18
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-1980~g1ee9c5b9c
Affected Versions:

Description

After switch from stable to unstable get "failed to download" for all images from https://media.teleman.pl.

Sample trace:

2021-10-18 12:04:45.745 [  DEBUG]:imagecache: fetch https://media.teleman.pl/photos/470x265/Krolowa-Bona-1980_V695EoC.jpg
2021-10-18 12:04:45.748 [  TRACE]:httpc: 0554: Connected to media.teleman.pl:443
2021-10-18 12:04:45.749 [  TRACE]:httpc: 0554: sending HTTP/1.1 cmd
2021-10-18 12:04:45.749 [  TRACE]:httpc: 47 45 54 20 2F 70 68 6F 74 6F 73 2F 34 37 30 78 GET /photos/470x
2021-10-18 12:04:45.749 [  TRACE]:httpc: 32 36 35 2F 4B 72 6F 6C 6F 77 61 2D 42 6F 6E 61 265/Krolowa-Bona
2021-10-18 12:04:45.750 [  TRACE]:httpc: 2D 31 39 38 30 5F 56 36 39 35 45 6F 43 2E 6A 70 -1980_V695EoC.jp
2021-10-18 12:04:45.750 [  TRACE]:httpc: 67 20 48 54 54 50 2F 31 2E 31 0D 0A 48 6F 73 74 g HTTP/1.1..Host
2021-10-18 12:04:45.750 [  TRACE]:httpc: 3A 20 6D 65 64 69 61 2E 74 65 6C 65 6D 61 6E 2E : media.teleman.
2021-10-18 12:04:45.750 [  TRACE]:httpc: 70 6C 0D 0A 55 73 65 72 2D 41 67 65 6E 74 3A 20 pl..User-Agent:
2021-10-18 12:04:45.750 [  TRACE]:httpc: 54 56 48 65 61 64 65 6E 64 2F 34 2E 33 2D 31 39 TVHeadend/4.3-19
2021-10-18 12:04:45.750 [  TRACE]:httpc: 38 30 7E 67 31 65 65 39 63 35 62 39 63 0D 0A 43 80~g1ee9c5b9c..C
2021-10-18 12:04:45.750 [  TRACE]:httpc: 6F 6E 6E 65 63 74 69 6F 6E 3A 20 63 6C 6F 73 65 onnection: close
2021-10-18 12:04:45.750 [  TRACE]:httpc: 0D 0A 0D 0A                                     ....
2021-10-18 12:04:45.750 [  TRACE]:httpc: 0554: add poll for input and output (2)
2021-10-18 12:04:45.818 [  TRACE]:httpc: 0554: add poll for input (1)
2021-10-18 12:04:46.039 [  TRACE]:httpc: 0554: client flush 0
2021-10-18 12:04:46.040 [  TRACE]:httpc: 0554: HTTP/1.1 answer 'HTTP/1.1 200 OK' (rcseq: 0)
2021-10-18 12:04:46.040 [  TRACE]:httpc: 48 54 54 50 2F 31 2E 31 20 32 30 30 20 4F 4B 00 HTTP/1.1 200 OK.
2021-10-18 12:04:46.040 [  TRACE]:httpc: 0A 44 61 74 65 3A 20 4D 6F 6E 2C 20 31 38 20 4F .Date: Mon, 18 O
2021-10-18 12:04:46.040 [  TRACE]:httpc: 63 74 20 32 30 32 31 20 31 30 3A 30 34 3A 34 36 ct 2021 10:04:46
2021-10-18 12:04:46.040 [  TRACE]:httpc: 20 47 4D 54 0D 0A 53 65 72 76 65 72 3A 20 41 70  GMT..Server: Ap
2021-10-18 12:04:46.040 [  TRACE]:httpc: 61 63 68 65 2F 32 2E 34 2E 32 35 0D 0A 55 70 67 ache/2.4.25..Upg
2021-10-18 12:04:46.040 [  TRACE]:httpc: 72 61 64 65 3A 20 68 32 0D 0A 43 6F 6E 6E 65 63 rade: h2..Connec
2021-10-18 12:04:46.040 [  TRACE]:httpc: 74 69 6F 6E 3A 20 55 70 67 72 61 64 65 2C 20 63 tion: Upgrade, c
2021-10-18 12:04:46.040 [  TRACE]:httpc: 6C 6F 73 65 0D 0A 4C 61 73 74 2D 4D 6F 64 69 66 lose..Last-Modif
2021-10-18 12:04:46.040 [  TRACE]:httpc: 69 65 64 3A 20 53 61 74 2C 20 31 38 20 4D 61 72 ied: Sat, 18 Mar
2021-10-18 12:04:46.040 [  TRACE]:httpc: 20 32 30 31 37 20 30 35 3A 33 39 3A 30 32 20 47  2017 05:39:02 G
2021-10-18 12:04:46.040 [  TRACE]:httpc: 4D 54 0D 0A 45 54 61 67 3A 20 22 34 38 33 37 2D MT..ETag: "4837-
2021-10-18 12:04:46.040 [  TRACE]:httpc: 35 34 61 66 61 62 36 32 64 35 35 64 36 22 0D 0A 54afab62d55d6"..
2021-10-18 12:04:46.040 [  TRACE]:httpc: 41 63 63 65 70 74 2D 52 61 6E 67 65 73 3A 20 62 Accept-Ranges: b
2021-10-18 12:04:46.040 [  TRACE]:httpc: 79 74 65 73 0D 0A 43 6F 6E 74 65 6E 74 2D 4C 65 ytes..Content-Le
2021-10-18 12:04:46.040 [  TRACE]:httpc: 6E 67 74 68 3A 20 31 38 34 38 37 0D 0A 43 61 63 ngth: 18487..Cac
2021-10-18 12:04:46.040 [  TRACE]:httpc: 68 65 2D 43 6F 6E 74 72 6F 6C 3A 20 6D 61 78 2D he-Control: max-
2021-10-18 12:04:46.040 [  TRACE]:httpc: 61 67 65 3D 32 35 39 32 30 30 30 0D 0A 45 78 70 age=2592000..Exp
2021-10-18 12:04:46.040 [  TRACE]:httpc: 69 72 65 73 3A 20 57 65 64 2C 20 31 37 20 4E 6F ires: Wed, 17 No
2021-10-18 12:04:46.040 [  TRACE]:httpc: 76 20 32 30 32 31 20 31 30 3A 30 34 3A 34 36 20 v 2021 10:04:46
2021-10-18 12:04:46.040 [  TRACE]:httpc: 47 4D 54 0D 0A 43 6F 6E 74 65 6E 74 2D 54 79 70 GMT..Content-Typ
2021-10-18 12:04:46.040 [  TRACE]:httpc: 65 3A 20 69 6D 61 67 65 2F 6A 70 65 67 00 0A 0D e: image/jpeg...
2021-10-18 12:04:46.040 [  TRACE]:httpc: 0A                                              .
2021-10-18 12:04:46.040 [  TRACE]:httpc: 0554: client flush -22
2021-10-18 12:04:46.040 [  TRACE]:httpc: 0554: shutdown
2021-10-18 12:04:46.040 [  TRACE]:httpc: 0554: shutdown
2021-10-18 12:04:46.041 [  TRACE]:httpc: 0554: client flush 0
2021-10-18 12:04:46.041 [  TRACE]:httpc: 0554: Closed
2021-10-18 12:04:46.041 [WARNING]:imagecache: failed to download https://media.teleman.pl/photos/470x265/Krolowa-Bona-1980_V695EoC.jpg

History

#1

Updated by Flole Systems about 3 years ago

I'd guess it's because of the "Connection: Upgrade, close"-header. Just a wild guess though.

#2

Updated by Jacek Tomasiak almost 3 years ago

You're right. This https://github.com/tvheadend/tvheadend/pull/1438 should fix the problem.

Also available in: Atom PDF