Questions tagged [proxy]

A device or program that stands between two or more interconnected programs or devices. Use [dynamic-proxy] for the Java class, [proxy-pattern] for the design pattern, [es6-proxy] for the JavaScript Proxy object.

A proxy server is a server that acts as an intermediary for requests from clients seeking resources from other servers. A client connects to the proxy server, requesting some service, such as a file, connection or a web page available from a different server, and the proxy server evaluates the request as a way to simplify and control its complexity.


Purpose

Many users worry about what kind of information can be traced back to them. An Internet proxy server can be used as an intermediary so that the sites never directly connect to the host network. Some websites block certain Internet users by geography, so using a Web proxy located in the Web host's country will allow foreign users to use the website.


References

19642 questions
51
votes
7 answers

Git error: fatal: unable to connect a socket (Invalid argument)

I've got msysGit (Git on Windows) working just fine on my home machine, but at work, where we are behind a Microsoft ISA proxy, I get the following error when I do a git clone: H:\>git clone git://github.com/akitaonrails/vimfiles.git Initialized…
Charles Roper
  • 20,125
  • 20
  • 71
  • 101
51
votes
9 answers

Docker nginx reverse proxy gives "502 Bad Gateway"

I'm trying to have a docker container with nginx work as reverse proxy to other docker containers and I keep getting "Bad Gateway" on locations other other than the base location '/'. I have the following server block: server { listen 80; …
jollege
  • 1,019
  • 1
  • 9
  • 12
51
votes
2 answers

Nginx trailing slash in proxy pass url

I am using nginx to proxy pass to a NodeJS application. I'm trying to make the URL https://example.com proxy pass the request to http://example.com:8080/? Requests (from a mobile app) are requesting https://example.com// which nginx is making…
Pratyay Modi
  • 521
  • 1
  • 4
  • 4
51
votes
4 answers

How to test a site "from" another country?

I just had a call from norway saying that there is a weird domain redirect that ends up in a 404 error, how can I simulate that I am in another country or replicate this error?
Toni Michel Caubet
  • 19,333
  • 56
  • 202
  • 378
51
votes
2 answers

Solution. How to install_github when there is a proxy

When you try to install some package of R from GitHub's repository install_github('rWBclimate', 'ropensci') If you have the following error: Installing github repo(s) rWBclimate/master from ropensci Downloading rWBclimate.zip from…
Guillermo Santos
  • 1,361
  • 1
  • 11
  • 7
51
votes
10 answers

Eclipse Kepler not connecting to internet via proxy

I have managed to get Eclipse Juno connecting to the internet. For this to accomplish, there are many posts here on stackoverflow. here is one of this links: Eclipse not connecting to internet via proxy Today i installed Eclipse Kepler on my…
cho
  • 553
  • 1
  • 4
  • 8
50
votes
3 answers

How does a HTTP Proxy utilize the HTTP protocol? a Proxy RFC?

How does one go about implementing a HTTP proxy compared to implementing a HTTP webserver, what are the differences? Is there a definitive guide or RFC or a helpful book on this subject?
unixman83
  • 9,421
  • 10
  • 68
  • 102
50
votes
4 answers

bower behind a proxy

bower install behind a proxy fails in timeout with the following settings (some set are useless...) : git config --global http.proxy fr-proxy.example.com:3128 git config --global https.proxy fr-proxy.example.com:3128 export…
benek
  • 2,088
  • 2
  • 26
  • 38
49
votes
1 answer

logging proxy activity in nginx

I am using rewrite and proxy_pass and I am having some intermittent issues with the site I am proxying said rewrites too. Is there a means to log the proxy activity so I that I can debug this problem?
hinder90
  • 571
  • 1
  • 4
  • 7
49
votes
4 answers

Set proxy through windows command line including login parameters

I want to set a proxy throught the command line, first thing I found out is that you have to run command line with administrator rights - then the basic proxy set would be: netsh winhttp set proxy SERVER:PORT This works nice, but I also want to add…
jave.web
  • 13,880
  • 12
  • 91
  • 125
48
votes
7 answers

Proxy Basic Authentication in C#: HTTP 407 error

I am working with a proxy that requires authentication, i.e., in a browser if I try to open a page it will immediately ask for credentials. I supplied same credentials in my program but it fails with HTTP 407 error. Here is my code: HttpWebRequest…
rplusg
  • 3,418
  • 6
  • 34
  • 49
48
votes
3 answers

The ServicePointManager does not support proxies of * scheme

I've encountered two different variations of this: "The ServicePointManager does not support proxies of proxy scheme" "The ServicePointManager does not support proxies of HTTPS scheme" I get this error when a client attempts to connect to our…
Tub
  • 1,563
  • 1
  • 10
  • 13
48
votes
5 answers

Using the original URL, not proxy, with browser-sync

Recently switched from Grunt.js to Gulp.js as multiple people told me how much better and faster it wa (it's true!). I have added BrowserSync to my Gulpfile.js, making it easier to test on multiple devices. It works great and was simple to setup.…
Tom Oakley
  • 6,065
  • 11
  • 44
  • 73
48
votes
7 answers

Charles proxy not working with Chrome

I am working on Mac and have identical Proxy settings for the System and Firefox browser. However, I am able to see my Firefox traffic in Chrales but I don't see my Chrome and Safari traffic (which use System Proxy Settings). What do I need to do?…
Asad Iqbal
  • 3,241
  • 4
  • 32
  • 52
48
votes
3 answers

How can I use a SOCKS 4/5 proxy with urllib2?

How can I use a SOCKS 4/5 proxy with urllib2 to download a web page?
Mike
  • 483
  • 1
  • 5
  • 4