Tagged Questions
1
vote
0answers
9 views
Websocket form handling
I'd like to send JSON form data to websocket server instead of submitting the form and reload the page.
In AJAX it is pretty simple and straightforward thanks to native FormData() web-api object:
...
0
votes
0answers
14 views
Why cant we use websocket on our server setup (nginx, node js, load balancer)? It's always going to xhr-polling
We have a web application setup with Barracuda Load Balancer (3 servers running). We want to implement node js using websocket (socket.io) but its always falling into xhr-polling (which is way too ...
0
votes
0answers
7 views
faye authentication with token
I am working with faye messaging system and I want to add authentication! I worked my way through the website and followed the tutorial.
On the Client I have an extension for outgoing Messages:
var ...
0
votes
0answers
21 views
Socket.io in reconnecting loop when running in Amazone EC2
I am having a problem with socket.io (websocket) when running in EC2. I don't have any http proxy or loadbalancer installed infront of the node instance. Same code works fine when running in local ...
0
votes
0answers
20 views
Continuation frame cannot follow current opcode
I'm using ws in a Node websocket server.
In production, I frequently get this error:
Error: continuation frame cannot follow current opcode
What is causing this?
How should go about debugging ...
0
votes
0answers
29 views
Socket.io will not work on Windows 7?
Can you clear it for me?
Am i getting right, that there is no way I can use Node.js Socket.io with win7, cos it's WebSocket technology, that supported in IIS 8 only by Windows 8 and Windows Server ...
-3
votes
0answers
20 views
Nodejs error with Azure server
Nodejs error with Azure, websocket.io????? help me please!!!!!!
The page cannot be displayed because an internal server error has occurred.
Thu May 30 2013 17:35:00 GMT+0000 (Coordinated Universal ...
0
votes
1answer
51 views
Parsing JSON url with NODE.JS and keeping it up to date with SOCKET.IO
I am very new to node.js and socket.io and I am trying to figure out how to read a JSON array from an external url, then parse it and display on the main page. Then I believe I use socket.io to keep ...
0
votes
1answer
27 views
Compare 2 circular structure JSON objects
I need to compare 2 websocket connections on my nodejs webserver. i cant just use json.stringify because the objects are circular structure. What to do?
0
votes
0answers
19 views
Node.js http-proxy: How to read the websocket data
I am trying to proxy some websocket calls and want the proxy to interrupt the the incoming data to do some custom logic.
Following is the sample code:
var httpProxy = require('http-proxy');
...
1
vote
1answer
60 views
Using Nginx as a reverse proxy for nodejs ignoring websockets
I'm using nginx 1.5 as a proxy in front of a nodejs express app, mostly to serve the static content. I've successfully upgraded the http version to 1.1 to enable websocket transport.
I'd now like to ...
0
votes
1answer
23 views
Accessing IPython command line from node.js and websockets
How would I go about creating a web app using node.js (Express.js) that can access the python or ipython REPL command line? Essentially I would like to have something like the IPython Notebook, but ...
0
votes
0answers
28 views
node.js event not listening after connection
I have a code where, socket is connected to node server.
io.sockets.on("connection", function(socket){
// socket object is printed with full of data.
// console.log works
// emit here works
});
but ...
2
votes
2answers
30 views
Possible to simulate several concurrent connections to test a nodejs app
I have a simple node.js /socket.io (websockets) application running @localhost. I am trying to see how many concurrent connections it can handle. Is it possible to simulate several concurrent users on ...
0
votes
1answer
35 views
Real Time Multiplayer in HTML5: only single-computer
I am having difficulty getting multiplayer games to be multi-computer, not just multi-browser tabs. I went through the Real Time Multiplayer in HTML5 tutorial (Build New Games, click here). It listens ...