{"action":"created","issue":{"url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/1354","repository_url":"https://api.github.com/repos/openstreetmap/openstreetmap-website","labels_url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/1354/labels{/name}","comments_url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/1354/comments","events_url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/1354/events","html_url":"https://github.com/openstreetmap/openstreetmap-website/issues/1354","id":186510655,"number":1354,"title":"Error 500 when downloading relations for a way","user":{"login":"Zverik","id":766031,"avatar_url":"https://avatars.githubusercontent.com/u/766031?v=3","gravatar_id":"","url":"https://api.github.com/users/Zverik","html_url":"https://github.com/Zverik","followers_url":"https://api.github.com/users/Zverik/followers","following_url":"https://api.github.com/users/Zverik/following{/other_user}","gists_url":"https://api.github.com/users/Zverik/gists{/gist_id}","starred_url":"https://api.github.com/users/Zverik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zverik/subscriptions","organizations_url":"https://api.github.com/users/Zverik/orgs","repos_url":"https://api.github.com/users/Zverik/repos","events_url":"https://api.github.com/users/Zverik/events{/privacy}","received_events_url":"https://api.github.com/users/Zverik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-01T11:17:16Z","updated_at":"2016-11-01T12:12:56Z","closed_at":null,"body":"http://api.openstreetmap.org/api/0.6/way/120036484/relations\r\n\r\nFirst time works, but after subsequent calls (Cmd+R, Cmd+R etc) it displays an error.\r\n\r\n![img_2016-11-01 14 16 04](https://cloud.githubusercontent.com/assets/766031/19888128/2209473c-a046-11e6-8287-e631d403f6a0.jpg)"},"comment":{"url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/comments/257551784","html_url":"https://github.com/openstreetmap/openstreetmap-website/issues/1354#issuecomment-257551784","issue_url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/1354","id":257551784,"user":{"login":"zerebubuth","id":271360,"avatar_url":"https://avatars.githubusercontent.com/u/271360?v=3","gravatar_id":"","url":"https://api.github.com/users/zerebubuth","html_url":"https://github.com/zerebubuth","followers_url":"https://api.github.com/users/zerebubuth/followers","following_url":"https://api.github.com/users/zerebubuth/following{/other_user}","gists_url":"https://api.github.com/users/zerebubuth/gists{/gist_id}","starred_url":"https://api.github.com/users/zerebubuth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerebubuth/subscriptions","organizations_url":"https://api.github.com/users/zerebubuth/orgs","repos_url":"https://api.github.com/users/zerebubuth/repos","events_url":"https://api.github.com/users/zerebubuth/events{/privacy}","received_events_url":"https://api.github.com/users/zerebubuth/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T12:12:56Z","updated_at":"2016-11-01T12:12:56Z","body":"I wasn't able to reproduce this, but conditions on the server may be different now than they were an hour ago.\r\n\r\nTranscribing the error image:\r\n\r\n`ERROR: prepared statement \"a14\" already exists,: SELECT \"current_relation_members\".* FROM \"current_relation_members\" WHERE \"current_relation_members\".\"member_type\" = $1 AND \"current_relation_members\".\"member_id\" = $2`\r\n\r\nLooks from [this Rails issue](https://github.com/rails/rails/issues/1627) like the problem might be that the database connection is not cleaned up properly after hitting a timeout?"}}
{"actor":{"display_login":"zerebubuth"}}