yourWaifu / sleepy-discord

C++ library for the Discord chat client. Please use Rust for new bots
https://yourWaifu.github.io/sleepy-discord/
MIT License
708 stars 93 forks source link

Error 5002: Could not get the gateway #258

Open therealnv6 opened 2 years ago

therealnv6 commented 2 years ago

I've tried most previous issues regarding this error, but no luck so far whatsoever.

Platform

yourWaifu commented 2 years ago

You are using VCPKG from the last issue #257, right? If so, there's this common issue where Curl wouldn't work for some reason, generally, I try to reinstall curl in vcpkg until it works.

therealnv6 commented 2 years ago

You are using VCPKG from the last issue #257, right? If so, there's this common issue where Curl wouldn't work for some reason, generally, I try to reinstall curl in vcpkg until it works.

I only applied the diff from issue #257, I'm still using my previously installed vcpkg (downloaded last night, from vcpkg). Should I be cloning the entire repository and override my old vcpkg installation instead of just applying the diff?

yourWaifu commented 2 years ago

Applying the diff should be good enough

therealnv6 commented 2 years ago

so I should just attempt to reinstall curl from vcpkg until it works?

yourWaifu commented 2 years ago

Yeah

therealnv6 commented 2 years ago

I've reinstalled curl about 5 times and so far no luck, could there perhaps be something else wrong?

yourWaifu commented 2 years ago

You could try the different SSL backends of curl, you could try installing something like this

curl[core,non-http,openssl,schannel,ssl,sspi]:x64-windows
therealnv6 commented 2 years ago

That actually worked! Thanks!