Re: [Proftpd-user] Response error from backend control channel with mod_proxy and mod_sftp

"TJ Saunders" <[email protected]> Wed, 19 Jul 2023 08:00:45 -0700
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
> [...]
> 2023-07-19 12:33:24,528 mod_proxy/0.9.2[8]: selected backend server 
> 'sftp://yyy.yyy.yyy.yyy:8022'
> 2023-07-19 12:33:24,531 mod_proxy/0.9.2[8]: proxy session running as UID 
> 10000, GID 10000, restricted to '/ftp-proxytables/empty'
> 2023-07-19 12:33:24,531 mod_proxy/0.9.2[8]: error receiving response 
> from backend control connection: Invalid argument
> [...]
>
> I have this error trying to configure mod_proxy in front of a MFT sftp 
> server. It is not very understandable for me, I have no clue of what 
> happen here, could someone give me some explanation ? Maybe a solution ?

I suspect we're going to need more details to pin down the issues here.  First, what specific version of ProFTPD, mod_proxy are you using?

Next, could you configure some trace logging for this?  I recommend adding _e.g._:

  TraceLog /path/to/proftpd/trace.log
  Trace proxy:20 \
    proxy.conn:20 \
    proxy.reverse:20 \
    proxy.ssh.kex:20 \
    proxy.ssh.msg:20 \
    proxy.ssh.packet:20 \
    sftp:20 \
    ssh2:20

These trace logs can be quite verbose; feel free to send them to me directly.

Cheers,
TJ


_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html