You have to run the test in the same environment from where you are seeing the websocket connection issue.
On Tue, Jan 12, 2016 at 10:49 PM, Skanda <skanda.ganapa...@gmail.com> wrote: > Hi > > Can you run websocket tests using the below site and let me know the > results? > > http://www.websocket.org/echo.html > > Click on connect and let me know if you get any errors? > > -Skanda > > On Tue, Jan 12, 2016 at 3:45 PM, 魏龙星 <wlxwol...@gmail.com> wrote: > >> I downloaded the binary package and didn't change anything. >> I tried to change the port and get the same error. >> >> Any suggestion? >> >> Corneau Damien <cornead...@gmail.com>于2016年1月12日周二 下午6:07写道: >> >>> Hi, >>> >>> Could you give us more information about your setup? >>> >>> Also, the websocket does not use a different port anymore. (only one >>> which by default is 8080) >>> You can always try using another port by changing your configuration ( >>> https://github.com/apache/incubator-zeppelin#configure) >>> >>> >>> On Tue, Jan 12, 2016 at 6:59 PM, 魏龙星 <wlxwol...@gmail.com> wrote: >>> >>>> I googled and found that there are two ports in logs, however I got >>>> only I in the log. How? >>>> >>>> 魏龙星 <wlxwol...@gmail.com>于2016年1月12日周二 下午5:50写道: >>>> >>>>> I downloaded zeppelin binary package and started it. However it's >>>>> disconnected. Here is the log: >>>>> >>>>> INFO [2016-01-12 14:37:56,592] ({main} >>>>> QuartzScheduler.java[initialize]:305) - Scheduler meta-data: Quartz >>>>> Scheduler (v2.2.1) 'Defau >>>>> ltQuartzScheduler' with instanceId 'NON_CLUSTERED' >>>>> Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. >>>>> NOT STARTED. >>>>> Currently in standby mode. >>>>> Number of jobs executed: 0 >>>>> Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads. >>>>> Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support >>>>> persistence. and is not clustered. >>>>> >>>>> INFO [2016-01-12 14:37:56,593] ({main} >>>>> StdSchedulerFactory.java[instantiate]:1339) - Quartz scheduler >>>>> 'DefaultQuartzScheduler' initi >>>>> alized from default resource file in Quartz package: 'quartz.properties' >>>>> INFO [2016-01-12 14:37:56,593] ({main} >>>>> StdSchedulerFactory.java[instantiate]:1343) - Quartz scheduler version: >>>>> 2.2.1 >>>>> INFO [2016-01-12 14:37:56,593] ({main} QuartzScheduler.java[start]:575) >>>>> - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. >>>>> INFO [2016-01-12 14:37:56,805] ({main} >>>>> ServerImpl.java[initDestination]:94) - Setting the server's publish >>>>> address to be / >>>>> INFO [2016-01-12 14:37:56,888] ({main} >>>>> WebInfConfiguration.java[unpack]:478) - Extract >>>>> jar:file:/data/users/huser/zeppelin/zeppelin- >>>>> web-0.5.5-incubating.war!/ to >>>>> /tmp/jetty-0.0.0.0-8080-zeppelin-web-0.5.5-incubating.war-_-any-/webapp >>>>> INFO [2016-01-12 14:37:57,040] ({main} >>>>> StandardDescriptorProcessor.java[visitServlet]:284) - NO JSP Support for >>>>> /, did not find org. >>>>> apache.jasper.servlet.JspServlet >>>>> INFO [2016-01-12 14:37:57,941] ({main} >>>>> AbstractConnector.java[doStart]:338) - Started >>>>> SelectChannelConnector@0.0.0.0:8080 >>>>> INFO [2016-01-12 14:37:57,941] ({main} ZeppelinServer.java[main]:108) - >>>>> Started zeppelin server >>>>> >>>>> I searched and found that port+1 is the websocket port. However, it's >>>>> not listening: >>>>> netstat -na | grep 8080 >>>>> >>>>> tcp 0 0 :::8080 :::* LISTEN >>>>> netstat -na | grep 8081 >>>>> >>>>> noting... >>>>> >>>>> And the web return the error: >>>>> >>>>> *WebSocket connection to 'ws://ip:8080/ws' failed: Establishing a >>>>> tunnel via proxy server failed.* >>>>> >>>>> I think this means *the http port and websocket port use the same >>>>> port*. How can I change it? >>>>> >>>>> Can anyone help? Thanks. >>>>> >>>>> >>>>> >>>>> >>> >