@kant kodali
change zeppelin-web\ src\components\baseUrl\baseUrl.service.js like this:
this.getWebsocketUrl = function() {
var wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
return wsProtocol + ‘//your_ip_address:' + this.getPort() +
skipTrailingSlash(location.pathname) + '/ws';
};
this.getRestApiBase = function() {
return location.protocol + '//your_ip_address:' + this.getPort() +
skipTrailingSlash(location.pathname) +
'/api';
};
> 在 2016年9月7日,15:39,kant kodali <[email protected]> 写道:
>
> HI Guys,
>
> I have a server which can handle websocket connections. Now I would like to
> see if there is a way to tell apache zeppellin to create to websocket connect
> to my server and display the whatever it received?
>
> Thanks,
> Kant