Questions tagged [faye]

Faye is an easy-to-use publish-subscribe messaging system based on the Bayeux protocol. It provides message servers for Node.js and Rack, and clients for use in Node and Ruby programs and in the browser.

Faye is an easy-to-use publish-subscribe messaging system based on the Bayeux protocol. It provides message servers for Node.js and Rack, and clients for use in Node and Ruby programs and in the browser

359 questions
3
votes
0 answers

using faye over https with self generated certificate

I am using faye for publishing and subscribing messages. Now i have to move my application over ssl. I am running my application https://localhost:44477 and my faye server runs as https://:9292. And i have to use self signed certificate for my…
pooja
  • 319
  • 1
  • 2
  • 21
3
votes
0 answers

Server-side Faye subscription in a cluster environment

I have a cluster of nodejs-based Faye servers. The server itself needs to subscribe to a channel in order to perform a certain set of operations: to do so, I use the server's client as such: var bayeux_server = new faye.NodeAdapter({ mount: …
Roberto
  • 2,206
  • 4
  • 24
  • 31
3
votes
0 answers

Websocket Handshake failed with Faye Server

In my Project, I am using the faye Server for publishing notifications. but when I tried to create a client through javascript it is throwing the following error. var client = new…
Kamesh
  • 1,435
  • 1
  • 14
  • 27
3
votes
1 answer

nginx nodejs faye performance issue

I am working on nginx load balancing for multiple Faye Chat Servers. I am able to see significant performance on normal http requests. But, websocket connection performance is very low when comparing the results without nginx. Here is my nginx…
user405398
3
votes
0 answers

Faye on Heroku "error code=H10 desc="App crashed"

I've installed a web app cloned from : https://github.com/ntenisOT/Faye-Heroku-Cedar I push it on heroku but it doesnt work. In my log, this errors : 2014-01-22T11:06:51.110578+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET…
guilb
  • 119
  • 1
  • 2
  • 11
3
votes
2 answers

ruby on rails chat application over port 80 which is hosting site agnostic(no flash and websockets)

Wanted to build a chat like application(i.e bidirectional message passing to multiple connected clients). Looked at the Faye gem but it opens a new port apart from port 80. The big problem is that if the client is behind firewall all access to other…
Talespin_Kit
  • 20,830
  • 29
  • 89
  • 135
3
votes
0 answers

Multiple upstream faye websocket servers with nginx

I would like to cluster my faye websocket server. A single server works well but I want to be prepared to scale. My first attempt is to start a few thin servers on different sockets and then add them to the upstream for my server in nginx. The…
Stan Bondi
  • 4,118
  • 3
  • 24
  • 35
3
votes
2 answers

Faye setup in production

I've set up Faye on localhost, and works fine. I'm now trying to deploy it on DigitalOcean VPS, with Cloud66 deployment service. To run the command I use an "after_rails" hook. rackup $RAILS_STACK_PATH/faye.ru -s thin -E production This gives me…
Barna Kovacs
  • 1,226
  • 1
  • 14
  • 35
3
votes
1 answer

Hierarchical Pub/Sub in Redis and Faye and Push notifications

I've been playing around with Redis and Faye for a system I'm building. I'm still not sure if they are the best choice for my specific application. My goal Each user is able to publish a message to a channel/topic and to receive messages from the…
Dexter
  • 2,482
  • 27
  • 40
3
votes
0 answers

How do I get clientId who published the message using faye

I have implemented faye for chatting services. But I want to know how can I find the clientId of that person who published the msg. I tried this: faye_server = Faye::RackAdapter.new(:mount => '/faye', :timeout => 45) faye_server.bind(:publish) do…
Braham Shakti
  • 1,408
  • 4
  • 22
  • 39
3
votes
1 answer

how to increase the number of Maximum Connections in Faye while using thin

When I start Faye using thin server, it says Thin web server (v1.3.1 codename Chromeo) Maximum connections set to 1024 Listening on 0.0.0.0:9292, CTRL+C to stop May i know how to increase the number of Maximum Connection??
Sriram R
  • 300
  • 2
  • 15
3
votes
1 answer

How to start faye automatically using daemon-controller?

I am trying to run faye automatically using gem daemon_controller. My Class require "daemon_controller" class FayeDaemon def initialize @controller = DaemonController.new( :identifier => 'Faye server', :start_command => "rackup…
3
votes
0 answers

private_pub/faye and nginx tcp -- 502 Bad Gateway

So I got the tcp module for nginx all set up and am trying to use this with private_pub (faye) for websockets. As of now I'm getting very slow loading from faye and a 502 Bad Gateway errors. Everyone points towards configuring it like so: I have…
Nathan Wienert
  • 1,623
  • 3
  • 19
  • 25
3
votes
0 answers

Faye doesn't send messages in production

I use faye through the PrivatePub gem to publish messages to my clients. It works fine in development on my machine but on my production server messages never make it to the clients. I'm pretty sure that faye is setup properly as its requesting…
Arcath
  • 4,331
  • 9
  • 39
  • 71
3
votes
0 answers

Why is Faye not working on Android webview control?

Greetings, I have a page subscribed on faye server. Everything works great on a browser. Now when we placed the web page on an android webview control, Faye is not working at all. We are not receiving any messages from faye. I already enabled the…
mr.b
  • 2,708
  • 8
  • 39
  • 64