We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
VestaCP times out, sites all work ok
VestaCP times out, sites all work ok
Apologies in advance if this specific case has been answered. I have searched and found similar cases but they did not solve my problem.
I have been using VestaCP for about 2 months and have installed 8 web sites. The most recent was installed about 2 hours ago.
An hour ago I went to use VestaCP at https://myip:8083 and it did not respond. My browser says:
This site can’t be reached
x.x.x.x took too long to respond.
Try:
Reloading the page
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_TIMED_OUT
All the web sites work fine.
ssh works fine.
This is not a new installation. It has been working fine for 2 months.
It stopped working without any changes being made to the system.
I did switch off disk quotas just in case, but this did not solve the problem.
Finally, I restarted the VPS container, and even rebooted via ssh.
Edit:
netstat shows nginx listening on 8083
]# netstat -plant |grep 8083
tcp 0 0 0.0.0.0:8083 0.0.0.0:* LISTEN 4536/nginx
/Edit
Any help appreciated.
Cheers,
Peter
I have been using VestaCP for about 2 months and have installed 8 web sites. The most recent was installed about 2 hours ago.
An hour ago I went to use VestaCP at https://myip:8083 and it did not respond. My browser says:
This site can’t be reached
x.x.x.x took too long to respond.
Try:
Reloading the page
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_TIMED_OUT
All the web sites work fine.
ssh works fine.
This is not a new installation. It has been working fine for 2 months.
It stopped working without any changes being made to the system.
I did switch off disk quotas just in case, but this did not solve the problem.
Finally, I restarted the VPS container, and even rebooted via ssh.
Edit:
netstat shows nginx listening on 8083
]# netstat -plant |grep 8083
tcp 0 0 0.0.0.0:8083 0.0.0.0:* LISTEN 4536/nginx
/Edit
Any help appreciated.
Cheers,
Peter
Re: VestaCP times out, sites all work ok
Thanks XoXiLhJ0mn. The timeout is already long, about 2 minutes so I'm not sure if that will solve it. In any event it fixed itself overnight. This morning I got the login page and logged in ok. Not sure what went wrong, but I will try the timeout fix if it happens again.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: VestaCP times out, sites all work ok
Code: Select all
Service Vesta Restart
Code: Select all
df-h
Restart your server once to check
-
- Posts: 2
- Joined: Sun Aug 26, 2018 7:05 pm
- Os: Debian 8x
- Web: nginx + php-fpm
Re: VestaCP times out, sites all work ok
Hi, I have the same problem. Everything worked great and suddenly I can't reach the backend anymore -> timeout ERR_CONNECTION_TIMED_OUT
I restarted everything, even the server. I have enough space and I'm the only user on the system.
Websites continues to work. Only the backend is affected. It's an apache+nginx installation (But I actually only need nginx)
I tried to disable the firewall and fail2ban
There are some errors in /usr/local/vesta/log/nginx-error.log But these are not releated to my problem I guess.
service vesta status
I don't see any relevant errors in any log... Where should I look? I hope you can help me, I don't want to reinstall T_T
p.s. I installed also php7.2 and 7.1 following this tut right after fresh install: viewtopic.php?t=16221
pp.s. For some reason v-list-web-templates-backend doesn't show anything (empty template list). It was also never visible in the backend gui. But the files are there
I restarted everything, even the server. I have enough space and I'm the only user on the system.
Websites continues to work. Only the backend is affected. It's an apache+nginx installation (But I actually only need nginx)
I tried to disable the firewall and fail2ban
Code: Select all
netstat -plant | grep 8083
tcp 0 0 0.0.0.0:8083 0.0.0.0:* LISTEN 2107/nginx: master
Code: Select all
2018/08/22 04:52:10 [error] 6023#0: *2163 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 27
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning: array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix$
2018/08/22 11:39:13 [error] 6023#0: *2212 "/usr/local/vesta/web/softaculous/index.php" is not found (2: No such file or directory), client: 37.201.192.132, server: _, request: "GET /softaculous/ HTTP/1.1", host: "vps.thechaoscoder.com:8083"
2018/08/22 11:39:22 [error] 6023#0: *2230 "/usr/local/vesta/web/softaculous/index.php" is not found (2: No such file or directory), client: 37.201.192.132, server: _, request: "GET /softaculous/ HTTP/1.1", host: "vps.thechaoscoder.com:8083", referrer: "https://vps.thechaoscoder.com:8083/list/user/"
2018/08/23 04:52:16 [error] 19916#0: *120 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/08/23 04:52:17 [error] 19916#0: *122 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/08/23 04:52:17 [error] 19916#0: *124 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/08/23 04:52:17 [error] 19916#0: *126 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/08/24 04:52:08 [error] 19916#0: *605 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/08/24 04:52:08 [error] 19916#0: *607 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/08/24 04:52:08 [error] 19916#0: *609 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/08/25 04:52:10 [error] 19916#0: *618 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/08/25 04:52:10 [error] 19916#0: *620 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/08/25 04:52:10 [error] 19916#0: *622 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/08/25 04:52:10 [error] 19916#0: *624 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/08/25 13:06:49 [error] 19916#0: *667 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /usr/local/vesta/web/inc/main.php on line 3" while reading response header from upstream, client: 37.201.192.201, server: _, request: "GET /reset/ HTTP/1.1", $
2018/08/25 13:06:53 [error] 19916#0: *667 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /usr/local/vesta/web/inc/main.php on line 3" while reading response header from upstream, client: 37.201.192.201, server: _, request: "POST /reset/ HTTP/1.1",$
2018/08/25 13:06:53 [error] 19916#0: *667 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /usr/local/vesta/web/inc/main.php on line 3" while reading response header from upstream, client: 37.201.192.201, server: _, request: "GET /reset/?action=code$
2018/08/25 13:07:12 [error] 19916#0: *667 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /usr/local/vesta/web/inc/main.php on line 3" while reading response header from upstream, client: 37.201.192.201, server: _, request: "GET /reset/?action=conf$
2018/08/25 13:07:30 [error] 19916#0: *667 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /usr/local/vesta/web/inc/main.php on line 3" while reading response header from upstream, client: 37.201.192.201, server: _, request: "POST /reset/?action=con$
2018/08/26 04:52:09 [error] 19916#0: *798 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/08/26 04:52:10 [error] 19916#0: *800 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/08/26 04:52:10 [error] 19916#0: *802 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
service vesta status
Code: Select all
● vesta.service - LSB: starts the vesta control panel
Loaded: loaded (/etc/init.d/vesta; generated; vendor preset: enabled)
Active: active (running) since Sun 2018-08-26 20:51:02 CEST; 23min ago
Docs: man:systemd-sysv-generator(8)
Process: 2096 ExecStop=/etc/init.d/vesta stop (code=exited, status=0/SUCCESS)
Process: 2103 ExecStart=/etc/init.d/vesta start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/vesta.service
├─2107 nginx: master process /usr/local/vesta/nginx/sbin/vesta-nginx
├─2109 nginx: worker process
├─2110 php-fpm: master process (/usr/local/vesta/php/etc/php-fpm.conf)
├─2111 php-fpm: pool www
└─2112 php-fpm: pool www
Aug 26 20:51:02 vps systemd[1]: vesta.service: Failed to set invocation ID on control group /system.slice/vesta.service, ignoring: Operation not permitted
Aug 26 20:51:02 vps systemd[1]: Starting LSB: starts the vesta control panel...
Aug 26 20:51:02 vps vesta[2103]: Starting vesta-nginx: vesta-nginx.
Aug 26 20:51:02 vps vesta[2103]: Starting vesta-php: vesta-php.
Aug 26 20:51:02 vps systemd[1]: Started LSB: starts the vesta control panel.
p.s. I installed also php7.2 and 7.1 following this tut right after fresh install: viewtopic.php?t=16221
pp.s. For some reason v-list-web-templates-backend doesn't show anything (empty template list). It was also never visible in the backend gui. But the files are there
Code: Select all
ls /usr/local/vesta/data/templates/web/php-fpm/
default.tpl no-php.tpl socket.tpl
-
- Posts: 2
- Joined: Sun Aug 26, 2018 7:05 pm
- Os: Debian 8x
- Web: nginx + php-fpm
Re: VestaCP times out, sites all work ok
I found the problem!!!
It was cloudflare (my fault). I enabled the "dns protection" for the vesta subdomain in cloudflare...
It was cloudflare (my fault). I enabled the "dns protection" for the vesta subdomain in cloudflare...