{"action":"closed","issue":{"url":"https://api.github.com/repos/KrauseFx/sigh/issues/113","labels_url":"https://api.github.com/repos/KrauseFx/sigh/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/KrauseFx/sigh/issues/113/comments","events_url":"https://api.github.com/repos/KrauseFx/sigh/issues/113/events","html_url":"https://github.com/KrauseFx/sigh/issues/113","id":81821996,"number":113,"title":"Getting redirection forbidden error occasionally","user":{"login":"mgrebenets","id":350654,"avatar_url":"https://avatars.githubusercontent.com/u/350654?v=3","gravatar_id":"","url":"https://api.github.com/users/mgrebenets","html_url":"https://github.com/mgrebenets","followers_url":"https://api.github.com/users/mgrebenets/followers","following_url":"https://api.github.com/users/mgrebenets/following{/other_user}","gists_url":"https://api.github.com/users/mgrebenets/gists{/gist_id}","starred_url":"https://api.github.com/users/mgrebenets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgrebenets/subscriptions","organizations_url":"https://api.github.com/users/mgrebenets/orgs","repos_url":"https://api.github.com/users/mgrebenets/repos","events_url":"https://api.github.com/users/mgrebenets/events{/privacy}","received_events_url":"https://api.github.com/users/mgrebenets/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-05-28T08:20:37Z","updated_at":"2015-06-15T06:55:24Z","closed_at":"2015-06-15T06:55:24Z","body":"Since today I noticed that sigh fails to download profile from time to time. Upgrading `sigh` to latest `0.5.2` didn't help.\r\n\r\nThe stack trace looks like this. Probably this is a timeout, I can't say for sure.\r\n\r\n```\r\n[18:01:35]: Login into iOS Developer Center\r\n[18:01:49]: Login successful\r\n[18:01:49]: Fetching all available provisioning profiles...\r\n[18:01:50]: Checking if profile is available. (21 profiles found on page 1)\r\n[18:01:51]: Downloading profile...\r\n/Users/****/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/open-uri.rb:223:in `open_loop': redirection forbidden: https://developer.apple.com/account/ios/profile/profileContentDownload.action?displayId=45HB57MMCL -> http://developer.apple.com/account/selectTeam.action (RuntimeError)\r\n\tfrom /Users/****/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/open-uri.rb:149:in `open_uri'\r\n\tfrom /Users/****/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/open-uri.rb:689:in `open'\r\n\tfrom /Users/****/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/open-uri.rb:34:in `open'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/gems/fastlane_core-0.7.5/lib/fastlane_core/developer_center/developer_center_helper.rb:17:in `download_file'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/gems/sigh-0.5.2/lib/sigh/developer_center.rb:271:in `download_profile'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/gems/sigh-0.5.2/lib/sigh/developer_center.rb:95:in `block in maintain_app_certificate'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/gems/sigh-0.5.2/lib/sigh/developer_center.rb:75:in `each'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/gems/sigh-0.5.2/lib/sigh/developer_center.rb:75:in `maintain_app_certificate'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/gems/sigh-0.5.2/lib/sigh/developer_center.rb:18:in `run'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/gems/sigh-0.5.2/lib/sigh/manager.rb:6:in `start'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/gems/sigh-0.5.2/bin/sigh:36:in `block (2 levels) in run'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/gems/commander-4.3.4/lib/commander/command.rb:153:in `run'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/gems/commander-4.3.4/lib/commander/runner.rb:428:in `run_active_command'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/gems/commander-4.3.4/lib/commander/runner.rb:68:in `run!'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/gems/commander-4.3.4/lib/commander/delegates.rb:15:in `run!'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/gems/sigh-0.5.2/bin/sigh:67:in `run'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/gems/sigh-0.5.2/bin/sigh:74:in `<top (required)>'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/bin/sigh:23:in `load'\r\n\tfrom /Users/****/.rvm/gems/ruby-2.0.0-p643/bin/sigh:23:in `<main>'\r\n```"}}