Questions tagged [proxy-authentication]
81 questions
1
vote
1 answer
Pop the Proxy Authentication dialog when a proxy challenge provides a 407 response with a Proxy-Authenticate header
In my App I've configured a proxy for the NSURLSessionConfiguration object so the App can use the proxy. When the proxy requires authentication, the App will ask for username and password via the delegate method…

berchan z
- 11
- 4
1
vote
0 answers
WiX Web Installer With Proxy Server
I'm writing a Web Installer using WiX technology. Using following code I've successfully created and tested a simple installer that downloads MSI package from server:
private void OnResolveSource(object sender, ResolveSourceEventArgs e)
{
…

Azaz ul Haq
- 1,635
- 2
- 18
- 46
1
vote
1 answer
what is the best library to send http request for desktop applications
My application is running in Windows and I have to send some requests to the server. I am currently using libcurl.
However there is a limitation when proxy server with authentication is involved before the request sent out to the server.
I explored…

linux developer
- 821
- 1
- 13
- 34
1
vote
2 answers
Proxy setting for HttpClient 4 not working
I am using Apache HttpClient library to connect to url. The network in which i am doing has a secure proxy to it. when i am using the java.net package to connect to the url i just have to add the
System.setProperty("http.proxyHost",…

Vaibhav Jain
- 119
- 3
- 16
1
vote
0 answers
How to run Apache ACE devserver using Proxy
I am trying to start Apache Ace devserver on my machine running on a corporate network that requires proxy authentication, but the server does not starts & it gives Connection timeout error.
Following the instructions from the link…

Ayushi
- 405
- 1
- 9
- 19
1
vote
1 answer
In java EE 6: When could I change properties on EntityManager?
I want to use proxy authentication to an Oracle Express database in a simple web app with java EE 6 on Glassfish. Eclipselink 2.3.0 doc here says:
If a JEE and JTA managed EntityManager is used, specifying a proxy user/password can be more…

mbwiese
- 81
- 2
- 6
0
votes
1 answer
My WCF service is throwing Error when running through a windows service
I have created one WCF service, in which I am reading the msn whether feeds and new feeds through HttpWebRequest and HttpWebResponse using C# coding. When I execute the service in my local PC its working fine and getting the feeds properly, not only…

Sai Kalyan Kumar Akshinthala
- 11,704
- 8
- 43
- 67
0
votes
1 answer
WSDL2Objc code crash behind authentication HTTP proxy - Help to understand the crash log
I successfully invoke WS from my App with WSDL2Objc Generated code. I sent my application to colleagues for testing purpose and they reported me that the App crashes whenever try to connect to WS. The fact is the iPad is behind and HTTP…

Indio
- 337
- 1
- 3
- 12
0
votes
0 answers
How to set ProxyAuthenticationStrategy in HttpClientBuilder?
I am updating the java version of our micro services from Java 11 to Java 17.
In one of our micro services I have the following piece of code:
baseHttpClientBuilder.
.setProxyAuthenticationStrategy(INSTANCE)
...
...
.build()
where the…

Ivajlo Iliev
- 303
- 1
- 3
- 19
0
votes
0 answers
How to send WebSocket request through proxy in C#?
I am trying to send request over websocket through proxy in C# but I am getting server unavailable error. However it works without proxy. I have the following code:-
strCompleteURL = "ws://xxxxxxxxxxxxxxxx";
…

Puneet Pant
- 918
- 12
- 37
0
votes
1 answer
Getting 407 Authorization error while executing RestAssured code after providing custom proxy details
I'm new to API testing using Rest Assured.
As I'm working behind the proxy, I have used all the proxy details in the code. Below is the code I'm trying to execute. Getting 407 error.
RequestSpecification httpRequest =…

Lal
- 1
- 1
0
votes
0 answers
ERR_UNEXPECTED_PROXY_AUTH for preflight request in chrome only first time
While hitting AWS gateway API's, there is getting ERR_UNEXPECTED_PROXY_AUTH error with status:0 on preflight (OPTIONS)request.
This error is on first time only and when it tries for the second time its working fine as expected.
Any comments on the…

Nithin
- 1
- 1
0
votes
1 answer
Ticket validated but no PGT in the ticket validation response (CAS 6.5.9)
I have successfully configured CAS 6.5.9 with Proxy Authentication. As mentioned in the documentation, my use case does not support the invoking of a callback url so I have requested that the PGT be returned in the validation response.
Everything…

tfrancois
- 175
- 10
0
votes
0 answers
Proxy authentication with python requests
I am using the following code. I have removed the actual 'username' and 'password' and 'proxy_address' objects for privacy reasons.
auth = HTTPProxyAuth('username', 'password')
r = requests.get(hyperlink, proxies={'http': proxy_address, 'https':…

Ethan Wells
- 49
- 4
0
votes
1 answer
Proxy Authorization in actionscript to avoid OS prompt
I have an air app and I want to add proxy-authorization header whenever my client is behind a proxy. I am adding 'proxy-Authoriztion' header in urlRequest headers but still I am getting the OS prompt for username/password.
var loader:HTMLLoader =…

Mady
- 5,016
- 7
- 35
- 46