PSA: SFTPGO_COMMON__PROXY_PROTOCOL=1 can cause slow downs if not disabled #1066
matthewlenz
started this conversation in
General
Replies: 1 comment 2 replies
-
After waiting for the delay, do you see the proxy IP as the client IP in the logs or the real IP of the connecting client? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am mainly using SFTPgo through a proxy solution for the SSH and HTTP based communication. I had a need to allow FTP which the user connects directly to the server (rather than using the proxy). I discovered that SFTPGO_COMMON__PROXY_PROTOCOL=1 was causing a large delay (4-5 seconds for a response) for any connections/operations over FTP. I don't see the same latency for non-FTP communication directly to the server (non-proxied).
SFTPGO_FTPD__BINDINGS__0__APPLY_PROXY_CONFIG=false remedies this issue. I don't really know that it's a bug as it does make sense that not having the proxy header could add some latency (I just wasn't expecting that much). Hopefully this helps someone.
Beta Was this translation helpful? Give feedback.
All reactions