{"action":"created","issue":{"url":"https://api.github.com/repos/arachnys/cabot/issues/195","labels_url":"https://api.github.com/repos/arachnys/cabot/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/arachnys/cabot/issues/195/comments","events_url":"https://api.github.com/repos/arachnys/cabot/issues/195/events","html_url":"https://github.com/arachnys/cabot/issues/195","id":60666170,"number":195,"title":"502 http error when try to delete checks","user":{"login":"go-online","id":6809159,"avatar_url":"https://avatars.githubusercontent.com/u/6809159?v=3","gravatar_id":"","url":"https://api.github.com/users/go-online","html_url":"https://github.com/go-online","followers_url":"https://api.github.com/users/go-online/followers","following_url":"https://api.github.com/users/go-online/following{/other_user}","gists_url":"https://api.github.com/users/go-online/gists{/gist_id}","starred_url":"https://api.github.com/users/go-online/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-online/subscriptions","organizations_url":"https://api.github.com/users/go-online/orgs","repos_url":"https://api.github.com/users/go-online/repos","events_url":"https://api.github.com/users/go-online/events{/privacy}","received_events_url":"https://api.github.com/users/go-online/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-11T14:25:21Z","updated_at":"2015-03-11T15:50:48Z","closed_at":null,"body":"I'm currently using four (!) Cabot VMs (Ubuntu 12.04) in different regions worldwide. It works great for over a long time, except one annoying issue:\r\nWhen try to delete checks (mostly graphite checks) - it fails over and over again. 99% of the time.\r\nDid anyone see this already? Any suggestions?\r\nThanks\r\n\r\n![image](https://cloud.githubusercontent.com/assets/6809159/6598199/b5151616-c80a-11e4-96d5-ad863f2070e5.png)\r\n"},"comment":{"url":"https://api.github.com/repos/arachnys/cabot/issues/comments/78291106","html_url":"https://github.com/arachnys/cabot/issues/195#issuecomment-78291106","issue_url":"https://api.github.com/repos/arachnys/cabot/issues/195","id":78291106,"user":{"login":"dbuxton","id":314113,"avatar_url":"https://avatars.githubusercontent.com/u/314113?v=3","gravatar_id":"","url":"https://api.github.com/users/dbuxton","html_url":"https://github.com/dbuxton","followers_url":"https://api.github.com/users/dbuxton/followers","following_url":"https://api.github.com/users/dbuxton/following{/other_user}","gists_url":"https://api.github.com/users/dbuxton/gists{/gist_id}","starred_url":"https://api.github.com/users/dbuxton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbuxton/subscriptions","organizations_url":"https://api.github.com/users/dbuxton/orgs","repos_url":"https://api.github.com/users/dbuxton/repos","events_url":"https://api.github.com/users/dbuxton/events{/privacy}","received_events_url":"https://api.github.com/users/dbuxton/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T15:50:48Z","updated_at":"2015-03-11T15:50:48Z","body":"@go-online we have also seen this issue, I assume it's because it's trying to delete the child CheckResult objects too.\r\n\r\nOn our instance we have a period job which cleans the db of old checkresults which isn't really a solution but is a workaround. \r\n\r\nI'm not sure if there's a general Django or Postgres solution to this issue; I would love it if someone could look into it."}}