504 Gateway Time-out The server didn't respond in time. How to fix it?

后端 未结 3 1227
北荒
北荒 2021-02-02 11:34

The client requested to download a compressed log file, using Ext.js a form submission on an embedded iframe. Request was sent to server, which has Apache and JBoss

3条回答
  •  时光说笑
    2021-02-02 11:51

    The servlet was taking a long time to compress the log files, and Apache's timeout was set to 2min.

    The error was fixed by increasing the TimeOut Directive on the httpd.conf file:

    #
    # Timeout: The number of seconds before receives and sends time out.
    #
    ##Timeout 120
    Timeout 600
    

提交回复
热议问题