discordjs / discord.js

A powerful JavaScript library for interacting with the Discord API
https://discord.js.org
Apache License 2.0
25.47k stars 3.97k forks source link

Client.login() with connection timeout problem #9904

Closed msnmask closed 1 year ago

msnmask commented 1 year ago

Which package is this bug report for?

discord.js

Issue description

Im in china ,i have a vpn it looks like this image the profiles: mixed-port: 7890 allow-lan: true bind-address: '*' mode: rule log-level: info external-controller: '127.0.0.1:9090' dns: enable: true ipv6: false default-nameserver: [223.5.5.5, 119.29.29.29] enhanced-mode: fake-ip fake-ip-range: 198.18.0.1/16 use-hosts: true nameserver: ['https://doh.pub/dns-query', 'https://dns.alidns.com/dns-query'] fallback: ['https://doh.dns.sb/dns-query', 'https://dns.cloudflare.com/dns-query', 'https://dns.twnic.tw/dns-query', 'tls://8.8.4.4:853'] fallback-filter: { geoip: true, ipcidr: [240.0.0.0/4, 0.0.0.0/32] } proxies:


so it looks like a websocket problem .but ...but the websocket ..how do i configure that ?
how do i ,i dont even know what it is ....

### Code sample

_No response_

### Versions

    "discord.js": "^14.13.0",
 Node.js v16.19.1.

### Issue priority

High (immediate attention needed)

### Which partials do you have configured?

Not applicable

### Which gateway intents are you subscribing to?

Not applicable, Guilds, GuildMembers

### I have tested this issue on a development release

_No response_
msnmask commented 1 year ago

before i close this issue . a message for the up coming Chinese confused and despair like me . all you need to do is to .. get a clash . get a v2ray set up the vpn ok ? and then .turn on system proxy . install service mode . and turn on the TUN mode button . that's it .that;s it . oh my ...god ....this toke me six days least . i have been running around everywhere stumbling in the dark trying to find a way out , and thanks to Qjuh from discord he has been most patient and helping for the past four days .thank you . thank you so much . oh mygod ......