On Mon, May 16, 2016 at 4:13 PM, Info (ITpartner.ee) <i...@itpartner.ee> wrote: > So FirewallD ports are opened. Doing the same ftp_put via php in active or > passive mode returns 504 Gateway timeout. > That’s why I thought mby haproxy doesn't let FTP server response back in to > server. > > Mby you have any other suggestions in this case?
Not knowing how your script works or any more details, i'm guessing that you're calling it through haproxy via port 80 on a browser, and then it tries to upload something remotely and won't give any feedback to your client until upload is finished. If this is the case, you might need to tune "timeout server". Set at value that's higher than the time it takes for the script to upload your files to the remote server. But now i'm only guessing. If i'm wrong, please share more details about the script and how you call it etc. /Björn