SinisterRectus / Discordia

Discord API library written in Lua for the Luvit runtime environment
MIT License
702 stars 144 forks source link

"Could not authenticate, check token:" #182

Closed ShiforGitHub222 closed 5 years ago

ShiforGitHub222 commented 5 years ago

Could not authenticate, check token: ...ents/Discord Bots/EuroBot/deps/secure-socket/context.lua:67: #1:TLS not supported Maybe [SSLv3] SSLv23 TLSv1 TLSv1_1 TLSv1_2 DTLSv1 [SSLv2], option followed by _client or _server

Tried a full reinstall, nothing works. I'm definitely entering the token correctly.

local token = "my token is here but obviously i dont want to reveal it" client:run("Bot "..token)

SinisterRectus commented 5 years ago

What version of secure-socket do you have? Run lit ls

ShiforGitHub222 commented 5 years ago

I tried that, it still outputs the same error.

ShiforGitHub222 commented 5 years ago

Fixed it: Instead of using get-lit v0.2 I used the v0.1 version and it worked.

SinisterRectus commented 5 years ago

Ah. I didn't realize that was an issue. I will update my get-lit app to support the latest binaries. I recommend that people use the official installation script(s) at https://luvit.io/install.html, since my get-lit app is supposed to be somewhat of a backup option.

SinisterRectus commented 5 years ago

I decided to archive my get-lit app. It really was supposed to be a temporary work around anyway.