Topic "Can't create Session via Proxy in .Net Assembly [5.2.5 beta]"

Author Message
iceporing
[View user's profile]

Joined: 2013-10-29
Posts: 4
Hi,

It looks like a bug.

I have a tunnel setup already on my computer and want to use the new ,advanced features such as ignoring certificates,File transfer Progress..etc available in the beta library.

How ever I can't seem to establish a session via the proxy using the new beta .NET Assembly Libraries.

I'm using powershell and setting up the proxy settings via :
Code:

   $sessionOptions.AddRawSettings("ProxyMethod", "2")
   $sessionOptions.AddRawSettings("ProxyHost", "127.0.0.1")
   $sessionOptions.AddRawSettings("ProxyPort", "9000")


I get the error "Connection has been unexpectedly closed. Server sent command exit status 0."

I generated the logs and it says it failed due to incorrect password, but the same script works perfectly when i use the current stable release.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
iceporing wrote:
I generated the logs and it says it failed due to incorrect password, but the same script works perfectly when i use the current stable release.

Please attach a full session log file showing the problem (using the both versions of WinSCP).

To generate log file, set Session.SessionLogPath. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.

_________________
Martin Prikryl
iceporing
[View user's profile]

Joined: 2013-10-29
Posts: 4
prikryl wrote:

Please attach a full session log file showing the problem (using the both versions of WinSCP).


I have attached both the debug and session log using both the versions.
Logs.zip (11.61 KB) [Download]

Description: Log files

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
This bug is being tracked already:
http://winscp.net/tracker/show_bug.cgi?id=1083

I have sent you an email with a development version of WinSCP to address you have used to register on this forum.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License