sherlock-project / sherlock

Hunt down social media accounts by username across social networks
https://sherlockproject.xyz
MIT License
59.38k stars 6.81k forks source link

The proxy specified in the command-line argument is not being used when attempting to update from https://raw.githubusercontent.com #1779

Open fffelix-jan opened 1 year ago

fffelix-jan commented 1 year ago

Checklist

Description

The proxy specified in the command-line argument is not being used when attempting to update from https://raw.githubusercontent.com . This is required for me since I am in China, where parts of GitHub are blocked, and I need to use a proxy to access GitHub properly. Here is what I typed:

PS C:\Users\MyUser\Documents\GitHub\sherlock> python sherlock --proxy socks5://127.0.0.1:8080 REDACTED
A problem occurred while checking for an update: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /sherlock-project/sherlock/master/sherlock/sherlock.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000024648BAF110>, 'Connection to raw.githubusercontent.com timed out. (connect timeout=None)'))
Using the proxy: socks5://127.0.0.1:8080
ERROR:  Problem while attempting to access data file URL 'https://raw.githubusercontent.com/sherlock-project/sherlock/master/sherlock/resources/data.json':  HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /sherlock-project/sherlock/master/sherlock/resources/data.json (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000024648BB8C10>, 'Connection to raw.githubusercontent.com timed out. (connect timeout=None)'))
PS C:\Users\MyUser\Documents\GitHub\sherlock>
secretguard commented 1 year ago

Having the same issue without using any proxies.

python3 sherlock.py REDACTED -v

A problem occurred while checking for an update: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /sherlock-project/sherlock/master/sherlock/sherlock.py (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fd89ca82190>: Failed to establish a new connection: [Errno 101] Network is unreachable'))

ERROR:  Problem while attempting to access data file URL 'https://raw.githubusercontent.com/sherlock-project/sherlock/master/sherlock/resources/data.json':  HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /sherlock-project/sherlock/master/sherlock/resources/data.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fd89c9095d0>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
suvendu-04 commented 1 year ago

use 8.8.8.8 NDS for kali Linux 1st go to network setting 2nd go to ipv4 setting 3rd add 8.8.8.8 DNS

fffelix-jan commented 1 year ago

I was on Windows 11, not Kali.

suvendu-04 commented 1 year ago

try to change your DNS

On Tue, 22 Aug, 2023, 5:18 am Félix An, @.***> wrote:

I was on Windows 11, not Kali.

— Reply to this email directly, view it on GitHub https://github.com/sherlock-project/sherlock/issues/1779#issuecomment-1687209278, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJL43PAYXOOX36E4HMTMDLXWPXWRANCNFSM6AAAAAAXJFGLGQ . You are receiving this because you commented.Message ID: @.***>