Closed AriYanAb closed 1 month ago
Try to use a VPN or generate new keys after some time; otherwise, the game servers may block your IP for a while.
Hii sir, by any change do you have any tutorial on how to get appToken and promoId? thank you, I'm new btw
Working... |Traceback (most recent call last): File "/home/ubuntu/HamsterKeyGen/venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions yield File "/home/ubuntu/HamsterKeyGen/venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 373, in handle_async_request resp = await self._pool.handle_async_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ubuntu/HamsterKeyGen/venv/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 216, in handle_async_request raise exc from None File "/home/ubuntu/HamsterKeyGen/venv/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 196, in handle_async_request response = await connection.handle_async_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ubuntu/HamsterKeyGen/venv/lib/python3.12/site-packages/httpcore/_async/socks_proxy.py", line 296, in handle_async_request raise exc File "/home/ubuntu/HamsterKeyGen/venv/lib/python3.12/site-packages/httpcore/_async/socks_proxy.py", line 267, in handle_async_request stream = await stream.start_tls(*kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ubuntu/HamsterKeyGen/venv/lib/python3.12/site-packages/httpcore/_backends/anyio.py", line 68, in start_tls with map_exceptions(exc_map): File "/usr/lib/python3.12/contextlib.py", line 158, in exit self.gen.throw(value) File "/home/ubuntu/HamsterKeyGen/venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ConnectTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/ubuntu/HamsterKeyGen/main.py", line 185, in
keys, game_name = asyncio.run(main(game_choice, key_count, proxies))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/ubuntu/HamsterKeyGen/main.py", line 164, in main
keys = await asyncio.gather( tasks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/HamsterKeyGen/main.py", line 129, in generate_key_process
has_code = await emulate_progress(client_token, promo_id, proxies)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/HamsterKeyGen/main.py", line 93, in emulate_progress
response = await client.post(
^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/HamsterKeyGen/venv/lib/python3.12/site-packages/httpx/_client.py", line 1892, in post
return await self.request(
^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/HamsterKeyGen/venv/lib/python3.12/site-packages/httpx/_client.py", line 1574, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/HamsterKeyGen/venv/lib/python3.12/site-packages/httpx/_client.py", line 1661, in send
response = await self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/HamsterKeyGen/venv/lib/python3.12/site-packages/httpx/_client.py", line 1689, in _send_handling_auth
response = await self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/HamsterKeyGen/venv/lib/python3.12/site-packages/httpx/_client.py", line 1726, in _send_handling_redirects
response = await self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/HamsterKeyGen/venv/lib/python3.12/site-packages/httpx/_client.py", line 1763, in _send_single_request
response = await transport.handle_async_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/HamsterKeyGen/venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 372, in handle_async_request
with map_httpcore_exceptions():
File "/usr/lib/python3.12/contextlib.py", line 158, in exit
self.gen.throw(value)
File "/home/ubuntu/HamsterKeyGen/venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectTimeout