<html>
<head>
<style>
body {
font-family: Verdana, sans-serif;
font-size: 0.8em;
color:#484848;
}
h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin: 0px; }
h1 { font-size: 1.2em; }
h2, h3 { font-size: 1.1em; }
a, a:link, a:visited { color: #2A5685;}
a:hover, a:active { color: #c61a1a; }
a.wiki-anchor { display: none; }
hr {
width: 100%;
height: 1px;
background: #ccc;
border: 0;
}
.footer {
font-size: 0.8em;
font-style: italic;
}
</style>
</head>
<body>
<span class="header"></span>
Issue #322 has been reported by Rubiq Maso.
<hr />
<h1><a href="http://redmine.ourproject.org/issues/322">Bug #322: /http-bind/ in Kune</a></h1>
<ul>
<li>Author: Rubiq Maso</li>
<li>Status: New</li>
<li>Priority: Normal</li>
<li>Assignee: </li>
<li>Category: Public space</li>
<li>Target version: 0.2.0</li>
<li>Resolution: </li>
</ul>
<p>hi,<br />I have fresh debian instalation, kune behind NGINX reverse proxy installed on the same host.</p>
        <p>The configuration of nginx is:<br />server {</p>
        <pre><code>listen 192.168.2.13:80; ## listen for ipv4</code></pre>
        <pre><code>server_name kune.mynet<br /> access_log /var/log/nginx/kune.mynet-access.log;</code></pre>
        <pre><code>location / {<br /> proxy_pass <a class="external" href="http://localhost;">http://localhost;</a><br /> proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;</code></pre>
        <pre><code>proxy_set_header Host $host;<br /> proxy_set_header X-Real-IP $remote_addr;<br /> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;</code></pre>
        <pre><code>proxy_set_header X-Forwarded-Proto http;</code></pre>
        <pre><code>proxy_redirect off;<br /> }<br />}<br /> upstream localhost {<br /> server 127.0.0.1:8888;<br />}</code></pre>
        <p>I have still the "connecting" sign at the top of the page, I looked up to the jscript console, and there is:</p>
        <p>Failed to load resource: the server responded with a status of 500 <br />(Socket opening: localhost:5280 >> java.net.ConnectException: Connection <br />refused) <a class="external" href="http://kune.mynet/http-bind/">http://kune.mynet/http-bind/</a></p>
        <p>Failed to load resource: the server responded with a status of 500 <br />(Socket opening: localhost:5280 >> java.net.ConnectException: Connection <br />refused) <a class="external" href="http://kune.mynet/http-bind/">http://kune.mynet/http-bind/</a></p>
        <p>Failed to load resource: the server responded with a status of 500 <br />(Socket opening: localhost:5280 >> java.net.ConnectException: Connection <br />refused) <a class="external" href="http://kune.mynet/http-bind/">http://kune.mynet/http-bind/</a></p>
        <p>Failed to load resource: the server responded with a status of 500 <br />(Socket opening: localhost:5280 >> java.net.ConnectException: Connection <br />refused) <a class="external" href="http://kune.mynet/http-bind/">http://kune.mynet/http-bind/</a></p>
        <p>...</p>
        <p>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 <a class="external" href="http://localhost:8888/http-bind/">http://localhost:8888/http-bind/</a> - the error is not from the nginx reverse proxy, but directly from kune.</p>
        <p>Please tell me what's wrong, or what do you need to know to diagnose the problem.<br />Thanks in advance<br /> O.Pachner, Prague, Czech Republic</p>
<hr />
<span class="footer"><p>You have received this notification because you have either subscribed to it, or are involved in it.<br />To change your notification preferences, please click here: <a class="external" href="http://redmine.ourproject.org/my/account">http://redmine.ourproject.org/my/account</a></p></span>
</body>
</html>