kandanapp / kandan

Kandan is an Open Source Alternative to HipChat
GNU Affero General Public License v3.0
2.72k stars 405 forks source link

"Oops! could not connect to the server" error message #308

Closed tuomasj closed 10 years ago

tuomasj commented 10 years ago

I get "Oops! could not connect to the server" every time I log on as a user. I'm running Kandan v1.2 on a stand-alone server. I followed the instructions on deploy.md.

I pinpointed the error message on faye.js.coffeeand it seems faye does not get a connection. How do I check if it's running or not?

I started thin with thin start -C thin.yml -R config.ru

~/kandan$ ruby -v
ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]
~/kandan$ bundle exec thin -v
thin 1.5.1 codename Straight Razor
tuomasj commented 10 years ago

I managed to fix this by I'm running Rails app and Faye server at the same time. I assume this is the normal case, but it took a while for me to figure it out :)

thin start (runs the Rails app) rackup thin -R config.ru (runs the Faye server)