{"action":"closed","issue":{"url":"https://api.github.com/repos/r888888888/danbooru/issues/3457","repository_url":"https://api.github.com/repos/r888888888/danbooru","labels_url":"https://api.github.com/repos/r888888888/danbooru/issues/3457/labels{/name}","comments_url":"https://api.github.com/repos/r888888888/danbooru/issues/3457/comments","events_url":"https://api.github.com/repos/r888888888/danbooru/issues/3457/events","html_url":"https://github.com/r888888888/danbooru/issues/3457","id":284492760,"number":3457,"title":"Timeout when fetching source data from NicoSeiga","user":{"login":"evazion","id":8430473,"avatar_url":"https://avatars2.githubusercontent.com/u/8430473?v=4","gravatar_id":"","url":"https://api.github.com/users/evazion","html_url":"https://github.com/evazion","followers_url":"https://api.github.com/users/evazion/followers","following_url":"https://api.github.com/users/evazion/following{/other_user}","gists_url":"https://api.github.com/users/evazion/gists{/gist_id}","starred_url":"https://api.github.com/users/evazion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evazion/subscriptions","organizations_url":"https://api.github.com/users/evazion/orgs","repos_url":"https://api.github.com/users/evazion/repos","events_url":"https://api.github.com/users/evazion/events{/privacy}","received_events_url":"https://api.github.com/users/evazion/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-26T04:45:37Z","updated_at":"2017-12-27T20:00:39Z","closed_at":"2017-12-27T20:00:39Z","author_association":"COLLABORATOR","body":"* http://danbooru.donmai.us/uploads/new?url=http://seiga.nicovideo.jp/seiga/im7749621\r\n\r\n* http://danbooru.donmai.us/artists?search[url_matches]=http://seiga.nicovideo.jp/user/illust/71171642\r\n\r\nCurrently anything that involves fetching source data from NicoSeiga is timing out. This includes uploading with the bookmarklet, fetching source data, and searching for artists.\r\n\r\nThe immediate cause is that after we login to NicoSeiga, we get redirected to `www.nicovideo.jp`, which is currently down. See here: http://blog.nicovideo.jp/en_info/2017/12/post-067621.html.\r\n\r\nThe broader issue is not handling network problems gracefully. We should:\r\n\r\n- [x] avoid the request to `www.nicovideo.jp` (it's unnecessary overhead even when it works)\r\n\r\n- [ ] have timeouts on all outgoing HTTP requests.\r\n\r\n- [ ] expect HTTP requests to fail and handle failures gracefully when they do occur."}}
{"actor":{"display_login":"r888888888"}}