Author Topic: Error 504 Gateway Time-Out Nginx Zentyal 8 fresh install  (Read 491 times)

aalvaro23

  • Zen Monk
  • **
  • Posts: 50
  • Karma: +1/-0
    • View Profile
Error 504 Gateway Time-Out Nginx Zentyal 8 fresh install
« on: May 06, 2024, 04:51:07 pm »
Hi:

After a fresh install of Zentyal 8 and select only Web Server and CA modules (including regular Firewall and Network) when finish the process and set the IP address, can't display the Dashboard (after normal login), only get Error 504 Gateway Time-Out from Nginx.
Any solution for this?

Kind regards
Note: When unplug network cable I can enter the Dashboard normally.
« Last Edit: May 06, 2024, 05:17:31 pm by aalvaro23 »

foeke

  • Zen Apprentice
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Error 504 Gateway Time-Out Nginx Zentyal 8 fresh install
« Reply #1 on: May 13, 2024, 10:12:22 am »
From my little experience. A restart from the firewall might help. Maybe check if some rules are incorrect?

Daniel Joven

  • Zentyal Staff
  • Zen Monk
  • *****
  • Posts: 69
  • Karma: +21/-0
    • View Profile
Re: Error 504 Gateway Time-Out Nginx Zentyal 8 fresh install
« Reply #2 on: May 16, 2024, 12:34:07 pm »
Hi,

If the webadmin module is running and the server does not have any lock file or load issues, the 504 error might be related to the bug we have fixed and released today in the package zentyal-core 8.0.3, below you have the commit.

- https://github.com/zentyal/zentyal/commit/da6fcd411e3a3acea43d8581eb972f3ba901556d#diff-f2da1cfc0ddd16974080efa028f11a9c2c83db2d36b364d89fabc8f70e797da0

Basically, the webadmin module does a HTTP query to the certain public web page, and if the server that manages that page has load issues, the webadmin module might thrown an error. With this fix, that issue should be solved.

Best regards, Daniel Joven.