yourWaifu / sleepy-discord

C++ library for the Discord chat client. Please use Rust for new bots

Home Page:https://yourWaifu.github.io/sleepy-discord/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error 5002: Could not get the gateway

therealnv6 opened this issue · comments

commented

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

Platform

  • Windows 11

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.

commented

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?

Applying the diff should be good enough

commented

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

commented

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

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
commented

That actually worked! Thanks!