Unable to get Druid + grafana + quantify-grafana-plugins + nginx to work - Ubuntu 12.04.2 LTS

OS: Ubuntu 12.04.2 LTS

Followed exact same steps: https://github.com/Quantiply/grafana-druid-wikipedia/

http://:9015/#/dashboard/file/wikipedia.json i see grafana dashboard with 3 empty widgets. Chrome JS console shows me below message three times (possibly for three widgets)

POST http://:9015/druid/v2 502 (Bad Gateway)

Nginx Error Log (three times)

2016/01/28 13:24:13 [error] 3976#0: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 10.237.188.50, server: , request: “POST /druid/v2 HTTP/1.1”, upstream: “http://:8083/druid/v2”, host: “:9015”, referrer: “http://:9015/”

Nginx conf is below

Provide values for GRAFANA_HOME & DRUID_BROKER_*

#user www-data;

worker_processes 8;

pid nginx.pid;

events {

    worker_connections 2000;

    multi_accept on;

}

http {

fastcgi_buffers 8 16k;

fastcgi_buffer_size 32k;

fastcgi_connect_timeout 300;

fastcgi_send_timeout 300;

fastcgi_read_timeout 300;

sendfile on;

tcp_nopush on;

tcp_nodelay on;

keepalive_timeout 65;

types_hash_max_size 2048;

server_tokens off;

server_names_hash_bucket_size 32;

include       mime.types;

default_type  application/octet-stream;

access_log /var/log/nginx/access.log;

error_log /var/log/nginx/error.log;

    server {

      listen       9015;

      location / {

        root   /root/grafana-druid/grafana-1.9.1;

        index  index.html index.htm;

      }

      location /druid/ {

        proxy_pass http://<hostname>:8083/druid/;

      }

    }

}

Any suggestions ?

I do not see data being ingested into druid upon running in cluster mode or localhost mode (./run_example_server.sh)

When i run ./run_example_client.sh

[1] > 1

{

“queryType”:“timeBoundary”,

“dataSource”:“wikipedia”

}

sleep for 5 seconds…

sleep for 30 seconds…

Also the logs of run_example_server.sh do not show data being scraped from IRC

Entire logs: http://pastebin.com/yEbQjGRA

Could this be the error for BAD_GATEWAY ?