aio-libs / aiohttp

Asynchronous HTTP client/server framework for asyncio and Python
https://docs.aiohttp.org
Other
15.07k stars 2.01k forks source link

Could not parse hostname from URL #2278

Closed ThreshHNS closed 7 years ago

ThreshHNS commented 7 years ago

Long story short

ValueError: Could not parse hostname from URL.

I can't get to work a script (https://github.com/Myzon/vk-sketal and https://github.com/VKBots/VBot) All leads to aiohttp error. Can you help me with this error? image

Your environment

Windows 10 (64 bit) Python 3.6.2 Aiohttp 2.2.0

asvetlov commented 7 years ago

But your /login?act=... URL is relative. aiohttp explicitly reports that URL has not host part. What do you expect?

asvetlov commented 7 years ago

Closing the issue

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you feel like there's important points made in this discussion, please include those exceprts into that new issue.