{"action":"created","issue":{"url":"https://api.github.com/repos/chocolatey/choco/issues/407","repository_url":"https://api.github.com/repos/chocolatey/choco","labels_url":"https://api.github.com/repos/chocolatey/choco/issues/407/labels{/name}","comments_url":"https://api.github.com/repos/chocolatey/choco/issues/407/comments","events_url":"https://api.github.com/repos/chocolatey/choco/issues/407/events","html_url":"https://github.com/chocolatey/choco/issues/407","id":106854777,"number":407,"title":"When there is no connection with the server (eg firewall), instead of mentioning a network error, choco says the package was not found","user":{"login":"manad777","id":3642217,"avatar_url":"https://avatars.githubusercontent.com/u/3642217?v=3","gravatar_id":"","url":"https://api.github.com/users/manad777","html_url":"https://github.com/manad777","followers_url":"https://api.github.com/users/manad777/followers","following_url":"https://api.github.com/users/manad777/following{/other_user}","gists_url":"https://api.github.com/users/manad777/gists{/gist_id}","starred_url":"https://api.github.com/users/manad777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manad777/subscriptions","organizations_url":"https://api.github.com/users/manad777/orgs","repos_url":"https://api.github.com/users/manad777/repos","events_url":"https://api.github.com/users/manad777/events{/privacy}","received_events_url":"https://api.github.com/users/manad777/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chocolatey/choco/labels/0%20-%20Backlog","name":"0 - Backlog","color":"CCCCCC"},{"url":"https://api.github.com/repos/chocolatey/choco/labels/Enhancement","name":"Enhancement","color":"0052cc"},{"url":"https://api.github.com/repos/chocolatey/choco/labels/Up%20For%20Grabs","name":"Up For Grabs","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-16T20:20:55Z","updated_at":"2016-03-04T20:04:14Z","closed_at":null,"body":"Here's the output of an install or upgrade command on a Windows install with a misconfigured firewall which did not allow the connection to go through.\r\n\r\n```\r\n$ cup chocolatey\r\nChocolatey v0.9.9.8\r\nUpgrading the following packages:\r\nchocolatey\r\nBy upgrading you accept licenses for the packages.\r\nchocolatey is not installed. Installing...\r\nchocolatey not installed. The package was not found with the source(s) listed.\r\n If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not.\r\n Version: \"\"\r\n Source(s): \"https://chocolatey.org/api/v2/\"\r\n\r\nChocolatey upgraded 0/1 package(s). 1 package(s) failed.\r\n See the log for details (C:\\ProgramData\\chocolatey\\logs\\chocolatey.log).\r\nFailures:\r\n - chocolatey\r\n```\r\n\r\nIt would be clearer if choco would output something like \"Could not establish connection to server\"."},"comment":{"url":"https://api.github.com/repos/chocolatey/choco/issues/comments/192442978","html_url":"https://github.com/chocolatey/choco/issues/407#issuecomment-192442978","issue_url":"https://api.github.com/repos/chocolatey/choco/issues/407","id":192442978,"user":{"login":"chucker","id":20194,"avatar_url":"https://avatars.githubusercontent.com/u/20194?v=3","gravatar_id":"","url":"https://api.github.com/users/chucker","html_url":"https://github.com/chucker","followers_url":"https://api.github.com/users/chucker/followers","following_url":"https://api.github.com/users/chucker/following{/other_user}","gists_url":"https://api.github.com/users/chucker/gists{/gist_id}","starred_url":"https://api.github.com/users/chucker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chucker/subscriptions","organizations_url":"https://api.github.com/users/chucker/orgs","repos_url":"https://api.github.com/users/chucker/repos","events_url":"https://api.github.com/users/chucker/events{/privacy}","received_events_url":"https://api.github.com/users/chucker/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T20:04:14Z","updated_at":"2016-03-04T20:04:14Z","body":"This also happens with e.g. HTTP status code 500. I.e., when something is broken on the server/API end, the client incorrectly assumes the package does not exist."}}