error sftp on altap 2.52 - connection refused

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
jpermana
Posts: 36
Joined: 17 Feb 2010, 17:48

error sftp on altap 2.52 - connection refused

Post by jpermana »

I tried SFTP with altap salamander 2.52 and got error, while working fine with Altap salamander 2.51.

Any idea why ?? and how to resolve it ??
Attachments
error message
error message
error_winscp.jpg (164.83 KiB) Viewed 12773 times
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: error sftp on altap 2.52

Post by Jan Rysavy »

Are you using any firewall on your computer? It looks like Salamander is blocked. Could you connect using FTP plugin to our (ALTAP) bookmark?

What about Plugins > Check Version > Check for new versions, does it work?
jpermana
Posts: 36
Joined: 17 Feb 2010, 17:48

Re: error sftp on altap 2.52

Post by jpermana »

Hi Jan,

The firewall is Off. Also I was able to FTP to Altap bookmark (both 2.51 and 2.52)

The winscp plugin version is 1.62 for Altap 2.52 and version 1.51 for Altap 2.51.
Martin Prikryl
Plugin Developer
Plugin Developer
Posts: 35
Joined: 14 Dec 2005, 13:04

Re: error sftp on altap 2.52

Post by Martin Prikryl »

Following link describes common causes of this error for WinSCP application. They mostly apply to WinSCP plugin for Altap Salamander, with the only difference being that the plugin does not support FTP protocol.

http://winscp.net/eng/docs/message_connection_refused
Martin Prikryl
https://winscp.net/
Martin Prikryl
Plugin Developer
Plugin Developer
Posts: 35
Joined: 14 Dec 2005, 13:04

Re: error sftp on altap 2.52

Post by Martin Prikryl »

Also, if the link does not help, please post a log files both from 2.52 and 2.51. See logging pane on WinSCP login dialog.
Martin Prikryl
https://winscp.net/
jpermana
Posts: 36
Joined: 17 Feb 2010, 17:48

Re: error sftp on altap 2.52

Post by jpermana »

Hi Martin,

Attached comparison Altap 2.52 and Altap 2.51. On Altap 2.51, I tried SFTP, SFTP (allow SCP fallback) and SCP, all works, mean I can connect. On Altap 2.52, none of these configuration work, all with the same result "network error : Connection refused"

How do I get the log file ?

Thanks
Attachments
error_winscp1.jpg
error_winscp1.jpg (486.46 KiB) Viewed 12716 times
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: error sftp on altap 2.52

Post by Jan Rysavy »

Please setup both WinSCP to create log files:
log.png
log.png (43.32 KiB) Viewed 12707 times
jpermana
Posts: 36
Joined: 17 Feb 2010, 17:48

Re: error sftp on altap 2.52

Post by jpermana »

Thanks Jan,

Attached log collected from altap 2.51 and altap 2.52.
Attachments
log.zip
(3.49 KiB) Downloaded 541 times
jpermana
Posts: 36
Joined: 17 Feb 2010, 17:48

Re: error sftp on altap 2.52

Post by jpermana »

Hi Jan, Martin,

I found the problem.

Thanks
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: error sftp on altap 2.52

Post by Jan Rysavy »

What was the problem?
jpermana
Posts: 36
Joined: 17 Feb 2010, 17:48

Re: error sftp on altap 2.52

Post by jpermana »

can not use localhost, i have to put 127.0.0.1

I just looking at the log, then there's the problem.
User avatar
Ether
Posts: 1471
Joined: 10 May 2007, 16:08
Location: Czech Republic
Contact:

Re: error sftp on altap 2.52

Post by Ether »

I encountered the same problem in another program (on W7x64) just yesterday. The lookup for localhost returns an IPv6 address and an invalid/unusable IPv4 address. In my case, the IPv4 address was 0.0.0.0.
Ελληνικά rulez.
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: error sftp on altap 2.52 - connection refused

Post by Jan Rysavy »

Yes, reopening this problem. I can confirm there is problem with WinSCP on x64 Windows 7. localhost is resolved as "::1" instead of "127.0.0.1". It does work in FTP client so it looks to be WinSCP related.
jpermana
Posts: 36
Joined: 17 Feb 2010, 17:48

Re: error sftp on altap 2.52 - connection refused

Post by jpermana »

Hi Jan,

So is this fix on altap 2.52 ?
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: error sftp on altap 2.52 - connection refused

Post by Jan Rysavy »

Martin Prikryl, author of WinSCP plugin, is still working on it.
Post Reply