Questions tagged [proxy-authentication]
81 questions
78
votes
7 answers
The remote server returned an error: (407) Proxy Authentication Required
I'm getting this error when I call a web service:
"The remote server returned an error: (407) Proxy Authentication Required".
I get the general idea and I can get the code to work by adding
myProxy.Credentials = NetworkCredential("user", "password",…

chris
- 821
- 1
- 6
- 5
50
votes
1 answer
HTTP Spec: Proxy-Authorization and Authorization headers
So I'm trying to implement the following scenario:
An application is protected by Basic Authentication. Let's say it is hosted on app.com
An HTTP proxy, in front of the application, requires authentication as well. It is hosted on proxy.com
The…

Mark
- 67,098
- 47
- 117
- 162
39
votes
13 answers
Visual Studio Error: (407: Proxy Authentication Required)
I am behind a corporate proxy server which requires credentials. I have been trying to connect to a TFS server (on tfspreview.com) with MS Visual Studio Pro 2012 for the last 2 hours with no success. Every attempt has been met with this error:
The…

gillytech
- 3,595
- 2
- 27
- 44
34
votes
3 answers
proxy authentication in node.js with module request
I'm trying to use the module request in my node.js app, and I need to configure proxy settings with authentication.
My settings are something like this:
proxy:{
host:"proxy.foo.com",
port:8080,
user:"proxyuser",
…

Victor
- 5,043
- 3
- 41
- 55
30
votes
7 answers
Apache HttpClient 4.1 - Proxy Authentication
I've been trying to configure the user and password for proxy authentication from the configured properties while using Apaches HttpComponent's httpclient, but with no success. All examples I have found refer to methods and classes that are no…

Daniel C. Sobral
- 295,120
- 86
- 501
- 681
18
votes
6 answers
How to set proxy authentication (user & password) using Python + Selenium
I am using Firefox WebDriver in Python 2.7 with Selenium. My python program starts Firefox browser and visits different websites when I run the program. But, I need to set the proxy with authentication, so that when program visits any website, it…

Rafayet Ullah
- 1,108
- 4
- 14
- 27
12
votes
3 answers
Proxy authentication with s_client
Note: this is not a duplicate of openssl s_client using a proxy, as I am specifically interested in proxy authentication, not the ability to use proxy.
I'm using openssl s_client to inspect certificates of the target server to understand how/where…

Aleks G
- 56,435
- 29
- 168
- 265
12
votes
3 answers
Chrome asks for proxy authentication for every page I open, IE doesn't
Chrome used to run properly, when all of sudden it started asking for my proxy's username and password on every page I open. After I enter them, I see the page, but then I need to type them again whenever I open another link.
Chrome (last version)…

Mouad
- 135
- 1
- 2
- 7
10
votes
4 answers
add web service reference from behind a proxy server
I'm using vs2010. In a simple console app I try to add a service reference to http://***/service1.asmx , old asmx service.
My computer is behind a proxy server, so i get an error :
"The remote server returned an unexpected response: (407) Proxy
…

Nikita
- 173
- 1
- 2
- 16
8
votes
3 answers
The remote server returned error: (407) Proxy Authentication Required
I use this code with .NET 3.5 and receive error "The remote server returned an error: (407) Proxy Authentication Required."
using (WebClient client = new WebClient())
{
WebRequest.DefaultWebProxy.Credentials =…

user3624964
- 81
- 1
- 1
- 3
7
votes
0 answers
Apache Reverse proxy with proxy authentication
I have the following setup
Box A (192.168.8.180 - running apache reverse proxy)
Box B (192.168.8.100:808 - Proxy server to connect to internet)
Due to internal reasons, The IP of box A is redirected to http://xyz.mydomain.com/. The reverse proxy…

Murugapandian Ramaiah
- 382
- 1
- 4
- 10
7
votes
1 answer
npm ERR! code E407 Proxy Authentication Required
While I am trying to run npm command, I am getting an error.
The error log is reproduced below:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program…

greatdsa
- 112
- 1
- 1
- 12
7
votes
2 answers
how to use a proxy connection with android studio
I'm trying to run a "hello world" application in android studio. My connection is via proxy. When I try run the "hello world app", android studio show me the next error:
Error running Prueba: Gradle project sync failed. Please fix your project and…

Amaurys Sánchez
- 102
- 1
- 1
- 10
7
votes
3 answers
How can I hide a custom origin server from the public when using AWS CloudFront?
I am not sure if this exactly qualifies for StackOverflow, but since I need to do this programatically, and I figure lots of people on SO use CloudFront, I think it does... so here goes:
I want to hide public access to my custom origin server. …

user319862
- 1,797
- 2
- 24
- 32
6
votes
2 answers
Proxy Authentication in POCO Net C++ library
I have been playing with the Poco Net library for some time, it is quite nice. Very convenient and easy to understand.
I was able to set a proxy address, and it is saying 407 Proxy authorization required, properly. I figured that
HTTPRequest…

Sahas
- 10,637
- 9
- 41
- 51