Timeout Proxy

  • Quote


    Debian 8
    i-MSCP Version 1.2.x
    Apache FPM & Dovecot & mariadb 10.0


    Code
    1. root@panel:~# tail -f /var/log/apache2/informaticapuente.com/error.log
    2. [Tue Jun 09 16:58:54.820144 2015] [proxy_fcgi:error] [pid 1897:tid 119995359012608] [client 151.80.31.139:36640] AH01068: Got bogus version 108
    3. [Tue Jun 09 16:58:54.820189 2015] [proxy_fcgi:error] [pid 1897:tid 119995359012608] (22)Invalid argument: [client 151.80.31.139:36640] AH01075: Error dispatching request to : (passing brigade to output filters)
    4. [Tue Jun 09 18:34:16.995290 2015] [proxy_fcgi:error] [pid 1978:tid 119995368863488] (70007)The timeout specified has expired: [client 62.42.114.248:63764] AH01075: Error dispatching request to : (polling), referer: https://informaticapuente.com/admin1987/index.php?controller=AdminImport&token=4fc369976e60bf50595f9fb1e3de6a74


    I'm trying to import a large file of csv but I get an error, I think I have to increase the time of the directive (Apache Proxy TimeOut), but once used fcgid, and now apache-fpm but not to find it, I can indicate where to look ? I searched the forum but can not find anything. Thank you.

  • normally you need to increase the php max_time_limit and may another time limit. This params should be changeable via panel -> cusomer -> domain -> php editor (php editor must be enabled for that customer).

  • @Piradoxlanieve


    Try to add


    Code
    1. ProxyTimeout 900


    In the related virtualhost, before the following line


    Code
    1. <FilesMatch "\.php5?$">


    Then restart Apache2.


    Note: Increase the value if needed.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @Piradoxlanieve


    Should be fixed. See https://github.com/i-MSCP/imsc…cfe17df7256af7b5c90e21R12


    Note: Info given by @Ninos still relevant for the PHP side ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @Piradoxlanieve


    Should be fixed. See https://github.com/i-MSCP/imsc…cfe17df7256af7b5c90e21R12


    Note: Info given by @Ninos still relevant for the PHP side ;)

    I just need more time to run the import in csv prestashop in a single domain.

    Code
    1. root @ panel: ~ # nano /etc/apache2/sites-available/informaticapuente.com.conf

    I think I can add in that domain or I have to add to the master
    i try.
    Thanks

  • @Piradoxlanieve


    Add it like it is done here: https://github.com/i-MSCP/imsc…cfe17df7256af7b5c90e21R12 ( file /etc/apache2/sites-available/00_namerserver.conf )


    Then, restart Apache2 as usually.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • I'm happy for you so ;)


    Enjoy i-MSCP ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206