rotating-proxy icon indicating copy to clipboard operation
rotating-proxy copied to clipboard

SOCKS authentication failed. Unexpected number of bytes received.

Open hems opened this issue 4 years ago • 2 comments

For some weird reason i built a new rotating-proxy today and when using the same node.js code to do a request that i used on a previous build I'm getting the following error:

"SOCKS authentication failed. Unexpected number of bytes received."

Running it on an ubuntu image on Digital Ocean.

worth mentioning i had done exactly the same 1 year ago and had been running it as proxy to my node.js app for over an year and that never happened before.

is it possible that something has changed on ubuntu on the image that now requires additional configuration?

hems avatar Jan 29 '21 22:01 hems

I have the same problem.

Mr0N avatar Aug 02 '21 12:08 Mr0N

i have the same problem, i'm working on a telegram bot and using node-telegram-bot-api, when i try to connect via proxy i encounter with this error :

SOCKS authentication failed. Unexpected number of bytes received.

here is my code :

const bot = new TelegramBot(token, { polling: true, request: { agentClass: Agent, agentOptions: { socksHost: '123.45.678.900', socksPort: '22', } } });

MRGando avatar Dec 14 '23 07:12 MRGando