2
votes
0answers
145 views

How do I check for a Rails session in node-http-proxy?

We have a Rails app with a view that gets populated with data from a third-party API. Currently, this view uses a swf streamer to open a socket to the endpoints. Recently, the API's provider has ...
2
votes
0answers
313 views

Node.js - help intercepting packets

I have the following Node.js proxy (http://www.catonmat.net/http-proxy-in-nodejs/) which I can print out packets from: var http = require('http'); var util=require('util'); var net=require('net'); ...
2
votes
0answers
217 views

Getting Node.io to work through a proxy

I'm trying to use node.io (web scraping module) through a proxy. I know it has untested support for proxies built in, but I cannot get it to work. Does anyone know how to get it working? Thanks,
1
vote
0answers
26 views

Have you managed to make your node nginx proxy setup on Heroku work?

Have you managed to make your node + nginx proxy setup on Heroku work? Could you, please, tell me how have your organized the directories structure and the files in each directory before doing "git ...
1
vote
0answers
24 views

Proxying HTTPS using Node.js (without SSL certificate)

I'm trying to setup a local server to proxy some of the requests to a remote https server, where some files are served locally. It can be done using apache mod_ssl, mod_proxy, without asking me a ...
1
vote
0answers
64 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 - ...
1
vote
0answers
208 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
0answers
195 views

Set Node.js to use a local HTTP/SOCKS proxy for all outgoing requests?

I am using Node.js on Windows, and unfortunately had to pipe all outbound traffic through a corporate proxy (HTTP/SOCKS) to test any outgoing requests (for example, oauth, where node.js must reach ...
1
vote
0answers
73 views

nginx does not starting with multiple nodejs apps

i have this config in sites-enabled/default upstream domainone.com.ar { server 127.0.0.1:9000; } server { listen 80; server_name www.domainone.com.ar; rewrite ^/(.*) http://domainone.com.ar/$1 ...
1
vote
0answers
131 views

config nginx for multiple nodejs apps

hello i have to config multiple apps of nodejs using nginx... this is my actual configuration upstream domain.com.ar { server 127.0.0.1:9000; } server { listen 80; server_name ...
1
vote
0answers
186 views

Following redirects in Node.js

I'm working on proxy for downloading files from Google Docs. Since the download urls Google Drive API gives for non-gdrive filetypes (pdf, txt, jpeg) are redirects and having read [1] and [2], I ...
1
vote
0answers
126 views

Proxied connection in Node Express app fails to close

Intro I am using a Node Express app to proxy AJAX requests to a REST API because the API doesn't support CORS or JSONP yet. The Node app is running on Heroku. We have a reverse proxy setup in front ...
1
vote
0answers
355 views

Node.js caching proxy server

I am trying to create a http caching proxy server using node.js , where i could forward to any webpages and cached them on my local disk ! The following is my first attempt code : var http = ...
1
vote
0answers
140 views

How to use node.js Context.IO behind a department proxy?

Here is my node.js code to use Context.IO in a RESTful way rather than IMAP. var ContextIO = require('contextio'); var ctxioClient = new ContextIO.Client({ key: 'MY_KEY', secret: 'MY SECRET' }); ...
1
vote
0answers
389 views

HTTP malformed packet exception

I'm developing a proxy in node.js. I have developed an addon which analyses packets and almost always changes the packets' length. Here is the code: var http = require('http'); var ...

1 2 3 4
15 30 50 per page