{"action":"opened","issue":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/5056","labels_url":"https://api.github.com/repos/CartoDB/cartodb/issues/5056/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartodb/issues/5056/comments","events_url":"https://api.github.com/repos/CartoDB/cartodb/issues/5056/events","html_url":"https://github.com/CartoDB/cartodb/issues/5056","id":101420930,"number":5056,"title":"Fix varnish timeout errors and add varnish check to diagnosis page","user":{"login":"juanignaciosl","id":932968,"avatar_url":"https://avatars.githubusercontent.com/u/932968?v=3","gravatar_id":"","url":"https://api.github.com/users/juanignaciosl","html_url":"https://github.com/juanignaciosl","followers_url":"https://api.github.com/users/juanignaciosl/followers","following_url":"https://api.github.com/users/juanignaciosl/following{/other_user}","gists_url":"https://api.github.com/users/juanignaciosl/gists{/gist_id}","starred_url":"https://api.github.com/users/juanignaciosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanignaciosl/subscriptions","organizations_url":"https://api.github.com/users/juanignaciosl/orgs","repos_url":"https://api.github.com/users/juanignaciosl/repos","events_url":"https://api.github.com/users/juanignaciosl/events{/privacy}","received_events_url":"https://api.github.com/users/juanignaciosl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"juanignaciosl","id":932968,"avatar_url":"https://avatars.githubusercontent.com/u/932968?v=3","gravatar_id":"","url":"https://api.github.com/users/juanignaciosl","html_url":"https://github.com/juanignaciosl","followers_url":"https://api.github.com/users/juanignaciosl/followers","following_url":"https://api.github.com/users/juanignaciosl/following{/other_user}","gists_url":"https://api.github.com/users/juanignaciosl/gists{/gist_id}","starred_url":"https://api.github.com/users/juanignaciosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanignaciosl/subscriptions","organizations_url":"https://api.github.com/users/juanignaciosl/orgs","repos_url":"https://api.github.com/users/juanignaciosl/repos","events_url":"https://api.github.com/users/juanignaciosl/events{/privacy}","received_events_url":"https://api.github.com/users/juanignaciosl/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CartoDB/cartodb/milestones/47","html_url":"https://github.com/CartoDB/cartodb/milestones/Torrelodones","labels_url":"https://api.github.com/repos/CartoDB/cartodb/milestones/47/labels","id":1258206,"number":47,"title":"Torrelodones","description":"","creator":{"login":"saleiva","id":132149,"avatar_url":"https://avatars.githubusercontent.com/u/132149?v=3","gravatar_id":"","url":"https://api.github.com/users/saleiva","html_url":"https://github.com/saleiva","followers_url":"https://api.github.com/users/saleiva/followers","following_url":"https://api.github.com/users/saleiva/following{/other_user}","gists_url":"https://api.github.com/users/saleiva/gists{/gist_id}","starred_url":"https://api.github.com/users/saleiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saleiva/subscriptions","organizations_url":"https://api.github.com/users/saleiva/orgs","repos_url":"https://api.github.com/users/saleiva/repos","events_url":"https://api.github.com/users/saleiva/events{/privacy}","received_events_url":"https://api.github.com/users/saleiva/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2015-08-17T13:11:56Z","updated_at":"2015-08-17T13:29:36Z","due_on":"2015-09-15T22:00:00Z","closed_at":null},"comments":0,"created_at":"2015-08-17T13:29:36Z","updated_at":"2015-08-17T13:29:36Z","closed_at":null,"body":"A wrong Varnish configuration can prevent importing from working ([original Google Groups thread](https://groups.google.com/forum/#!topic/cartodb/uQF7jLDKMTs)). From the installation instructions:\r\n>Varnish should allow telnet access in order to work with CartoDB, so you need to edit the/etc/default/varnish file and in the DAEMON_OPTS variable remove the -S /etc/varnish/secret \\ line\r\n\r\nIf you don't, importing fails with `Exception: PG::Error: ERROR:  canceling statement due to statement timeout\r\nCONTEXT:  SQL statement \\\"SELECT public.cdb_invalidate_varnish...`.\r\n\r\n1. Is this necessary?\r\n2. Can we throw a better error?\r\n3. Add varnish check to diagnosis page."}}