Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

396
Views
JS mineflayer Cómo usar un proxy con autorización de Microsoft

Quiero usar un proxy, antes usé el código

 const client = mc.createClient({ connect: client => { socks.createConnection({ proxy: { host: proxyHost, port: parseInt(proxyPort), type: 5, userId: proxyUsername, password: proxyPassword }, command: 'connect', destination: { host: IP, port: 25565 } }, (err, info) => { if (err) { console.log(err) return } client.setSocket(info.socket) client.emit('connect') }) }, agent: new ProxyAgent({ protocol: 'socks5:', host: proxyHost, port: proxyPort }), auth: 'microsoft', username: 'name', password: 'passs', version: '1.18' })

Funciona, pero necesito autorización a través de microsoft, si agrego el código de autorización deja de funcionar y da error

 Client Error FetchError: request to https://sessionserver.mojang.com/session/minecraft/join failed, reason: Received invalid Socks5 initial handshake (no accepted authentication type) at ClientRequest.<anonymous> (E:\proxy\node_modules\node-fetch\lib\index.js:1491:11) at ClientRequest.emit (node:events:526:28) at onerror (E:\proxy\node_modules\agent-base\dist\src\index.js:117:21) at callbackError (E:\proxy\node_modules\agent-base\dist\src\index.js:136:17) at processTicksAndRejections (node:internal/process/task_queues:96:5) { type: 'system', errno: undefined, code: undefined }

Proxy 100% funcionando

¿Cómo lo soluciono?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!