Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ydoc每天自动挂掉 #38

Open
LinLeo66 opened this issue Dec 13, 2019 · 1 comment
Open

ydoc每天自动挂掉 #38

LinLeo66 opened this issue Dec 13, 2019 · 1 comment

Comments

@LinLeo66
Copy link

YDoc 版本号:

4.1.0

环境(操作系统、Node 版本、浏览器版本等信息):

操作系统:centos
Node版本:10.15.3

复现步骤:

使用nohup ydoc serve > nohup.out 2>&1 &在服务器上后台运行ydoc服务
每天晚上9点之后--早上9点之前,服务自动挂掉

报错信息如下:

 Error: write ECONNRESET
      at WriteWrap.afterWrite [as oncomplete] (net.js:779:14) 

补充:

之前部署的ydoc服务已经良好运行了半年,12月5日早上服务挂掉后,我误使用了ydoc init命令,对之前的ydoc目录做了重置,再次运行ydoc serve之后,出现了上述情况;

@hellosean1025
Copy link
Member

用 ydoc build 生成静态文件,直接在浏览器打开首页 index.html 就能访问了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants