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

unable to run a report #69

Closed
Moineau54 opened this issue Feb 14, 2025 · 3 comments
Closed

unable to run a report #69

Moineau54 opened this issue Feb 14, 2025 · 3 comments
Assignees

Comments

@Moineau54
Copy link

Describe the bug
script crashes while running a report.

To Reproduce

  1. make a research
  2. allow to run a report

Expected behavior
idk, it's my first time using the tool.

Crash output

Traceback (most recent call last):
  File "/home/test_user/tookie-osint/.tookievenv/lib/python3.12/site-packages/urllib3/connection.py", line 198, in _new_conn
    sock = connection.create_connection(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/test_user/tookie-osint/.tookievenv/lib/python3.12/site-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 963, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -2] Name or service not known

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/test_user/tookie-osint/.tookievenv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    response = self._make_request(
               ^^^^^^^^^^^^^^^^^^^
  File "/home/test_user/tookie-osint/.tookievenv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 488, in _make_request
    raise new_e
  File "/home/test_user/tookie-osint/.tookievenv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 464, in _make_request
    self._validate_conn(conn)
  File "/home/test_user/tookie-osint/.tookievenv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 1093, in _validate_conn
    conn.connect()
  File "/home/test_user/tookie-osint/.tookievenv/lib/python3.12/site-packages/urllib3/connection.py", line 704, in connect
    self.sock = sock = self._new_conn()
                       ^^^^^^^^^^^^^^^^
  File "/home/test_user/tookie-osint/.tookievenv/lib/python3.12/site-packages/urllib3/connection.py", line 205, in _new_conn
    raise NameResolutionError(self.host, self, e) from e
urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x7ca26f2be060>: Failed to resolve 'ogu.gg' ([Errno -2] Name or service not known)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/test_user/tookie-osint/.tookievenv/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/home/test_user/tookie-osint/.tookievenv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 841, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/home/test_user/tookie-osint/.tookievenv/lib/python3.12/site-packages/urllib3/util/retry.py", line 519, in increment
    raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='ogu.gg', port=443): Max retries exceeded with url: /Moineau54 (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7ca26f2be060>: Failed to resolve 'ogu.gg' ([Errno -2] Name or service not known)"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/test_user/tookie-osint/brib.py", line 422, in <module>
    report(reportUrls,uname)
  File "/home/test_user/tookie-osint/modules/report.py", line 37, in report
    response = requests.get(url, headers=headers)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/test_user/tookie-osint/.tookievenv/lib/python3.12/site-packages/requests/api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/test_user/tookie-osint/.tookievenv/lib/python3.12/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/test_user/tookie-osint/.tookievenv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/test_user/tookie-osint/.tookievenv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/test_user/tookie-osint/.tookievenv/lib/python3.12/site-packages/requests/adapters.py", line 700, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='ogu.gg', port=443): Max retries exceeded with url: /Moineau54 (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7ca26f2be060>: Failed to resolve 'ogu.gg' ([Errno -2] Name or service not known)"))
@Alfredredbird
Copy link
Owner

Thanks for making a bug report. There seems to be an issue with the report feature. Im going to try to fix this.
What OS are you using and what is your Tookie version?

@Alfredredbird Alfredredbird self-assigned this Feb 19, 2025
@Moineau54
Copy link
Author

im running it on Linux and I'm using the latest version

@Alfredredbird
Copy link
Owner

Thank you so much. I'll be releasing a bug fix soon :)

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

2 participants