Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting errors follow your medium for setting up tool #38

Open
hunter0x8 opened this issue Sep 8, 2020 · 0 comments
Open

getting errors follow your medium for setting up tool #38

hunter0x8 opened this issue Sep 8, 2020 · 0 comments

Comments

@hunter0x8
Copy link

hunter0x8 commented Sep 8, 2020

`Traceback (most recent call last):
File "sublert.py", line 165, in lookup
conn = psycopg2.connect("dbname={0} user={1} host={2}".format(DB_NAME, DB_USER, DB_HOST))
File "/home/Th3Hunt3r/tools/sublert/sublert/lib/python3.6/site-packages/psycopg2/init.py", line 127, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: could not connect to server: Connection timed out
Is the server running on host "crt.sh" (91.199.212.73) and accepting
TCP/IP connections on port 5432?
could not connect to server: Network is unreachable
Is the server running on host "crt.sh" (2a0e:ac00:c7:d449::5bc7:d449) and accepting
TCP/IP connections on port 5432?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/Th3Hunt3r/tools/sublert/sublert/lib/python3.6/site-packages/urllib3/connection.py", line 160, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/home/Th3Hunt3r/tools/sublert/sublert/lib/python3.6/site-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/home/Th3Hunt3r/tools/sublert/sublert/lib/python3.6/site-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
OSError: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/Th3Hunt3r/tools/sublert/sublert/lib/python3.6/site-packages/urllib3/connectionpool.py", line 677, in urlopen
chunked=chunked,
File "/home/Th3Hunt3r/tools/sublert/sublert/lib/python3.6/site-packages/urllib3/connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "/home/Th3Hunt3r/tools/sublert/sublert/lib/python3.6/site-packages/urllib3/connectionpool.py", line 978, in _validate_conn
conn.connect()
File "/home/Th3Hunt3r/tools/sublert/sublert/lib/python3.6/site-packages/urllib3/connection.py", line 309, in connect
conn = self._new_conn()
File "/home/Th3Hunt3r/tools/sublert/sublert/lib/python3.6/site-packages/urllib3/connection.py", line 172, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f368fd2d940>: Failed to establish a new connection: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/Th3Hunt3r/tools/sublert/sublert/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/home/Th3Hunt3r/tools/sublert/sublert/lib/python3.6/site-packages/urllib3/connectionpool.py", line 727, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/home/Th3Hunt3r/tools/sublert/sublert/lib/python3.6/site-packages/urllib3/util/retry.py", line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='crt.sh', port=443): Max retries exceeded with url: /?q=%25.paypal.com&output=json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f368fd2d940>: Failed to establish a new connection: [Errno 101] Network is unreachable',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "sublert.py", line 451, in
multithreading(parse_args().threads)
File "sublert.py", line 419, in multithreading
adding_new_domain(domain_to_monitor)
File "sublert.py", line 224, in adding_new_domain
response = cert_database().lookup(domain_to_monitor)
File "sublert.py", line 184, in lookup
req = requests.get(url, headers={'User-Agent': user_agent}, timeout=30, verify=False) #times out after 30 seconds waiting (Mainly for large datasets)
File "/home/Th3Hunt3r/tools/sublert/sublert/lib/python3.6/site-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/home/Th3Hunt3r/tools/sublert/sublert/lib/python3.6/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/home/Th3Hunt3r/tools/sublert/sublert/lib/python3.6/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/home/Th3Hunt3r/tools/sublert/sublert/lib/python3.6/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/home/Th3Hunt3r/tools/sublert/sublert/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='crt.sh', port=443): Max retries exceeded with url: /?q=%25.paypal.com&output=json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f368fd2d940>: Failed to establish a new connection: [Errno 101] Network is unreachable',))
`

@hunter0x8 hunter0x8 changed the title Issue with crt.sh unsupported use % crashing the program getting errors follow your medium for setting up tool Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant