Questions tagged [http-proxy]

An HTTP Proxy is a server that receives requests from your web browser and then makes the request to the Internet on your behalf. It then returns the results to your browser.

A proxy server is a server (a computer system or an application) 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, web page, or other resource available from a different server and the proxy server evaluates the request as a way to simplify and control its complexity.

Today, most proxies are web proxies, facilitating access to content on the World Wide Web.

1502 questions
15
votes
1 answer

Android emulator http-proxy SSL handshake failure

I have a local HTTP proxy set up for debugging .json request and response data from my Android application. I deploy it to a Nexus One emulator image running Android 4.2.2 with the command line option -http-proxy http://localhost:8888. I'm using a…
Steven
  • 273
  • 1
  • 6
  • 17
14
votes
1 answer

Heroku No such app error with Node.js node-http-proxy module

I'm trying to redirect traffic from my test app's /api/* url to my api hosted on Heroku. Therefore, localhost/api/hello should be proxied to testapp.heroku.com/hello and the response returned. Using node-http-proxy works perfectly on localhost to…
Le_isms
  • 407
  • 1
  • 4
  • 10
14
votes
1 answer

What does the curl option CURLOPT_HTTPPROXYTUNNEL mean?

In the cURL documentation, there is an option called CURLOPT_HTTPPROXYTUNNEL which is defined to create a tunnel via the proxy when enabled. However, I have no idea what the tunnel is and what does it do. What difference will it make if I don't use…
Atef
  • 593
  • 1
  • 8
  • 18
13
votes
4 answers

How to stop NodeJS "Request" module changes request when using proxy

Sorry if this comes off as confusing. I have written a script using the NodeJS request module that runs and performs a function on a website then returns with the data. This script works perfectly fine when I do not use a proxy by setting it to…
user8979341
13
votes
4 answers

Proxy configuration did not working with angular CLI

8080 – Port where backend is hosted 4200 – my Angular2 frontend In My Angular2 project i have file proxy.config.json with content like this { "/api": { "target": "http://localhost:8080", "secure": false, "changeOrigin": "true", …
DanzerZoneJS
  • 441
  • 3
  • 7
  • 23
13
votes
2 answers

Force cURL to use GET on proxy for HTTPs requests

I'm trying to use a forward proxy server (Apache Traffic Server or Squid) on my local machine, as a local HTTP cache for my cURL calls. I've set up the proxy using: curl_setopt($ch, CURLOPT_PROXY, 'http://localhost:8080'); When I query an HTTP…
BenMorel
  • 34,448
  • 50
  • 182
  • 322
13
votes
2 answers

Socket Hangup error Http-Proxy NodeJS

I am getting following error in my server console when user click signout button. Error: socket hang up at createHangUpError (http.js:1472:15) at Socket.socketCloseListener (http.js:1522:23) at Socket.EventEmitter.emit (events.js:95:17) …
Murugan Pandian
  • 768
  • 1
  • 5
  • 17
13
votes
2 answers

Alternatives to Heroku SSL Endpoint add-on

I'm looking for information on how to configure an HTTP load balancer or proxy server (squid, nginx, HAProxy, etc.) to handle the SSL for my domain as an alternative to adding Heroku's SSL Endpoint add-on for $20/month. The load balancer or proxy…
Matt
  • 925
  • 2
  • 9
  • 19
13
votes
1 answer

Forward every request with node-http-proxy

I'm trying to setup a node-http-proxy that just forwards requests. In the end this proxy should inject javascript in every website I visit through the browser.. Right now, most pages are forwarded and displayed correctly, but some, like…
greenish
  • 1,042
  • 1
  • 8
  • 18
13
votes
3 answers

HTTPWebRequest.GetResponse() failing with authenticated requests through a transparent proxy

We're using the HTTPWebRequest objects to make HTTP requests to our application and we're having a problem when the request requires authentication and there is a transparent proxy (Squid 3.1.10). string url =…
Deanna
  • 23,876
  • 7
  • 71
  • 156
12
votes
1 answer

Is it possible to use Google Chrome as a proxy server?

In my particular network environment the Google chrome executable can access via an authenticated outgoing proxy server external web sites. Other executables however (when pointing to that outgoing proxy) are not able to do so. I now have the idea…
12
votes
6 answers

NodeJS http-proxy: DEPTH_ZERO_SELF_SIGNED_CERT error when proxying https

I'm following online examples using the latest version of nodejs and http-proxy, but get the following error when my request is sent to the endpoint https server: C:\Users\Me\node_modules\http-proxy\lib\http-proxy\index.js:114 throw err; …
IainS
  • 139
  • 1
  • 4
  • 9
12
votes
3 answers

How do I use Bazaar with a HTTP proxy?

How do I use Bazaar with a HTTP proxy? I can't find anything in their documentation.
Joshua
  • 26,234
  • 22
  • 77
  • 106
12
votes
2 answers

Is it possible to tell emacs on Windows to use the IE http proxy settings?

See also: Emacs behind HTTP proxy Is it possible to tell emacs to automatically use whatever proxy settings are in use by IE? The url.el package says I can explicitly specify a proxy like this: (setq url-using-proxy t) (setq url-proxy-services …
Cheeso
  • 189,189
  • 101
  • 473
  • 713
11
votes
1 answer

websocket._exceptions.WebSocketProxyException: failed CONNECT via proxy status: 503

Provided answer need some more details regarding authentication with qlik server I'm trying to connect to qlik using certificates through WebSockets. Error: websocket._exceptions.WebSocketProxyException: failed CONNECT via proxy status:…
shaik moeed
  • 5,300
  • 1
  • 18
  • 54