Questions tagged [webproxy]
136 questions
1
vote
1 answer
Timeout exception does not occur on time
I wrote the following code using httpwebrequest(Timeout=2000) and webproxy
The following code always will throw an exception because of wrong url ("ww.google.com")
When I run the program, I get two kinds of exception alternately
1. The remote…

Lady Jane
- 25
- 5
1
vote
1 answer
How to get proxy definitions from within an activeX
Ok, so here is the scenario:
I have an activeX that uploads files using HttpWebRequest class. My problem is that I have to specify the network credentials in order to get the activeX to work properly behind a proxy server.
Here is the…

Sergio
- 8,125
- 10
- 46
- 77
1
vote
1 answer
Testcafe webproxy dropping payload
I'm new to testcafe and don't know if I am doing something wrong with my tests. When I call a post to my endpoint It seems the payload is lost somewhere in the proxy.
Here is the request that is sent:
URL …

user7631998
- 21
- 2
1
vote
1 answer
How to fully terminate HttpWebRequest
Even though i am properly terminating everything when i check existing HTTP connections i see they are not terminated
For example when i open 200 concurrent connections by starting different tasks
I see
158 Established HTTP connections
927…

Furkan Gözükara
- 22,964
- 77
- 205
- 342
1
vote
1 answer
C# Download File from HTTP File Directory getting 401 error or 403 error
I’m trying to download several files from a local network device:
http file directory
I want to write a code that will automatically download all those .avi files to my pc drive.
I have 2 problems:
Problem 1: AUTHENTICATING using WebClient class…

gman
- 11
- 2
1
vote
1 answer
twilio java connection with proxy authentication
I am setting up a java Twilio connection using the example Twilio java-sdk from the api examples here.
The only difference is I need to run my Twilio connection through a web-proxy with authentication.
There are other questions about connecting to…

egerardus
- 11,316
- 12
- 80
- 123
1
vote
1 answer
Set network Credentials for stackExchange Redis connection multiplexer
I have setup a remote redis server.
The client uses a web proxy to connect to the internet.
How do I set the StackExchange.redis ConnectionMultiplexer to use a webProxy in C#?
The following is my ConnectionMultiplexer code:
ConnectionMultiplexer…
1
vote
1 answer
Configuring squid so that browser doesn't prompt for login/password
At the company where I work, we have a web proxy and the browser prompts for login/pass every time I open it. After seeing this, I installed squid in my computer, configure my company web proxy as a parent cache in my squid.conf (with my…

Paulo
- 1,458
- 2
- 12
- 26
1
vote
1 answer
PHP Web Proxy - Make all resources on web site pass through the proxy?
I am creating a simple PHP web proxy. The PHP script currently correctly fetches the page's HTML from the backend.
However clearly this is not enough since all the resources (img, script, link, a) all point to relative or absolute links e,g…

Joseph
- 1,003
- 3
- 11
- 25
1
vote
3 answers
web-proxy for angularjs application
I have to create a web-proxy script for my angularjs files because I got the error of CORS(Cross Origin Request Method) and I dont have any options to use Access Control Allow Origin because I cant make any changes to my server end.
My backend data…

trying...
- 309
- 1
- 11
1
vote
1 answer
Using web proxy with curl
I would like to use curl to make HTTP POST requests through a web proxy. I have an example without a proxy.
Is it possible to make a programmatic post to a web proxy using curl passing in my destination URL, and get the result?
Thank you

user3643038
- 143
- 12
1
vote
1 answer
Unable to get Proxy-Authorization Header as HTTP response during Squid proxy Authentication
I am trying to access service bus via a squid3 webproxy with Basic authentication enabled in the proxy using C#
i am using below code to set the web proxy
webproxy webproxy = new webproxy("http://weproxyuri:port", false);
webproxy.credentials = new…

akshay venkatesha
- 335
- 3
- 7
1
vote
0 answers
Obtaining Windows Proxy Settings
I have read so many posts, forums and question regarding proxy settings but still cannot find what I am looking for. Most of the proxy related articles are too old or deprecated.
Very simple:
I can set all the settings I would like to regarding the…

Solx85
- 244
- 2
- 16
1
vote
0 answers
How to one proxy server
I want to create one proxy server in c# which will accept request from client and route the request with another real proxy and return result back to client.
For Example:
Client send a request for www.google.com with proxy as my server IP.
So,…

Pawan Agrawal
- 412
- 8
- 26
1
vote
2 answers
In C#, how can I parse out a url from a html page that I have got using webproxy.load()?
I am trying to read in the current day's dilbert image. I am able to get the full text of the page by doing this:
var todayDate = DateTime.Now.ToString("yyyy-MM-dd");
var web = new HtmlWeb();
web.UseCookies = true;
…

leora
- 188,729
- 360
- 878
- 1,366