Still having issues. Spent 6 hours and many long AI discussions and determined still seems to be a bug. Note server requires user/password as the authenication in SFTP on a custom port 1022. Here are additional details of what we did to determine:
SFTP Connection Issue – Wappler 7.7.7 / 7.7.8 (Windows, Password Authentication)
I am still unable to connect to my SFTP server using Wappler 7.7.8 with username/password authentication, although the same configuration works correctly in other clients and from the Windows command line.
Environment:
-
Windows (using built-in OpenSSH_for_Windows_9.5)
-
Remote server: OpenSSH_9.9
-
SFTP over port 1022
-
Authentication method: password only (no SSH key support on server)
Current Behavior in Wappler:
Wappler now successfully initiates the SSH connection and completes the handshake. The log shows:
-
Host key verification succeeds
-
Key exchange completes successfully
-
MAC negotiation completes successfully (after adjustment noted below)
-
Server responds with:
Authentications that can continue: publickey,password
Next authentication method: password
At this point, Wappler prompts for a password, but after entering it, the connection does not proceed. Instead, it eventually times out with:
Timeout - reconnecting
There is no indication that the password was accepted or rejected by the server. It appears that the password is not being successfully passed to the underlying SSH process.
Troubleshooting Performed:
Initially (in version 7.7.7), Wappler could not connect at all. After upgrading to 7.7.8, the connection now reaches the authentication stage, so that portion appears improved.
During testing, I encountered a “Corrupted MAC on input / message authentication code incorrect” error. This was resolved by forcing the MAC algorithm to hmac-sha2-256 in the SSH config. After doing this, SSH communication proceeded normally.
I verified that OpenSSH on Windows works correctly by connecting from the command line using:
sftp -o MACs=hmac-sha2-256 -P 1022 user@host
This prompts for a password and connects successfully.
I also confirmed that the exact same credentials and server settings work in Dreamweaver without any issues.
Additionally:
-
The SSH config file is being read and applied (confirmed by log output)
-
Authentication proceeds to the password stage correctly
-
No SSH keys are being used (intentionally password-only setup)
Conclusion:
At this point, all underlying components are working correctly:
-
The server is reachable and functioning
-
Credentials are valid
-
Windows OpenSSH works correctly
-
MAC negotiation issues have been resolved
The remaining issue appears to be within Wappler’s SFTP implementation on Windows. Specifically, Wappler reaches the password authentication stage but does not successfully pass the entered password to the SSH process, resulting in a timeout rather than a success or failure response.
This appears to be a regression introduced in 7.7.7 and only partially addressed in 7.7.8, where connection setup was fixed but password authentication handling still fails.
If needed, I can provide full logs, but the key point is that authentication reaches “Next authentication method: password” and then stalls with a timeout.