0
votes
1answer
25 views

How can I use an http proxy with node.js https?

I want to make an https request call from node.js, using the standar https Client. But I cannot reach the remote server directly from my network and need to go through a proxy. How do I tell node.js ...
-1
votes
0answers
29 views

installing node modules with npm install

im using debian 6, nodejs 0.10 npm 1.2. installed on a cloudserver. this is my package.json { "name": "app", "version": "0.0.1", "private": true, "scripts": { "start": "node app" }, ...
0
votes
0answers
16 views

Memory leak in node js proxy program

I am trying to change the response (change the content of the script tags) returned by server with the help of a proxy written in node js. The proxy is working fine, however There is a segmentation ...
0
votes
0answers
10 views

Serve a file while it's being downloaded

What's the best way to serve a file while it's being downloaded by the server? I tried to pipe the ClientResponse to the ServerResponse but the file is stored in memory. The distant machine I'm ...
0
votes
2answers
28 views

Casper --proxy doesn't work

Here is my code to check for IP address using http://whatismyipaddress.com/proxy-check var casper = require("casper").create(), utils = require('utils'); casper.userAgent('Mozilla/5.0 (Windows ...
1
vote
0answers
16 views

Proxying WebSockets & HTTP using custom path with nodeJS to a separate NodeJS app?

CONTEXT I am trying to build a new web app in NodeJS. This webapp uses two main components. 1) Code that I am writing within NodeJS - AKA my own logic flow. 2) A 3rd party open source NodeJS app - ...
0
votes
1answer
52 views

simple proxy server that works on a node.js host like appfog

We'd like to surf the internet through a node.js proxy on appfog. We tried this code: proxy2a.js: var http = require('http'); var port = process.env.VCAP_APP_PORT || 8080; console.log ('the ...
0
votes
0answers
44 views

Why is my simple node.js proxy not working when I deploy to heroku or to appfog?

I found a simple proxy server here (answer by Nikolai Gorchilov) , that works perfectly when I run it on my local machine. But when I deploy to heroku or to appfog it doesn't work. Firefox gave an ...
4
votes
3answers
175 views

How can I send UDP packets through a SOCKS5 proxy in NodeJS?

Is there a way to send UDP packets through a SOCKS5 proxy in NodeJS? Similarly, is it possible to bind a UDP socket to a specific localAddress?
0
votes
1answer
75 views

Calling a https web service in node.js (Behind proxy)

I am trying to call a https web service from node.js. I am behind a proxy, so i am providing the proxy and port in the options along with the credentials. But i am getting the following error [Error: ...
0
votes
1answer
28 views

How to override node.js http to use a proxy for all outbound requests

I recently created a node.js app that reaches out to social media sites and caches our public feeds. I'm using some existing npm modules to facilitate accessing the social media api's. It works like a ...
0
votes
0answers
35 views

How does the user authenticate using 'http-auth' and 'http-proxy' in a nodejs server?

When running the first example found at https://github.com/gevorg/http-auth, and visiting the server through the browser, the browser pops up a window asking for username and password in order to ...
0
votes
0answers
124 views

Image Manipulation in NodeJs using gm

I have to add some text over the images returned in HTTP response. I am using gm (graphicmagick) to achieve it, but getting the following error: events.js:72 throw er; // Unhandled 'error' event ...
1
vote
1answer
167 views

Node.js HTTPS proxy server not working

I would like to create a proxy for HTTPS connections with Node.js. I am using the http-proxy library, which works well. I can get a HTTP proxy to work perfectly, but when I try HTTPS, the request to ...
0
votes
0answers
38 views

how to get chunk data from response

I wrote following code to encrypt my http traffic over nodejs Proxy var http = require('http'), httpProxy = require('http-proxy'); var algorithm = 'aes256'; // or any other algorithm supported by ...

1 2 3 4 5 9
15 30 50 per page