Hello Girish, I am not sure setting up a proxy on the same host as zeppelin and the web brower is releavant because your websocket will be able to bypass the proxy.
Here is what I get : GET http://public.hostname/ws ==> return 200. I can see the "zeppelin Jetty" in the response header then I get an error in Firefox : Firefox cannot establish connection with remote server ws://public.hostname/ws. Because I run Apache on a different server, the URL points to the proxy server not to the Zeppelin server. It seems the websocket is not proxyfied by Apache. In your case, because your are on the same host, the websocket is probably bypassing the proxy... 2015-12-19 11:27 GMT+01:00 vincent gromakowski < vincent.gromakow...@gmail.com>: > I am using apache 2.4 on a different server than zeppelin. I get a message > In My firefox saying it cannot connect to ws://host/ws > Maybe an issue with the headers and origins ? > Le 19 déc. 2015 6:54 AM, "Hyung Sung Shim" <hss...@nflabs.com> a écrit : > >> Hello vincent gromakowski. >> >> What version httpd are you using? >> Under httpd2.4 does not support WebSocket. >> So you can consider https://github.com/disconnect/apache-websocket. >> >> Thanks. >> >> 2015-12-18 21:26 GMT-08:00 Girish Reddy <gir...@springml.com>: >> >>> I have setup apache reverse proxy on the same host as zeppelin and am >>> able to access apache url (localhost:80) to get redirected to zeppelin >>> (localhost:9090). Here's my apache conf file contents: >>> >>> <VirtualHost *:80> >>> ProxyPreserveHost On >>> ProxyRequests Off >>> >>> >>> ProxyPass / http://localhost:9090/ >>> ProxyPassReverse / http://localhost:9090/ >>> >>> ServerName localhost >>> </VirtualHost> >>> >>> >>> What issues are you running into? Also, my next step is to handle >>> authentication in apache. Were you able to get that working? >>> >>> >>> On Fri, Dec 18, 2015 at 4:54 AM, vincent gromakowski < >>> vincent.gromakow...@gmail.com> wrote: >>> >>>> I am trying to make Zeppelin work behind an Apache reverse proxy that >>>> would deal with user authentication but I have issues with the websocket. >>>> Please could you provide me some examples of Apache configuration files >>>> that would work in reverse proxy ? >>>> >>> >>> >>