[kune-commits] [Kune - Bug #322] /http-bind/ in Kune

Redmine Comunes noreply at ourproject.org
Thu Jul 12 19:53:22 CEST 2012


Issue #322 has been updated by Vicente J. Ruiz Jurado.


Hi there,

We use to configure that under a proxy. See for instance Appendix D in:
https://code.google.com/p/emite/wiki/QuickStart
it's quite old, but is what we usually do.

/http-bind/ is only used for the chat app, so go step by step. First make the normal kune app to run (forget the chat), later, make the /http-bind/ and the chat work with a correct proxy configuration (you need to have openfire correctly installed).

Anyway, the big thing to run kune under a proxy is not the http-bind stuff, but the websocket connection (the error you get "Connecting" means that cannot establish the websocket connection). More info of how to do it, here:
http://kune.cc/?locale=es#!kune.docs.6810.1671

I hope this helps. If you can share later with us your ngnix con...


----------------------------------------
Bug #322: /http-bind/ in Kune
http://redmine.ourproject.org/issues/322#change-357

* Author: Rubiq Maso
* Status: New
* Priority: Normal
* Assignee: 
* Category: Public space
* Target version: 0.2.0
* Resolution: 
----------------------------------------
hi,
I have fresh debian instalation, kune behind NGINX reverse proxy installed on the same host.

The configuration of nginx is:
server {

        listen   192.168.2.13:80; ## listen for ipv4
       
        server_name  kune.mynet
        access_log  /var/log/nginx/kune.mynet-access.log;

       
                location / {
                proxy_pass  http://localhost;
                proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;

                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

                proxy_set_header X-Forwarded-Proto http;

                proxy_redirect     off;
        }
}
        upstream localhost  {
        server 127.0.0.1:8888;
}


I have still the "connecting" sign at the top of the page, I looked up to the jscript console, and there is:

Failed to load resource: the server responded with a status of 500 
(Socket opening: localhost:5280 >> java.net.ConnectException: Connection 
refused) http://kune.mynet/http-bind/

Failed to load resource: the server responded with a status of 500 
(Socket opening: localhost:5280 >> java.net.ConnectException: Connection 
refused) http://kune.mynet/http-bind/

Failed to load resource: the server responded with a status of 500 
(Socket opening: localhost:5280 >> java.net.ConnectException: Connection 
refused) http://kune.mynet/http-bind/

Failed to load resource: the server responded with a status of 500 
(Socket opening: localhost:5280 >> java.net.ConnectException: Connection 
refused) http://kune.mynet/http-bind/

...

when I'm trying to access /http-bind/ (as defined in kune.properties as kune.chat.httpbase = /http-bind/), I've got an error 500. The same error I've got, when I'm trying to access the page directly on the server - lynx http://localhost:8888/http-bind/ - the error is not from the nginx reverse proxy, but directly from kune.

Please tell me what's wrong, or what do you need to know to diagnose the problem.
Thanks in advance
  O.Pachner, Prague, Czech Republic



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://redmine.ourproject.org/my/account

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ourproject.org/pipermail/kune-commits/attachments/20120712/26d01ff1/attachment.htm 


More information about the kune-commits mailing list