How does aiohttp certify certificates? I can get pretty much any other module BUT aiohttp to connect to discord.com
.
#7289
Replies: 2 comments 7 replies
-
I already answered your question: #7287 (comment) |
Beta Was this translation helpful? Give feedback.
2 replies
-
For those wondering what happened to this -- I just gave up and full reinstalled my Linux system (though honestly that was something I've been needing to do for a while anyways). It works now, so it must have been some obscure configuration issue on my end. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Title, essentially. I made an issue about this that has some more details (I probably should have made it a discussion in the first place), but essentially I cannot connect to discord with aiohttp (and since discord.py uses aiohttp, I cannot create a bot that I've been trying to create).
I've been working on this issue for around three and a half days now, every search I've done has come up with either random Mac issues or Windows issues, which are not helpful as I am running on Ubuntu Server 20.04. And other results just haven't helped any at all.
I can get other libraries like
requests
to work, though.I'm mainly wondering if there's somewhere I can add certificates to, or if I can force aiohttp to certify in the same way that
requests
does (since it works).The absolute minimum code I have is the following:
And it causes the following:
Stack trace
Beta Was this translation helpful? Give feedback.
All reactions