Hello,

I installed Zeppelin 0.5.6 on Ubuntu server 14.04, behind Nginx. Zeppelin comes 
up but shows "Disconnected" in the top right corner.

I found several references to a similar problem on the web and most of them  
suggest that the problem has to do with access to Zeppelin's winsock port 
(8081).

The thing is that Zeppelin on my server does not listen on 8081 but only on 
8080. Also I ran pcap on both the server side and my PC's side and never saw an 
attempt to access port 8081 .

So could it be something else? Maybe I am missing something in my config files?

You can see my zeppelin-site.xml and the relevant lines from my nginx config 
files attached.

Many thanks,

Oren


# Zeppelin

upstream zeppelin {
    server localhost:8080;
}

upstream zeppelin-wss {
    server localhost:8081;
}

    server {
        listen 48080;

        server_name zep.iucc.ac.il;

        auth_basic "Restricted Access";
        auth_basic_user_file /etc/nginx/htpasswd.users;

        ssl on;
        ssl_session_timeout 5m;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_ciphers 
'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH:EECDH+AESGCM:EDH+AESGCM:ECDHE-RSA-AES128-GCM-SHA256:AES256+EECDH:DHE-RSA-AES128-GCM-SHA256:AES256+EDH:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4';

        ssl_prefer_server_ciphers on;
        ssl_session_cache shared:SSL:10m;

        ssl_certificate /etc/nginx/ssl/elk_iucc_ac_il.crt;
        ssl_certificate_key /etc/nginx/ssl/elk_iucc_ac_il.key;
        ssl_dhparam /etc/nginx/ssl/dhparam.pem;

        location /{
                proxy_pass https://zeppelin;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header Host $http_host;
                proxy_set_header X-NginX-Proxy true;
                proxy_redirect off;
                }
    }

    server {
        listen 48081;

        server_name zep.iucc.ac.il;

        ssl on;
        ssl_session_timeout 5m;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_ciphers 
'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH:EECDH+AESGCM:EDH+AESGCM:ECDHE-RSA-AES128-GCM-SHA256:AES256+EECDH:DHE-RSA-AES128-GCM-SHA256:AES256+EDH:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4';

        ssl_prefer_server_ciphers on;
        ssl_session_cache shared:SSL:10m;

        ssl_certificate /etc/nginx/ssl/elk_iucc_ac_il.crt;
        ssl_certificate_key /etc/nginx/ssl/elk_iucc_ac_il.key;
        ssl_dhparam /etc/nginx/ssl/dhparam.pem;

        location /{
                proxy_pass https://zeppelin-wss;
                proxy_http_version 1.1;
                proxy_set_header Upgrade websocket;
                proxy_set_header Connection upgrade;
                proxy_read_timeout 86400;
                }
    }

Attachment: zeppelin-site.xml
Description: zeppelin-site.xml

Reply via email to