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

Advertisement

iceporing
Joined:
Posts:
4

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

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 :
   $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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

Re: Can't create Session via Proxy in .Net Assembly [5.2.5 beta]

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.

Reply with quote

iceporing
Joined:
Posts:
4

Re: Can't create Session via Proxy in .Net Assembly [5.2.5 beta]

martin 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.
Description: Log files

Reply with quote

Advertisement

You can post new topics in this forum