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

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

Open
realdoomsboygaming opened this issue Jan 23, 2025 · 3 comments

Comments

@realdoomsboygaming
Copy link

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.

@realdoomsboygaming
Copy link
Author

Videos is too long to upload on here, but video contains the full trace.

https://mega.nz/file/0hJkWRIC#ipElQppwi0ygJlIvtdatovUSffyVw1GH1jU85Hlb5Do

@realdoomsboygaming
Copy link
Author

text.txt

Here is the full trace

@c4R0D
Copy link

c4R0D commented Jan 24, 2025

Reproduce

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

2 participants