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
54
votes
11 answers

How to use bundler behind a proxy?

I get the following output from the sudo bundle install command: Fetching source index for `http://rubygems.org/` Could not reach rubygems repository `http://rubygems.org/` Could not find gem 'rspec-rails (>= 2.0.0.beta.22, runtime)' in any of…
bioneuralnet
  • 5,283
  • 1
  • 24
  • 30
54
votes
2 answers

Why some iphone apps won't finish ssl handshake with Charles Proxy?

I am using Charles Proxy to see all of the traffic that is coming out of my iphone. I have the ssl certificate/profile installed on my iphone and I can see a lot of the traffic that is ssl encrypted. However, some applications seem to not finish the…
Grant Brown
  • 613
  • 1
  • 8
  • 11
54
votes
1 answer

What does the Hibernate proxy object contain?

All I could gather from Google is that: Hibernate uses a proxy object to implement lazy loading. When we request to load the Object from the database, and the fetched Object has a reference to another concrete object, Hibernate returns a proxy…
vineeshchauhan
  • 765
  • 2
  • 7
  • 14
54
votes
5 answers

How do I use cygwin behind the corporate firewall

I'm in a Microsoft IE environment, but I want to use cygwin for a number of quick scripting tasks. How would I configure it to use my windows proxy information? Ruby gems, ping, etc are all trying to make direct connections. How can I get them to…
MattK
  • 1,521
  • 1
  • 12
  • 25
53
votes
4 answers

git:// through proxy

I'm behind a firewall that is blocking port 9418 (git) and am trying to install some tools that are explicitly doing a checkout of git://github.com/..., so I can't switch to https for the checkout. So I'm wondering if it's possible to redirect all…
user578895
53
votes
6 answers

Proxy in package.json not affecting fetch request

I am trying to fetch some data from the development server using React. I am running the client on localhost:3001 and the backend on port 3000. The fetch request : const users = fetch('/api/users'); users.then((err,res) => { …
Radoslav Naidenov
  • 747
  • 1
  • 5
  • 12
53
votes
5 answers

Using Git on Windows, behind an HTTP proxy, without storing proxy password on disk

I'm using Git on Windows, on a corporate network where I'm behind an HTTP proxy with Basic authentication. Outbound SSH doesn't work, so I have to use HTTPS through the proxy. I'm aware of how to use git config http.proxy to configure the settings…
ajd
  • 982
  • 1
  • 8
  • 19
53
votes
5 answers

Return a requests.Response object from Flask

I'm trying to build a simple proxy using Flask and requests. The code is as follows: @app.route('/es///', methods=['GET', 'POST', 'PUT']): def es(index, type, id): elasticsearch =…
Fred Foo
  • 355,277
  • 75
  • 744
  • 836
53
votes
11 answers

Charles proxy fails on SSL Connect Method

I have Android 4.3 forced to use Charles proxy via IPTABLES. The charles certificate is installed on the phone. I am able to capture normal SSL traffic like https websites in the browser. All POST and GET methods seem to work fine. In a particular…
user1318504
  • 608
  • 1
  • 6
  • 11
52
votes
5 answers

How can I set an HTTP Proxy (WebProxy) on a WCF client-side Service proxy?

How can I set the HTTP proxy programmatically, on a WCF client, without using the default proxy? Proxies, proxies, proxies. According to the WCF model of development, I generate client-side "proxy" classes by running svcutil.exe on the WSDL for…
Cheeso
  • 189,189
  • 101
  • 473
  • 713
52
votes
1 answer

SVG images blocked by gmail proxy

It seems like the new gmail proxy for images doesn't work with SVG (gives a 404 error if you open the proxy url in a new tab.) I haven't been able to find any documentation about supported/blocked file-types. Is SVG in gmail working for anyone…
Redzarf
  • 2,578
  • 4
  • 30
  • 40
52
votes
5 answers

How to redirect on the same port from http to https with nginx reverse proxy

I use reverse proxy with Nginx and I want to force the request into HTTPS, so if a user wants to access the url with http, he will be automatically redirected to HTTPS. I'm also using a non-standard port. Here is my nginx reverse proxy config:…
rbinsztock
  • 3,025
  • 2
  • 21
  • 34
51
votes
7 answers

svn over HTTP proxy

I'm on laptop (Ubuntu) with a network that use HTTP proxy (only http connections allowed). When I use svn up for url like 'http://.....' everything is cool (google chrome repository works perfect), but right now I need to svn up from server with…
small_jam
  • 637
  • 2
  • 7
  • 7
51
votes
5 answers

Using an HTTP PROXY - Python

I familiar with the fact that I should set the HTTP_RPOXY environment variable to the proxy address. Generally urllib works fine, the problem is dealing with urllib2. >>> urllib2.urlopen("http://www.google.com").read() returns urllib2.URLError:…
RadiantHex
  • 24,907
  • 47
  • 148
  • 244
51
votes
2 answers

nginx proxy all traffic to remote nginx

I have 2 servers, with IP xx.xx.xx.xx, situated in Germany ... (running frontend: nginx(static content), backend: Apache2) with IP yy.yy.yy.yy, situated in Italy... All requests at the moment is sending to server with IP xx.xx.xx.xx, How can I…
user676674
  • 519
  • 1
  • 5
  • 3