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

Proxy authentication issue #21

Open
ghidello opened this issue Jul 31, 2013 · 4 comments
Open

Proxy authentication issue #21

ghidello opened this issue Jul 31, 2013 · 4 comments

Comments

@ghidello
Copy link

My windows machine is set to use a PAC file for the proxy configuration with a login/password authentication scheme.
I changed the Xamarin Studio config file specifying a proxy which does not require the authentication and so I'm now able to connect to the internet and to download your the nuget add-in. When I try to use it though I have the following error: (407) Proxy Authentication required.

It looks like it's using the windows proxy instead of the one used by Xamarin Studio.

@mrward
Copy link
Owner

mrward commented Jul 31, 2013

Can you try adding your proxy username and password to the NuGet.config file?

mono --runtime=v4.0.30319 NuGet.exe sources update -name FeedName -username user -password pass

Just interested if that allows you to add NuGet packages to your project.

@mrward
Copy link
Owner

mrward commented Aug 1, 2013

Another thing to try is configuring the proxy in your NuGet.config. It looks like you can set the proxy, username and password using a command line similar to:

nuget config -Set HTTP_PROXY=http://127.0.0.1 -Set HTTP_PROXY.USER=domain\user

http://docs.nuget.org/docs/reference/nuget-config-settings

@mrward
Copy link
Owner

mrward commented May 28, 2014

In Xamarin Studio 5.0 the NuGet addin should use the proxy provider built into Xamarin Studio. Would you be able to check if your problem is fixed with Xamarin Studio 5.0?

@ghidello
Copy link
Author

ghidello commented Jun 3, 2014

Sorry for the super late answer: i didn't notice your previous answers.

Anyway, I just installed the latest Xamarin studio release available (878). I still had to hack the XamarinStudio.exe.config file in order to change the proxy and be able to see the news in the main page because I didn't find a configuration option for it: I'll double check it.
Then, I created a new asp.net MVC 3 project, pressed on the Add package button and a proxy authentication window has appeared to me allowing to specify my proxy identity settings.

So, at least with the .config file hack, it looks that the package manager is not using the Studio proxy settings but it's own. Anyway, it's working!

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants