mattes / rotating-proxy

Rotating TOR proxy with Docker
The Unlicense
1.14k stars 257 forks source link

SOCKS authentication failed. Unexpected number of bytes received. #41

Open hems opened 3 years ago

hems commented 3 years ago

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?

Mr0N commented 3 years ago

I have the same problem.

MRGando commented 11 months ago

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', } } });