Skip to content

Connection Error: Failed to Establish Connection to localhost:49151 #6

@realdoomsboygaming

Description

@realdoomsboygaming

Description:
When running the application, it fails to connect to the local server at 127.0.0.1:49151, resulting in a ConnectionError. The error originates from the pymobiledevice3.tunneld.api module when attempting to retrieve tunnel devices.

Steps to Reproduce:

  1. Install the required UTM profile and other needed setup
  2. Run UTM with fresh install
  3. Observe the error traceback in the console.

Expected Behavior:
The application should successfully connect to the tunneling service and retrieve the list of devices without encountering connection issues.

Actual Behavior:
The following error is thrown:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=49151): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7816a3dfa0>: Failed to establish a new connection: [Errno 111] Connection refused'))

Traceback:
File "/root/venv/bin/JitStreamer", line 8, in <module> sys.exit(start_server()) File "/root/venv/lib/python3.12/site-packages/JitStreamer/init.py", line 334, in start_server refresh_devs() File "/root/venv/lib/python3.12/site-packages/JitStreamer/init.py", line 126, in refresh_devs devs_list = asyncio.run(async_get_tunneld_devices()) File "/root/venv/lib/python3.12/site-packages/pymobiledevice3/tunneld/api.py", line 43, in _list_tunnels raise TunneldConnectionError()

I am unaware if I am doing anything incorrectly as there is no setup documentation besides the Shortcut and UTM.

Tailscale is installed on device and VPN is on while running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions