tldr-pages / tldr-python-client

Python command-line client for tldr pages
https://pypi.org/project/tldr/
MIT License
596 stars 93 forks source link

Error fetching from tldr: <urlopen error [Errno 104] Connection reset by peer> #152

Closed ysl2 closed 3 years ago

ysl2 commented 3 years ago

OS: Manjaro KDE

I used pip install tldr command to install, after installing, I tried to run tldr ls and got this tips: image

navarroaxel commented 3 years ago

The tldr package in Manjaro is based on the python-client . Could you please test tldr using the client provided by pacman?

MasterOdin commented 3 years ago

This issue should be moved to the tldr-pages/tldr-python-client repository as pip install tldr installs the latest version of it.

@ysl2 Do you see any error when doing curl https://raw.githubusercontent.com/tldr-pages/tldr/master/pages/common/ls.md?

bl-ue commented 3 years ago

The tldr package in Manjaro is based on the python-client . Could you please test tldr using the client provided by pacman?

@navarroaxel they are using pip to install tldr.

@navarroaxel will you please transfer this issue to the tldr-pages/tldr-python-client repo?

navarroaxel commented 3 years ago

@navarroaxel they are using pip to install tldr.

@bl-ue I know, I just wonder if the same client code works via pacman than the pip install. Because I use the tldr-python-client provided by Arch Linux's pacman with no issues.

ysl2 commented 3 years ago

I uninstalled the pip tldr, and reinstalled tldr-python-client via yay, then I rebooted my computer and run tldr command, but I didn't get any response. By the way, I use alacritty for my terminal emulator. I don't know if this is the reason why I got no response.

bl-ue commented 3 years ago

It just sits there, or immediately exits without printing anything?

@MasterOdin suggested, what happens when you run:

curl https://raw.githubusercontent.com/tldr-pages/tldr/master/pages/common/ls.md
ysl2 commented 3 years ago

image

bl-ue commented 3 years ago

Do you have a proxy?

ysl2 commented 3 years ago

Maybe I have to set my network... you know, I have to use vpn in my country.... I will try my best to try to solve this. But if I can't do that. I have to come baak. Thank you :-)