Project

General

Profile

Bug #3548

Imagecache failed to download PNG image

Added by Some One over 5 years ago. Updated over 5 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2016-02-02
Due date:
% Done:

100%

Estimated time:
Found in version:
4.1-1451~gf07688
Affected Versions:

Description

I have a problem with caching images in latest stable build (4.1 which i built from source on last sunday). I always get response that cacheimage failed to download image, but when i open that image in browser it's normally shown. Here is trace of mentioned problem:

2016-02-02 11:24:30.558 [  DEBUG]:imagecache: fetch http://vimg.siol.tv/sioltv/logo/300x160/rai3.png
2016-02-02 11:24:30.561 [  TRACE]:httpc: 05ED: Connected to vimg.siol.tv:80
2016-02-02 11:24:30.561 [  TRACE]:httpc: 05ED: sending HTTP/1.1 cmd
2016-02-02 11:24:30.561 [  TRACE]:httpc: 47 45 54 20 2F 73 69 6F 6C 74 76 2F 6C 6F 67 6F GET /sioltv/logo
2016-02-02 11:24:30.561 [  TRACE]:httpc: 2F 33 30 30 78 31 36 30 2F 72 61 69 33 2E 70 6E /300x160/rai3.pn
2016-02-02 11:24:30.561 [  TRACE]:httpc: 67 20 48 54 54 50 2F 31 2E 31 0D 0A 48 6F 73 74 g HTTP/1.1..Host
2016-02-02 11:24:30.561 [  TRACE]:httpc: 3A 20 76 69 6D 67 2E 73 69 6F 6C 2E 74 76 0D 0A : vimg.siol.tv..
2016-02-02 11:24:30.561 [  TRACE]:httpc: 55 73 65 72 2D 41 67 65 6E 74 3A 20 54 56 48 65 User-Agent: TVHe
2016-02-02 11:24:30.561 [  TRACE]:httpc: 61 64 65 6E 64 2F 34 2E 31 2D 31 34 35 31 7E 67 adend/4.1-1451~g
2016-02-02 11:24:30.561 [  TRACE]:httpc: 66 30 37 34 36 38 38 0D 0A 43 6F 6E 6E 65 63 74 f074688..Connect
2016-02-02 11:24:30.561 [  TRACE]:httpc: 69 6F 6E 3A 20 63 6C 6F 73 65 0D 0A 0D 0A       ion: close....
2016-02-02 11:24:30.584 [  TRACE]:httpc: 05ED: received HTTP/1.1 answer (len = 1024)
2016-02-02 11:24:30.585 [  TRACE]:httpc: 48 54 54 50 2F 31 2E 31 20 32 30 30 20 4F 4B 0D HTTP/1.1 200 OK.
2016-02-02 11:24:30.585 [  TRACE]:httpc: 0A 43 61 63 68 65 2D 43 6F 6E 74 72 6F 6C 3A 20 .Cache-Control:
2016-02-02 11:24:30.585 [  TRACE]:httpc: 70 75 62 6C 69 63 0D 0A 43 6F 6E 74 65 6E 74 2D public..Content-
2016-02-02 11:24:30.585 [  TRACE]:httpc: 54 79 70 65 3A 20 69 6D 61 67 65 2F 70 6E 67 0D Type: image/png.
2016-02-02 11:24:30.585 [  TRACE]:httpc: 05ED: client flush 0
2016-02-02 11:24:30.585 [  TRACE]:httpc: 05ED: HTTP/1.1 answer 'HTTP/1.1 200 OK' (rcseq: 0)
2016-02-02 11:24:30.585 [  TRACE]:httpc: 48 54 54 50 2F 31 2E 31 20 32 30 30 20 4F 4B 00 HTTP/1.1 200 OK.
2016-02-02 11:24:30.585 [  TRACE]:httpc: 0A 43 61 63 68 65 2D 43 6F 6E 74 72 6F 6C 3A 20 .Cache-Control:
2016-02-02 11:24:30.585 [  TRACE]:httpc: 70 75 62 6C 69 63 0D 0A 43 6F 6E 74 65 6E 74 2D public..Content-
2016-02-02 11:24:30.585 [  TRACE]:httpc: 54 79 70 65 3A 20 69 6D 61 67 65 2F 70 6E 67 0D Type: image/png.
2016-02-02 11:24:30.585 [  TRACE]:httpc: 0A 45 78 70 69 72 65 73 3A 20 57 65 64 2C 20 30 .Expires: Wed, 0
2016-02-02 11:24:30.585 [  TRACE]:httpc: 33 20 46 65 62 20 32 30 31 36 20 30 39 3A 35 36 3 Feb 2016 09:56
2016-02-02 11:24:30.585 [  TRACE]:httpc: 3A 33 38 20 47 4D 54 0D 0A 4C 61 73 74 2D 4D 6F :38 GMT..Last-Mo
2016-02-02 11:24:30.585 [  TRACE]:httpc: 64 69 66 69 65 64 3A 20 54 68 75 2C 20 32 38 20 dified: Thu, 28
2016-02-02 11:24:30.585 [  TRACE]:httpc: 4A 61 6E 20 32 30 31 36 20 31 33 3A 35 38 3A 31 Jan 2016 13:58:1
2016-02-02 11:24:30.585 [  TRACE]:httpc: 31 20 47 4D 54 0D 0A 58 2D 53 65 72 76 65 72 3A 1 GMT..X-Server:
2016-02-02 11:24:30.585 [  TRACE]:httpc: 20 43 44 4E 30 32 0D 0A 41 63 63 65 73 73 2D 43  CDN02..Access-C
2016-02-02 11:24:30.585 [  TRACE]:httpc: 6F 6E 74 72 6F 6C 2D 41 6C 6C 6F 77 2D 4F 72 69 ontrol-Allow-Ori
2016-02-02 11:24:30.585 [  TRACE]:httpc: 67 69 6E 3A 20 2A 0D 0A 44 61 74 65 3A 20 54 75 gin: *..Date: Tu
2016-02-02 11:24:30.585 [  TRACE]:httpc: 65 2C 20 30 32 20 46 65 62 20 32 30 31 36 20 30 e, 02 Feb 2016 0
2016-02-02 11:24:30.585 [  TRACE]:httpc: 39 3A 35 36 3A 33 38 20 47 4D 54 0D 0A 43 6F 6E 9:56:38 GMT..Con
2016-02-02 11:24:30.585 [  TRACE]:httpc: 74 65 6E 74 2D 4C 65 6E 67 74 68 3A 20 36 36 30 tent-Length: 660
2016-02-02 11:24:30.585 [  TRACE]:httpc: 35 0D 0A 58 2D 56 61 72 6E 69 73 68 3A 20 34 32 5..X-Varnish: 42
2016-02-02 11:24:30.585 [  TRACE]:httpc: 33 31 36 30 37 30 34 20 34 32 33 35 39 36 33 34 3160704 42359634
2016-02-02 11:24:30.585 [  TRACE]:httpc: 35 0D 0A 41 67 65 3A 20 31 36 37 32 0D 0A 56 69 5..Age: 1672..Vi
2016-02-02 11:24:30.585 [  TRACE]:httpc: 61 3A 20 31 2E 31 20 76 61 72 6E 69 73 68 2D 76 a: 1.1 varnish-v
2016-02-02 11:24:30.585 [  TRACE]:httpc: 34 0D 0A 67 72 61 63 65 3A 20 6E 6F 6E 65 0D 0A 4..grace: none..
2016-02-02 11:24:30.585 [  TRACE]:httpc: 53 65 72 76 65 72 3A 20 74 76 2D 63 61 63 68 65 Server: tv-cache
2016-02-02 11:24:30.585 [  TRACE]:httpc: 2D 30 31 0D 0A 41 63 63 65 70 74 2D 52 61 6E 67 -01..Accept-Rang
2016-02-02 11:24:30.585 [  TRACE]:httpc: 65 73 3A 20 62 79 74 65 73 0D 0A 43 6F 6E 6E 65 es: bytes..Conne
2016-02-02 11:24:30.585 [  TRACE]:httpc: 63 74 69 6F 6E 3A 20 6B 65 65 70 2D 61 6C 69 76 ction: keep-aliv
2016-02-02 11:24:30.585 [  TRACE]:httpc: 65 00 0A 0D 0A                                  e....
2016-02-02 11:24:30.585 [  TRACE]:httpc: 05ED: client flush -22
2016-02-02 11:24:30.587 [  TRACE]:httpc: 05ED: client flush 0
2016-02-02 11:24:30.587 [  TRACE]:httpc: 05ED: Closed
2016-02-02 11:24:30.587 [  DEBUG]:settings: saving to /home/hts/.hts/tvheadend/imagecache/meta/1219
2016-02-02 11:24:30.588 [WARNING]:imagecache: failed to download http://vimg.siol.tv/sioltv/logo/300x160/rai3.png

Associated revisions

Revision fabe4f8b (diff)
Added by Jaroslav Kysela over 5 years ago

httpc: fix req conn-close ans conn-keep-alive handling, fixes #3548

Revision 8a979f92 (diff)
Added by Jaroslav Kysela over 5 years ago

httpc: fix req conn-close ans conn-keep-alive handling, fixes #3548

History

#1

Updated by Sam Stenvall over 5 years ago

I can add to this that the same issue is present in the release/4.0 branch. I've only tested with PNG images since that's what I use. The server on the other end is a bog standard nginx server on port 8080.

#2

Updated by Jaroslav Kysela over 5 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100
#3

Updated by Jaroslav Kysela over 5 years ago

Fixed in v4.1-1457-gfabe4f8 . Also pushed to 4.0.

Also available in: Atom PDF