Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion Debian/Ubuntu
  • Search

Help can not access the vestacp panel I get error "504 Gateway Time-out" *_* Solved *_*

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
willamsphp
Posts: 33
Joined: Wed Feb 11, 2015 5:36 pm

Help can not access the vestacp panel I get error "504 Gateway Time-out" *_* Solved *_*
  • Quote

Post by willamsphp » Tue Mar 07, 2017 8:02 pm

Help can not access the vestacp panel I get error "504 Gateway Time-out"

The error occurs after changing the IP of the server.

Automating IP exchange or Public DNS exchange.

I believe this error is generated "504 Gateway Time-out"

Most do not know what I have to reconfigure any server.

What files can not be modified to change IP and DNS?

What should I do?

nginx-error.log

Code: Select all

PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14" while reading response header from upstream, client: 170.245.64.66, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "namehost:8083", referrer: "https://namehost:8083/login/"
2017/03/07 18:53:05 [error] 1486#0: *62 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 170.245.64.66, server: _, request: "GET /list/user/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock", host: "namehost:8083", referrer: "https://namehost/login/"
2017/03/07 19:00:09 [error] 1486#0: *68 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 170.245.64.66, server: _, request: "GET /list/user/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock", host: "namehost:8083", referrer: "https://namehost/login/"
2017/03/07 19:19:49 [error] 1486#0: *72 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 170.245.64.66, server: _, request: "GET /list/user/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock", host: "namehost:8083"
2017/03/07 19:44:48 [error] 1486#0: *77 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 170.245.64.66, server: _, request: "GET /list/user/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock", host: "namehost:8083"
2017/03/07 19:58:50 [error] 1486#0: *82 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 170.245.64.66, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock", host: "ip:8083"
2017/03/07 21:33:26 [error] 1486#0: *94 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 170.245.64.66, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock", host: "ip:8083", referrer: "https://ip:8083/login/"
df -h

Code: Select all

root@ip:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            492M   12K  492M   1% /dev
tmpfs           100M  388K   99M   1% /run
/dev/xvda1       30G  2.3G   26G   9% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
none            5.0M     0  5.0M   0% /run/lock
none            497M     0  497M   0% /run/shm
none            100M     0  100M   0% /run/user
df -i

Code: Select all

root@eip:~# df -i
Filesystem      Inodes  IUsed   IFree IUse% Mounted on
udev            125801    387  125414    1% /dev
tmpfs           127038    365  126673    1% /run
/dev/xvda1     1966080 165594 1800486    9% /
none            127038      2  127036    1% /sys/fs/cgroup
none            127038      2  127036    1% /run/lock
none            127038      1  127037    1% /run/shm
none            127038      2  127036    1% /run/user
root@ip:~#
Last edited by willamsphp on Thu Mar 09, 2017 3:07 pm, edited 1 time in total.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Help can not access the vestacp panel I get error "504 Gateway Time-out"
  • Quote

Post by skurudo » Thu Mar 09, 2017 6:15 am

We think this file /etc/sudoers.d/admin don't have code:

Code: Select all

# Created by vesta installer
Defaults env_keep="VESTA"
Defaults:admin !syslog
Defaults:admin !requiretty
Defaults:root !requiretty
If you paste this, all will work (as we hope)

Don't forget restart vesta service.
Top

willamsphp
Posts: 33
Joined: Wed Feb 11, 2015 5:36 pm

Re: Help can not access the vestacp panel I get error "504 Gateway Time-out"
  • Quote

Post by willamsphp » Thu Mar 09, 2017 3:06 pm

Solved the problem

Worked perfectly

Thank you for your help

skurudo And note 100%

Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Help can not access the vestacp panel I get error "504 Gateway Time-out" *_* Solved *_*
  • Quote

Post by skurudo » Thu Mar 09, 2017 8:01 pm

Thanks you for report, willamsphp
^_^
Top

elDekyfin
Posts: 4
Joined: Thu Oct 13, 2016 6:03 pm

Re: Help can not access the vestacp panel I get error "504 Gateway Time-out" *_* Solved *_*
  • Quote

Post by elDekyfin » Wed Jun 14, 2017 6:13 pm

I have a similar problem. All the websites hosted on the server work fine, but the vestacp panel always shows a 504 error. This problem begun only a few days ago: Everything was working perfectly till then.
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Debian/Ubuntu”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password