question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Anyio not picking on ssl stuff when moved from one domain to a subdomain with asks

See original GitHub issue

I’ve been trying to access the spotify accounts overview page using python, I can do this with requests and aiohttp, however when trying with the async httplib asks, I get an error: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1051)

So I opened an issue for asks: https://github.com/theelous3/asks/issues/132

And after some investigation asks’ creator believes the error comes from anyio and recommended I open an issue here to see what we can do about not panicing on ssl stuff when we are 30x moved from one domain to a subdomain.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
agronholmcommented, Aug 12, 2019

I’ll see what I can find out.

0reactions
agronholmcommented, Aug 12, 2019

Waitaminute…asks calls anyio.connect_tcp() using port 80 but with autostart_tls=True. This is definitely a bug in asks, not anyio.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SSL on primary subdomain not showing securely
Server and SSL stuff isn't my forte. I've got a wildcard SSL cert and on my root domain it works. On one of...
Read more >
How to Fix Common SSL Issues in WordPress (Beginner's ...
There are two ways to fix SSL/HTTPS mixed content errors in WordPress. We will show you both of them and then you can...
Read more >
Custom domains and SSL/TLS certificates - GitLab Docs
When using custom domains this way, you use the GitLab Pages feature but can skip the requirements. To use one or more custom...
Read more >
[CLOUD-6999] Allow custom domains for Cloud apps - Create and ...
I need to have an SSL-encrypted version of my Confluence/Jira pages that is completely based on my own hostname, not an *.atlassian.net name....
Read more >
Setting up a custom domain on PythonAnywhere
If you don't own a domain name of your own and want to have a second website as a subdomain of our domain,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found