+6
labos 2 years ago • updated by Даниил Коноплицкий 6 months ago 5
Hi, I have installed Ajenti but when I visit myip:8000 browser see me this error: ERR_EMPTY_RESPONSE<br>What can I do to fix this problem?<br>Thanks
+3

I've same problem on Raspberry installation:


/ajenti:socket/1/?t=1447412576561 net::ERR_EMPTY_RESPONSE


I used script, I look inside code:


GET https://10.170.203.133:8000/ajenti:socket/1/?t=1447412576561 net::ERR_EMPTY_RESPONSEd.handshake @ resources.js:7657d.connect @ resources.js:7657d @ resources.js:7657c.connect @ resources.js:7657window.ajentiConnectSocket @ resources.js:11058window.Stream.Stream.start @ resources.js:10424(anonymous function) @ (index):112resources.js:10436 Socket error: (anonymous function) @ resources.js:10436c.emit @ resources.js:7657d.publish @ resources.js:7657d.onError @ resources.js:7657j.onreadystatechange @ resources.js:7657


--------------------------

<script>

Stream = new Stream();
Stream.start();
UI = new UIManager(window.Stream);
</script>

---------------------------


Stream.prototype.start = function() {

this.socket = ajentiConnectSocket('/stream');
this.socket.on('connect', function() {
return $('#connection-error').hide();

});

---------------------------


window.ajentiConnectSocket = function(uri) {

var cfg;
cfg = {
resource: 'ajenti:socket',
'reconnection limit': 1,
'max reconnection attempts': 999999
};
if (/Apple Computer/.test(navigator.vendor) && location.protocol === 'https:') {
cfg.transports = ['jsonp-polling'];
}
return io.connect(uri, cfg);

};

-----------------------------------


    1. Request URL:
  1. Request Headers
    1. Provisional headers are shown
    2. Referer:
    3. User-Agent:
      Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36
  2. Query String Parametersview sourceview URL encoded
    1. t:
      1447412576561

---------------------------------------


any help? On other installation it worked well.

+3

I have exactly the same problem! Did you solve it?

-1

To fix problem, execute the commands below.

  1. Install python tools and dev
    $ install python-setuptools python-dev
  2. Install gevent, in version 1.1b3
    $ easy_install -U gevent==1.1b3
  3. Downgrade ssl version of protocol
    $ sed -i -e s/ssl_version=PROTOCOL_SSLv3/ssl_version=PROTOCOL_SSLv23/ /usr/local/lib/python2.7/dist-packages/gevent-1.1b3-py2.7-linux-x86_64.egg/gevent/ssl.py
  4. Restart ajenti
    $ service ajenti restart

https://github.com/ajenti/ajenti/issues/702

if error easy_install -U gevent==1.1b3 the apt-get install gcc

+1

This fucking support ever so responsible? When you decide to fucking problem?