{ from: 'client', to: 'server' }
disconnected
{ from: 'server', to: 'client' }
events.js:72
throw er; // Unhandled 'error' event
^
Error: connect ECONNREFUSED
at errnoException (net.js:901:11)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data: xx.x.xxx.xx npm -g update npm | |
data: xx.x.xxx.xx npm | |
data: xx.x.xxx.xx http GET https://registry.npmjs.org/npm | |
data: xx.x.xxx.xx npm | |
data: xx.x.xxx.xx http 200 https://registry.npmjs.org/npm | |
data: xx.x.xxx.xx npm | |
data: xx.x.xxx.xx http GET https://registry.npmjs.org/npm/-/npm-1.3.23.tgz | |
data: xx.x.xxx.xx npm http 200 https://registry.npmjs.org/npm/-/npm-1.3.23.tgz | |
data: xx.x.xxx.xx npm | |
data: xx.x.xxx.xx http GET https://registry.npmjs.org/npm/1.3.23 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TypeError: Cannot call method 'indexOf' of undefined | |
at ServerResponse.res.location (/home/app/nko4/source/node_modules/express/lib/response.js:645:13) | |
at ServerResponse.res.redirect (/home/app/nko4/source/node_modules/express/lib/response.js:701:8) | |
at app.get.invite (/home/app/nko4/source/controllers/login.coffee:27:18) | |
at callbacks (/home/app/nko4/source/node_modules/express/lib/router/index.js:164:37) | |
at setReturnTo (/home/app/nko4/source/controllers/login.coffee:22:12) | |
at callbacks (/home/app/nko4/source/node_modules/express/lib/router/index.js:164:37) | |
at param (/home/app/nko4/source/node_modules/express/lib/router/index.js:138:11) | |
at pass (/home/app/nko4/source/node_modules/express/lib/router/index.js:145:5) | |
at Router._dispatch (/home/app/nko4/source/node_modules/express/lib/router/index.js:173:5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TypeError: Cannot read property 'admin' of undefined | |
at /home/app/nko4/source/controllers/middleware.coffee:33:22 | |
at ensureAuth (/home/app/nko4/source/controllers/middleware.coffee:23:12) | |
at module.exports.ensureAccess (/home/app/nko4/source/controllers/middleware.coffee:32:14) | |
at callbacks (/home/app/nko4/source/node_modules/express/lib/router/index.js:164:37) | |
at Promise.<anonymous> (/home/app/nko4/source/controllers/middleware.coffee:67:18) | |
at Promise.<anonymous> (/home/app/nko4/source/node_modules/mongoose/node_modules/mpromise/lib/promise.js:162:8) | |
at Promise.EventEmitter.emit (events.js:95:17) | |
at Promise.emit (/home/app/nko4/source/node_modules/mongoose/node_modules/mpromise/lib/promise.js:79:38) | |
at Promise.fulfill (/home/app/nko4/source/node_modules/mongoose/node_modules/mpromise/lib/promise.js:92:20) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM | |
ChildProcess.spawn (child_process.js:927:11) | |
exports.spawn (child_process.js:715:9) | |
runFs (/opt/local/lib/node_modules/solenoid/lib/solenoid.js:314:5) | |
/opt/local/lib/node_modules/solenoid/node_modules/async/lib/async.js:594:23 | |
/opt/local/lib/node_modules/solenoid/node_modules/async/lib/async.js:508:21 | |
/opt/local/lib/node_modules/solenoid/node_modules/async/lib/async.js:224:13 | |
/opt/local/lib/node_modules/solenoid/node_modules/async/lib/async.js:108:13 | |
_each (/opt/local/lib/node_modules/solenoid/node_modules/async/lib/async.js:32:24) | |
async.each (/opt/local/lib/node_modules/solenoid/node_modules/async/lib/async.js:107:9) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~$ | |
xcuserdata | |
build | |
Icon | |
.fseventsd | |
.VolumeIcon.icns | |
.DS_Store | |
*~.nib | |
*.xcworkspace | |
*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var BufferedList = require('bl'); | |
var source = new BufferedList(), | |
middle = new BufferedList(); | |
// | |
// Buffer a bunch of strings. | |
// | |
for (var i = 0; i < 1000; i++) { | |
source.append('push: ' + i + '\n'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
var caronte = require('caronte'); | |
var Primus = require('primus'); | |
var server = http.createServer(function (req, res) { | |
res.writeHead(500); | |
res.end('Not Implemented\n'); | |
}); | |
var primus = new Primus(server, { transformer: 'engine.io' }); |
~/n/j/proxy ❯❯❯ node primus-proxy.js
{ from: 'server', to: 'client' }
reconnecting
{ from: 'server', to: 'client' }
{ from: 'client', to: 'server' }
disconnected
events.js:72
throw er; // Unhandled 'error' event
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var caronte = require('caronte'); | |
var ws = require('ws'); | |
var proxy = caronte.createProxyServer({ | |
ws: true, | |
target: 'http://localhost:9000' | |
}); | |
var wss = new ws.Server({ port: 9000 }) | |
wss.on('connection', function (ws) { |