{"action":"closed","issue":{"url":"https://api.github.com/repos/lkarsten/testrepo/issues/149","labels_url":"https://api.github.com/repos/lkarsten/testrepo/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/lkarsten/testrepo/issues/149/comments","events_url":"https://api.github.com/repos/lkarsten/testrepo/issues/149/events","html_url":"https://github.com/lkarsten/testrepo/issues/149","id":120416366,"number":149,"title":"[trac #149] Can't Purge","user":{"login":"lkarsten","id":108894,"avatar_url":"https://avatars.githubusercontent.com/u/108894?v=3","gravatar_id":"","url":"https://api.github.com/users/lkarsten","html_url":"https://github.com/lkarsten","followers_url":"https://api.github.com/users/lkarsten/followers","following_url":"https://api.github.com/users/lkarsten/following{/other_user}","gists_url":"https://api.github.com/users/lkarsten/gists{/gist_id}","starred_url":"https://api.github.com/users/lkarsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lkarsten/subscriptions","organizations_url":"https://api.github.com/users/lkarsten/orgs","repos_url":"https://api.github.com/users/lkarsten/repos","events_url":"https://api.github.com/users/lkarsten/events{/privacy}","received_events_url":"https://api.github.com/users/lkarsten/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-04T14:51:45Z","updated_at":"2015-12-04T14:51:45Z","closed_at":"2015-12-04T14:51:45Z","body":"ISSUE 149 IMPORTED FROM TRAC FOR INDEXING.\nHi,\n\nthis is how I start varnishd:\n\n-a 0.0.0.0:8080 -f /etc/varnish/default.net.vcl -t 120s -s file,/var/lib/varnish/varnish_storage.bin,1g\n\nThe caching works but I cant purge any files (VCL config is attached).\n```\n#varnishncsa\n....\n127.0.0.1 - - [13/Aug/2007:09:34:20 +0200] \"GET http://localhost:8080/users/7238558.jpg HTTP/1.0\" 200 1657 \"-\" \"Wget/1.10.2\"\n...\n\n\n\ntelnet localhost 8080\nTrying 127.0.0.1...\nConnected to localhost.\nEscape character is '^]'.\nPURGE http://localhost:8080/users/7238558.jpg HTTP/1.0\nHTTP/1.1 404 Not Found\nDate: Mon, 13 Aug 2007 07:35:08 GMT\nServer: Varnish\nConnection: close\nContent-Type: text/html; charset=iso-8859-1\n\n<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<HTML>\n  <HEAD>\n    <TITLE>404 Not Found</TITLE>\n  </HEAD>\n  <BODY>\n    <H1>Error 404 Not Found</H1>\n    <P>Not in cache.</P>\n    <H3>Guru Meditation:</H3>\n    <P>XID: 385643636</P>\n    <I><A href=\"http://www.varnish-cache.org/\">Varnish</A></I>\n  </BODY>\n</HTML>\nConnection closed by foreign host.\nroot@ubuntu60664m:/tmp#\n\n\n\nhowever the file is cached \n\n wget  --server-response http://localhost:8080/users/7238558.jpg\n--09:35:00--  http://localhost:8080/users/7238558.jpg\n           => `7238558.jpg.8'\nResolving localhost... 127.0.0.1\nConnecting to localhost|127.0.0.1|:8080... connected.\nHTTP request sent, awaiting response...\n  HTTP/1.1 200 OK\n  Expires: Thu, 16 Aug 2007 07:33:17 GMT\n  Content-Type: image/jpeg\n  Date: Mon, 13 Aug 2007 07:33:17 GMT\n  Server: image_server\n  Content-Length: 1657\n  X-Varnish: 385643448 385641021\n  Age: 103\n  Via: 1.1 varnish\nLength: 1,657 (1.6K) [image/jpeg]\n\n100%[=====================================================================================================================>] 1,657         --.--K/s\n```\n\n\n\n varnishd -V\nvarnishd (varnish-1.0.4)\nCopyright (c) 2006 Linpro AS / Verdens Gang AS\n\n\n\nI cant use 1.1 since for some reason I never get a cache_miss ... it always return he same file (the first file it served after the varnishd restart).\n"}}