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

104, 'Connection reset by peer' #488

Open
JonasTao opened this issue Dec 6, 2023 · 1 comment
Open

104, 'Connection reset by peer' #488

JonasTao opened this issue Dec 6, 2023 · 1 comment

Comments

@JonasTao
Copy link

JonasTao commented Dec 6, 2023

Describe the Error / Feature Request


When I sent the attack link, the system information was returned, but the coordinates were not returned and an error was reported.

Traceback (most recent call last):
File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1010, in validate_conn
conn.connect()
File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connection.py", line 411, in connect
self.sock = ssl_wrap_socket(
^^^^^^^^^^^^^^^^
File "/home/kali/.local/lib/python3.11/site-packages/urllib3/util/ssl
.py", line 428, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/.local/lib/python3.11/site-packages/urllib3/util/ssl
.py", line 472, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ssl.py", line 517, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ssl.py", line 1075, in _create
self.do_handshake()
File "/usr/lib/python3.11/ssl.py", line 1346, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/kali/.local/lib/python3.11/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/home/kali/.local/lib/python3.11/site-packages/urllib3/util/retry.py", line 532, in increment
raise six.reraise(type(error), error, _stacktrace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/.local/lib/python3.11/site-packages/urllib3/packages/six.py", line 734, in reraise
raise value.with_traceback(tb)
File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1010, in validate_conn
conn.connect()
File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connection.py", line 411, in connect
self.sock = ssl_wrap_socket(
^^^^^^^^^^^^^^^^
File "/home/kali/.local/lib/python3.11/site-packages/urllib3/util/ssl
.py", line 428, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/.local/lib/python3.11/site-packages/urllib3/util/ssl
.py", line 472, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ssl.py", line 517, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ssl.py", line 1075, in _create
self.do_handshake()
File "/usr/lib/python3.11/ssl.py", line 1346, in do_handshake
self._sslobj.do_handshake()
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/kali/Desktop/seeker/seeker.py", line 440, in
wait()
File "/home/kali/Desktop/seeker/seeker.py", line 274, in wait
data_parser()
File "/home/kali/Desktop/seeker/seeker.py", line 319, in data_parser
rqst = requests.get(f'https://ipwhois.app/json/{var_ip}')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/.local/lib/python3.11/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/.local/lib/python3.11/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/.local/lib/python3.11/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/.local/lib/python3.11/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/.local/lib/python3.11/site-packages/requests/adapters.py", line 501, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
To Reproduce


Expected behavior


Screenshots


5cd02f21f73ea73ee3a2c875ac7b12c
9c73ad32423c1b77b779ec13bc08815
21fc2330c10629c78d9e19c24b2eb81

Please complete the following information :

  • OS:Kali
  • OS Version:2023.3
  • Browser:chrome
  • Full Browser Version:
@thewhiteh4t
Copy link
Owner

@JonasTao is https://ipwhois.app/json/8.8.8.8 accessible for you ?

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