Hi FLOOD ,
It is WSL as mentioned by topic starter. I have tried both Ubuntu 16 LTS and Ubuntu 18 LTS.
Any command line utils like curl, wget give same error.
In command line, when I run bash and use curl, git or other network connected util
Can't say about it, I was not using WSL for a long time (like ~6 months) and now I need it again