Author Topic: 504 Gateway Time-out  (Read 2832 times)

cba

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
504 Gateway Time-out
« on: August 26, 2015, 08:11:39 am »
"http://Https://localhost:xxxxx/Printers/Composite/General " gives me "504 Gateway Time-out"

and a blank screen with nginx on top.

This means that I can't configure my printers.

Any ideas what to do?

ubuntu 14.04.3 LTS  ( TRUSTY ) with Zentyal 4.1 as Domain Controller.


expertgeeks

  • Forum Moderator
  • Zen Warrior
  • *****
  • Posts: 124
  • Karma: +11/-0
    • View Profile
Re: 504 Gateway Time-out
« Reply #1 on: August 26, 2015, 11:45:04 am »
Is it just the printer configuration page that gives you the gateway timeout error ?
You could try shortening the timeouts in /etc/nginx/nginx.conf by adding the following to the http { } section;

Code: [Select]
client_header_timeout 3000;
client_body_timeout 3000;
fastcgi_read_timeout 3000;
client_max_body_size 32m;
fastcgi_buffers 8 128k;
fastcgi_buffer_size 128k;

and then reloading nginx
Code: [Select]
/etc/init.d/nginx reload