kafka-web-console icon indicating copy to clipboard operation
kafka-web-console copied to clipboard

topic feed do not work over https

Open ediskandarov opened this issue 9 years ago • 2 comments

subj

ediskandarov avatar Mar 30 '15 16:03 ediskandarov

i tried replacing ws:// with wss:// in the javascript, and it fixed some of it (zk list etc...) but not the feed or graphs / consumer groups. I get a 400 bad request answer from the server but no error in the logs

streamnsight avatar Sep 04 '15 06:09 streamnsight

I actually found that the problem was due to the need to upgrade the connection in nginx (the proxy I use)

So after upgrading the connection to use websocket

WebSocket support (nginx 1.4)

    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";

and also making sure the load balancer uses IP affinity server { ip_hash; server domain.com:port; }

i can see the feed.

still no luck with the consumer but i think that is a kafka problem

streamnsight avatar Sep 04 '15 07:09 streamnsight