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

ssl.SSLError: [SYS] unknown error (_ssl.c:2417) #12

Open
GhelloZ opened this issue Nov 12, 2024 · 0 comments
Open

ssl.SSLError: [SYS] unknown error (_ssl.c:2417) #12

GhelloZ opened this issue Nov 12, 2024 · 0 comments

Comments

@GhelloZ
Copy link

GhelloZ commented Nov 12, 2024

I just cloned the repo and installed all the depedencies and when trying to apply the changes, it just gives me the error in the title with these details:

$ python3 main_app.py
The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce.
Traceback (most recent call last):
  File "/home/-/iphone_stuff/nugget/Nugget-iOS/devicemanagement/device_manager.py", line 327, in apply_changes
    restore_files(files=files_to_restore, reboot=self.auto_reboot, lockdown_client=self.data_singleton.current_device.ld)
  File "/home/-/iphone_stuff/nugget/Nugget-iOS/Sparserestore/restore.py", line 105, in restore_files
    perform_restore(backup=back, reboot=reboot, lockdown_client=lockdown_client)
  File "/home/-/iphone_stuff/nugget/Nugget-iOS/Sparserestore/__init__.py", line 26, in perform_restore
    with Mobilebackup2Service(lockdown_client) as mb:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/-/iphone_stuff/nugget/.env/lib/python3.12/site-packages/pymobiledevice3/services/mobilebackup2.py", line 38, in __init__
    super().__init__(lockdown, self.SERVICE_NAME, include_escrow_bag=True)
  File "/home/-/iphone_stuff/nugget/.env/lib/python3.12/site-packages/pymobiledevice3/services/lockdown_service.py", line 20, in __init__
    service = start_service(service_name, include_escrow_bag=include_escrow_bag)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/-/iphone_stuff/nugget/.env/lib/python3.12/site-packages/pymobiledevice3/lockdown.py", line 68, in _inner_reconnect_on_remote_close
    return f(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^
  File "/home/-/iphone_stuff/nugget/.env/lib/python3.12/site-packages/pymobiledevice3/lockdown.py", line 502, in start_lockdown_service
    attr = self.get_service_connection_attributes(name, include_escrow_bag=include_escrow_bag)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/-/iphone_stuff/nugget/.env/lib/python3.12/site-packages/pymobiledevice3/lockdown.py", line 492, in get_service_connection_attributes
    response = self._request('StartService', options)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/-/iphone_stuff/nugget/.env/lib/python3.12/site-packages/pymobiledevice3/lockdown.py", line 561, in _request
    response = self.service.send_recv_plist(message)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/-/iphone_stuff/nugget/.env/lib/python3.12/site-packages/pymobiledevice3/service_connection.py", line 206, in send_recv_plist
    self.send_plist(data, endianity=endianity, fmt=fmt)
  File "/home/-/iphone_stuff/nugget/.env/lib/python3.12/site-packages/pymobiledevice3/service_connection.py", line 313, in send_plist
    return self.sendall(build_plist(d, endianity, fmt))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/-/iphone_stuff/nugget/.env/lib/python3.12/site-packages/pymobiledevice3/service_connection.py", line 193, in sendall
    self.socket.sendall(data)
  File "/usr/lib/python3.12/ssl.py", line 1210, in sendall
    v = self.send(byte_view[count:])
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1179, in send
    return self._sslobj.write(data)
           ^^^^^^^^^^^^^^^^^^^^^^^^
ssl.SSLError: [SYS] unknown error (_ssl.c:2417)

I own an iPhone 14 with iOS 18.2 (22C5125e) and here are the changes i tried to apply:

  • Mobile Gestalt
    • Enable charge limit
    • enable iphone 16 settings
    • disable region restriction
    • enable always on display

I have my Gestalt file in the main_app.py directory and correctly specified in the GUI app

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