I have not tried the other branch,because it run normal period of time when 
link into server directly until we change the way link to server (usenginx as a 
websocket reverse proxy).
SoI suspect that the problem is on the websocket we set.


原始邮件
发件人:Corneau damiencornead...@gmail.com
收件人:usersus...@zeppelin.incubator.apache.org
发送时间:2015年9月1日(周二) 17:35
主题:Re: Remote connect shows Disconnected


Do you have any way of trying with master branch?
There has been quite some changes on the websocket on it.
(Websocket doesn't need additional port anymore for example)


On Tue, Sep 1, 2015 at 6:17 PM, yupeng yup...@qfpay.com wrote:

It can not be used when the status is disconnected ,unless I press F5 to fresh 
the page.
the zeppelin version is branch-0.5 from github. 
can we see that commitabout fixing that before that i can not find it .
thx.


原始邮件
发件人:Corneau damiencornead...@gmail.com
收件人:usersus...@zeppelin.incubator.apache.org
发送时间:2015年9月1日(周二) 17:02
主题:Re: Remote connect shows Disconnected


Hi,
Can you try to run some paragraphs when the status is disconnected?
It could be a bug from the disconnected status on the UI.
Also which version are you using? (since there was a commit about fixing that 
before)


On Tue, Sep 1, 2015 at 5:54 PM, yupeng yup...@qfpay.com wrote:

Hi Team:


Zeppelin is OK in localhost. But when I open it in another machine, it shows 
disconnected every few seconds.
we use nginx as a websocket reverse proxytoconnection between a client and 
server. Zeppelin in server and I open a c


Inzeppelin-site.xml,I set:
export MASTER=spark://BJ-BIGDATA-01:7077
export HADOOP_CONF_DIR=/usr/hadoop/etc/hadoop/   
export ZEPPELIN_PORT=10008
Inzeppelin-site.xml, I have only set server ip address and port and -1 for 
websocket port.


I tail the log/zeppelin-hadoop*.logwhen it shows disconnected(on the right 
corner),it print line like“...Closed connection to 10.12.12.51 : 49622”, and 
when i press F5 to fresh the page shows connected,the logs print line 
like“...New connection from 10.12.12.51 : 49946”,and when i finished the job, 
it print“..closed connection to 10.12.12.51 : 51863” too.

[hadoop@BJ-BIGDATA-01 logs]$ tail -f zeppelin-hadoop-BJ-BIGDATA-01.log
INFO [2015-09-01 16:13:21,211] ({WebsocketSelector18} 
NotebookServer.java[onClose]:156) - Closed connection to 10.12.12.51 : 49077
INFO [2015-09-01 16:16:13,972] ({WebSocketWorker-10} 
NotebookServer.java[onOpen]:88) - New connection from 10.12.12.51 : 49622
INFO [2015-09-01 16:16:13,972] ({WebSocketWorker-10} 
NotebookServer.java[onMessage]:100) - RECEIVE  LIST_NOTES
INFO [2015-09-01 16:16:13,973] ({WebSocketWorker-10} 
NotebookServer.java[onMessage]:100) - RECEIVE  LIST_NOTES
INFO [2015-09-01 16:16:52,733] ({WebSocketWorker-10} 
NotebookServer.java[onMessage]:100) - RECEIVE  GET_NOTE
INFO [2015-09-01 16:17:13,682] ({WebSocketWorker-10} 
NotebookServer.java[onMessage]:100) - RECEIVE  PING
INFO [2015-09-01 16:18:13,683] ({WebsocketSelector18} 
NotebookServer.java[onClose]:156) - Closed connection to 10.12.12.51 : 49622
INFO [2015-09-01 16:18:53,433] ({WebSocketWorker-11} 
NotebookServer.java[onOpen]:88) - New connection from 10.12.12.51 : 49946
INFO [2015-09-01 16:18:53,493] ({WebSocketWorker-11} 
NotebookServer.java[onMessage]:100) - RECEIVE  LIST_NOTES
INFO [2015-09-01 16:18:53,563] ({WebSocketWorker-11} 
NotebookServer.java[onMessage]:100) - RECEIVE  GET_NOTE
INFO [2015-09-01 16:18:59,200] ({WebSocketWorker-11} 
NotebookServer.java[onMessage]:100) - RECEIVE  GET_NOTE
INFO [2015-09-01 16:19:53,581] ({WebSocketWorker-11} 
NotebookServer.java[onMessage]:100) - RECEIVE  PING
…
INFO [2015-09-01 16:37:56,890] ({pool-1-thread-91} 
SchedulerFactory.java[jobFinished]:138) - Job 
paragraph_1438576269514_-1185184725 finished by scheduler 
remoteinterpreter_583421958
INFO [2015-09-01 16:38:10,473] ({WebSocketWorker-14} 
NotebookServer.java[onMessage]:100) - RECEIVE  PING
INFO [2015-09-01 16:39:10,475] ({WebsocketSelector18} 
NotebookServer.java[onClose]:156) - Closed connection to 10.12.12.51 : 51863
INFO [2015-09-01 16:50:51,328] ({WebSocketWorker-15} 
NotebookServer.java[onOpen]:88) - New connection from 10.12.12.51 : 53394
INFO [2015-09-01 16:50:51,577] ({WebSocketWorker-15} 
NotebookServer.java[onMessage]:100) - RECEIVE  LIST_NOTES
INFO [2015-09-01 16:50:51,580] ({WebSocketWorker-15} 
NotebookServer.java[onMessage]:100) - RECEIVE  GET_NOTE
INFO [2015-09-01 16:51:18,280] ({WebSocketWorker-15} 
NotebookServer.java[onMessage]:100) - RECEIVE  RUN_PARAGRAPH
INFO [2015-09-01 16:51:18,286] ({WebSocketWorker-15} 
NotebookServer.java[broadcast]:254) - SEND  NOTE
INFO [2015-09-01 16:51:18,287] ({WebSocketWorker-15} 
NotebookServer.java[broadcast]:254) - SEND  NOTE


Can anyone tell me what's wrong?


Regards,
Moonssang

Reply via email to