Comments (6)
it basically works from 2-8 hours and then gives me that error
from dankmemer-farmer.
In the first error shown, you can see sslv3 alert handshake failure
then the last error, same thing, but it triggered Max retries exceeded with URL
too
because it couldn't fix the handshake failure.
SSL Handshake: used to authenticate data transfers between servers and external systems such as browsers.
I also noticed a kind of reconnection after some hours passed but no SSL error showed. My conclusion that is your SSL Handshake failure was caused by external parties, not from the bot itself, maybe your connection, etc.
You can disable requests verification to resolve it but that wouldn't be secure. by passing the parameterverify=False
in SlashCommands.py
in every request. use Search & Replace. It would do it automatically without adding it manually.
Replace every line that has this:
req = requests.post('https://discord.com/api/v9/interactions', headers={"authorization": token}, json=payload)
With:
req = requests.post('https://discord.com/api/v9/interactions', verify=False , headers={"authorization": token}, json=payload)
And add those two lines in init.py
or bot.py
. It doesn't matter, but they should be added to the top lines.
import urllib3
urllib3.disable_warnings()
from dankmemer-farmer.
I want to ask, does a VPN
affect this error?
from dankmemer-farmer.
also the reconnection was me starting the bot again
from dankmemer-farmer.
VPN does affect the connection, especially with SSL handshake failures.
And i meant I did experience some reconnections after some hours passes. but no SSL handhake failure happened
from dankmemer-farmer.
ok that makes sense, thanks for your help
from dankmemer-farmer.
Related Issues (15)
- Buttons for Dank memer HOT 1
- error about invalid messages HOT 4
- Error with websocket
- Works good, but too simple HOT 1
- ERROR. pls help HOT 2
- Hosting HOT 3
- Buttons! (read the write please) HOT 1
- What do you mean(how do i do this) by cd into the files you downloaded from from this repo.. using cd DankMemer-Farmer? HOT 1
- Method HOT 1
- Startup Error HOT 1
- so i got to the end and it says "missing something something argument "intents"" HOT 7
- Slash command work around. HOT 1
- how do i fix HOT 1
- new error about missing something intents HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dankmemer-farmer.