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

httpx.RemoteProtocolError #469

Open
sanikovich opened this issue Nov 16, 2023 · 0 comments
Open

httpx.RemoteProtocolError #469

sanikovich opened this issue Nov 16, 2023 · 0 comments

Comments

@sanikovich
Copy link

Hi,
Any suggestion how it's possible to fix it?

`Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-88-generic x86_64)

System information as of Thu Nov 16 03:25:40 AM MSK 2023

System load: 0.0 Processes: 99
Usage of /: 44.6% of 9.76GB Users logged in: 1
Memory usage: 1% IPv4 address for eth0:
Swap usage: 0% IPv6 address for eth0:

Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status

root@:~# ghunt email xxxx@gmail.com

 .d8888b.  888    888                   888
d88P  Y88b 888    888                   888
888    888 888    888                   888
888        8888888888 888  888 88888b.  888888
888  88888 888    888 888  888 888 "88b 888
888    888 888    888 888  888 888  888 888
Y88b  d88P 888    888 Y88b 888 888  888 Y88b.
 "Y8888P88 888    888  "Y88888 888  888  "Y888 v2

         By: mxrch (🐦 @mxrchreborn)
   Support my work on GitHub Sponsors ! 💖

[+] Authenticated !

🙋 Google Account data

Name : xxxxx

[-] Default profile picture
[-] Default cover picture

Last profile edit : 2023/03/22 01:54:59 (UTC)

Email : xxxx@gmail.com
Gaia ID : xxxx

User types :

  • GOOGLE_USER (The user is a Google user.)

📞 Google Chat Extended Data

Entity Type : PERSON
Customer ID : Not found.

🌐 Google Plus Extended Data

Entreprise User : False

🎮 Play Games data

[+] New token for playgames has been generated
Traceback (most recent call last):
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions
yield
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpx/_transports/default.py", line 353, in handle_async_request
resp = await self._pool.handle_async_request(req)
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 253, in handle_async_request
raise exc
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 237, in handle_async_request
response = await connection.handle_async_request(request)
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpcore/_async/connection.py", line 90, in handle_async_request
return await self._connection.handle_async_request(request)
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpcore/_async/http2.py", line 144, in handle_async_request
raise exc
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpcore/_async/http2.py", line 112, in handle_async_request
status, headers = await self._receive_response(
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpcore/_async/http2.py", line 229, in _receive_response
event = await self._receive_stream_event(request, stream_id)
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpcore/_async/http2.py", line 264, in _receive_stream_event
raise RemoteProtocolError(event)
httpcore.RemoteProtocolError: <StreamReset stream_id:1, error_code:ErrorCodes.INTERNAL_ERROR, remote_reset:True>

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

Traceback (most recent call last):
File "/root/.local/bin/ghunt", line 8, in
sys.exit(main())
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/ghunt/ghunt.py", line 15, in main
parse_and_run()
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/ghunt/cli.py", line 31, in parse_and_run
process_args(args)
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/ghunt/cli.py", line 41, in process_args
trio.run(email.hunt, None, args.email_address, args.json)
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/trio/_core/_run.py", line 1946, in run
raise runner.main_task_outcome.error
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/ghunt/modules/email.py", line 109, in hunt
player_results = await playgames.search_player(ghunt_creds, as_client, email_address)
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/ghunt/helpers/playgames.py", line 48, in search_player
player_search_results = await playgateway_pa.search_player(as_client, query)
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/ghunt/apis/playgateway.py", line 71, in search_player
req = await self._query(as_client, verb, endpoint_name, base_url, None, data, data_type)
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/ghunt/objects/apis.py", line 114, in _query
req = await as_client.post(f"{self.scheme}://{self.hostname}{base_url}",
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpx/_client.py", line 1848, in post
return await self.request(
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpx/_client.py", line 1533, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpx/_client.py", line 1620, in send
response = await self._send_handling_auth(
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpx/_client.py", line 1648, in _send_handling_auth
response = await self._send_handling_redirects(
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpx/_client.py", line 1685, in _send_handling_redirects
response = await self._send_single_request(request)
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpx/_client.py", line 1722, in _send_single_request
response = await transport.handle_async_request(request)
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpx/_transports/default.py", line 352, in handle_async_request
with map_httpcore_exceptions():
File "/usr/lib/python3.10/contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "/root/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.RemoteProtocolError: <StreamReset stream_id:1, error_code:ErrorCodes.INTERNAL_ERROR, remote_reset:True>

`

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