altstoreio / AltStore

AltStore is an alternative app store for non-jailbroken iOS devices.
https://altstore.io
GNU Affero General Public License v3.0
11.32k stars 858 forks source link

How to fix this problem? #1403

Open xstramec opened 3 months ago

xstramec commented 3 months ago

Error Description The process 'altjit' failed with code 1. Could not connect to device 00008030-000E68C81404C02E. The process 'python3' returned unexpected output. KeyError: EnumIntegerString.new(3, 'PUBLIC_KEY')

Failure Reason The process 'altjit' failed with code 1. Could not connect to device 00008030-000E68C81404C02E. The process 'python3' returned unexpected output. KeyError: EnumIntegerString.new(3, 'PUBLIC_KEY')

Title JIT could not be enabled for PojavLauncher.

Source Line 61

executableURL file:///private/var/folders/qg/nvq6sb095ws76g4q4wqnyhh00000gn/T/AppTranslocation/46E3C13A-465C-4C1A-8F30-48BF675F6620/d/AltServer.app/Contents/MacOS/altjit

exitCode 1

output /Users/xstramec/Library/Python/3.9/lib/python/site-packages/urllib3/init.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020 warnings.warn( Traceback (most recent call last): File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/Users/xstramec/Library/Python/3.9/lib/python/site-packages/pymobiledevice3/main.py", line 148, in main() File "/Users/xstramec/Library/Python/3.9/lib/python/site-packages/pymobiledevice3/main.py", line 100, in main cli() File "/Users/xstramec/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1157, in call return self.main(args, kwargs) File "/Users/xstramec/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) File "/Users/xstramec/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/Users/xstramec/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/Users/xstramec/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, ctx.params) File "/Users/xstramec/Library/Python/3.9/lib/python/site-packages/click/core.py", line 783, in invoke return __callback(args, *kwargs) File "/Users/xstramec/Library/Python/3.9/lib/python/site-packages/pymobiledevice3/cli/cli_common.py", line 108, in wrapper func(args, **kwargs) File "/Users/xstramec/Library/Python/3.9/lib/python/site-packages/pymobiledevice3/cli/remote.py", line 159, in cli_start_quic_tunnel asyncio.run(tunnel_task(rsd, secrets, script_mode, max_idle_timeout=max_idle_timeout), debug=True) File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete return future.result() File "/Users/xstramec/Library/Python/3.9/lib/python/site-packages/pymobiledevice3/cli/remote.py", line 97, in tunnel_task async with start_quic_tunnel(service_provider, secrets=secrets, max_idle_timeout=max_idle_timeout) as tunnel_result: File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/contextlib.py", line 175, in aenter return await self.gen.anext() File "/Users/xstramec/Library/Python/3.9/lib/python/site-packages/pymobiledevice3/remote/core_device_tunnel_service.py", line 591, in start_quic_tunnel with create_core_device_tunnel_service(service_provider, autopair=True) as service: File "/Users/xstramec/Library/Python/3.9/lib/python/site-packages/pymobiledevice3/remote/core_device_tunnel_service.py", line 581, in create_core_device_tunnel_service service.connect(autopair=autopair) File "/Users/xstramec/Library/Python/3.9/lib/python/site-packages/pymobiledevice3/remote/core_device_tunnel_service.py", line 212, in connect if not self._validate_pairing(): File "/Users/xstramec/Library/Python/3.9/lib/python/site-packages/pymobiledevice3/remote/core_device_tunnel_service.py", line 453, in _validate_pairing peer_public_key = X25519PublicKey.from_public_bytes(data[PairingDataComponentType.PUBLIC_KEY]) KeyError: EnumIntegerString.new(3, 'PUBLIC_KEY')

❌ Unable to enable JIT for PojavLauncher on device 00008030-000E68C81404C02E. Could not connect to device 00008030-000E68C81404C02E. The process 'python3' returned unexpected output. KeyError: EnumIntegerString.new(3, 'PUBLIC_KEY')

hellimod commented 3 months ago

I get the same error, it would be nice to know what is causing this, it would seem python itself is not authorized to run "public Key" being the issue.