Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Commented Unassigned: Getting "SOCKS5: General failure" error [2094]

$
0
0
I am working on code which connects using sftp and proxy. Following is my code snippet. I am getting "SOCKS5: General failure." error. Please help. (Using 4.0 binary)

Imports Renci.SshNet.SftpClient
.
.
.
Dim pa As New Renci.SshNet.PasswordAuthenticationMethod("<username for site>", "<password for site")

Dim connectionInfo As New Renci.SshNet.ConnectionInfo(ftpUrl, <site port number>, "<username for site>", Renci.SshNet.ProxyTypes.Socks5, "<our proxy name>", <our proxy port number>, "<my windows username>", "<my windows password", pa)

Dim sftp As New Renci.SshNet.SftpClient(connectionInfo)
sftp.Connect()
.
.
Comments: ** Comment from web user: drieseng **

The SOCKS5 proxy server is returning 0x01 as reply which indicates "general SOCKS server failure".
I can't do much with this information, so I'd need to know why the server returns this error.
What proxy server are you using ?


Viewing all articles
Browse latest Browse all 1026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>