Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get packages and package information from behind proxy. #85

Closed
cansley opened this issue Dec 5, 2013 · 2 comments
Closed
Labels
Bug Issues where something has happened which was not expected or intended TaskItem Non-bug, non-feature related things. Could be refactoring. Sometimes non-code related things.
Milestone

Comments

@cansley
Copy link

cansley commented Dec 5, 2013

Program installs and lanuches without error. On Installed Packages screen, this is what I get:
image

If I change to the Available packages tab, the application crashes. Error logged is:
2013-12-02 16:51:21.0127 11 [ERROR] Chocolatey.Explorer.Services.PackageVersionService.ODataPackageVersionService Message: Unable to connect to the remote server - Stacktrace: at System.Net.HttpWebRequest.GetResponse()
at Chocolatey.Explorer.Services.PackageVersionService.ODataPackageVersionService.FillWithOData(String package)

ODataAvailablePackagesService.cs - Line 98:
rssFeed.Proxy = null;

ODataPackageVersionService.cs - Line 91:
_loadingRssFeed.Proxy = null;

Removing these lines and adding the following line seems to correct the problem (and the corresponding line for _loadingRssFeed):
rssFeed.Proxy.Credentials = System.Net.CredentialCache.DefaultCredentials;

If no proxy is required, this new code has no affect.

@gep13
Copy link
Member

gep13 commented Dec 10, 2013

Hey,

Please accept my apologies for not replying to this issue sooner. I have been a little bit busy lately. Thanks for much for raising this. I will take a look at your suggestion, and get this included in the next version as soon as possible.

Thanks

Gary

@RichiCoder1
Copy link
Contributor

Closing this. If it's still an issue in the WPF refresh, please let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues where something has happened which was not expected or intended TaskItem Non-bug, non-feature related things. Could be refactoring. Sometimes non-code related things.
Projects
None yet
Development

No branches or pull requests

3 participants