AMP
AMP copied to clipboard
ADS SFTP "connection refused" without any errors in log
Bug Report
System Information
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Key ┃ Value ┃
┣━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃ Operating System ┃ Linux - Debian GNU/Linux 12 on x86_64 ┃
┃ Product ┃ AMP 'Callisto' v2.5.0.8 (Mainline) ┃
┃ Virtualization ┃ ProxmoxLXC ┃
┃ Application ┃ Application Deployment ┃
┃ Module ┃ ADSModule ┃
┃ Running in Container ┃ No ┃
┃ Current State ┃ Indeterminate ┃
┗━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
I confirm:
- [x] that I have searched for an existing bug report for this issue.
- [x] that I am using the latest available version of AMP.
- [x] that my operating system is up-to-date.
Symptoms
- What are you trying to do? Access ADS SFTP
- What are you expecting to happen? The connection to ADS SFTP works
- What is actually happening? ('Nothing' is not an acceptable answer!)
I get the message
Connection refused, but nothing is logged in AMP logs or the AMP Event logs.
Reproduction
- Go to ADS File Manager and click Connect to SFTP
- Click the link which opens with WinSCP or manually fill in the details in FileZilla
- Provide your password and 2FA code
- Get a
Connection refused - Check AMP Console and Logs without any info (even with debug log enabled)
- Check the Event Log within AMP and don't see anything related
- Try the same with an instance specific SFTP and notice it logs fine and works as expected
- Check on the host if AMP listens on the port of ADS and it does
- Check debug log for FileManager SFTP related messages and find
[12:15:40] [FileManager Info] : SFTP Server started on 0.0.0.0:2223 - Check firewall rules are present. Rules are existing
- Check correct port forwarding for port 2223. Same as for instance specific SFTP ports
I don't know what else to check. Other people on discord also have this problem.
PS: This is a standalone system
Test update from discord:
Just tried again with disabled 2FA in case I missed to test it. Same error. Nothing in the logs.
The Web File Manager from ADS seems to work as expected. If I delete a directory, the action gets logged. Only SFTP for ADS doesn't work.
https://discord.com/channels/266012086423912458/1237242215940620359
This is fixed in the next release.