meolu / walle-web

walle - 瓦力 Devops开源项目代码部署平台
https://walle-web.io
Apache License 2.0
11.86k stars 2.76k forks source link

登录首页后,总是报网络异常,请刷新重试。 #619

Open laowoniu0912 opened 5 years ago

laowoniu0912 commented 5 years ago

2019/01/11 21:54:45 [error] 20372#0: 1658 open() "/usr/local/nginx/html/api/general/info" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /api/general/info HTTP/1.0", host: "webservers", referrer: "47.94.252.242:80" 2019/01/11 21:54:45 [error] 20372#0: 1660 open() "/usr/local/nginx/html/api/general/menu" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /api/general/menu HTTP/1.0", host: "webservers", referrer: "47.94.252.242:80" 2019/01/11 21:55:29 [error] 20372#0: 1663 open() "/usr/local/nginx/html/api/general/info" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /api/general/info HTTP/1.0", host: "webservers", referrer: "47.94.252.242:80" 2019/01/11 21:55:29 [error] 20372#0: 1664 open() "/usr/local/nginx/html/api/general/menu" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /api/general/menu HTTP/1.0", host: "webservers", referrer: "47.94.252.242:80" 2019/01/11 22:03:07 [notice] 25963#0: signal process started 2019/01/11 22:03:11 [notice] 25975#0: signal process started 2019/01/11 22:03:49 [error] 25976#0: 1670 open() "/usr/local/nginx/html/api/general/menu" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /api/general/menu HTTP/1.0", host: "webservers", referrer: "www.best-work.top:80" 2019/01/11 22:03:49 [error] 25976#0: 1672 open() "/usr/local/nginx/html/api/general/info" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /api/general/info HTTP/1.0", host: "webservers", referrer: "www.best-work.top:80" 2019/01/11 22:05:03 [error] 25976#0: 1677 open() "/usr/local/nginx/html/api/general/menu" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /api/general/menu HTTP/1.0", host: "webservers", referrer: "www.best-work.top:80" 2019/01/11 22:05:03 [error] 25976#0: 1679 open() "/usr/local/nginx/html/api/general/info" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /api/general/info HTTP/1.0", host: "webservers", referrer: "www.best-work.top:80"

meolu commented 5 years ago

应该是nginx配置不对,按官方安装文档http://walle-web.io/docs/installation.html#3-Nginx-config,细心点检查,没问题的

hupinxiao commented 5 years ago

我用Dokcer 首次跑起来也会出现这问题,Down掉之后在跑起来就好了。

AlenxHai commented 5 years ago

你好,无论是标准安装还是docker部署,启动Python后端服务,正常监听5000端口都需要30秒的时间,在这段访问都会出现网络异常的现象