AltServer-Linux-PyScript
AltServer-Linux-PyScript copied to clipboard
Failed to connect to any resolved endpoint.
Whenever I try to install AltStore I always seem to get this error message:
alert: Could not install AltStore.ipa to unknown. Failed to connect to any resolved endpoint Press any key to continue...
I made sure that my device is plugged in and the screen was on. I had also inputted my apple id and password correctly. Any help is appreciated.
I solved in the following manner:
Be sure anisette server is running and call the main.py specifying ALTSERVER_ANISETTE_SERVER env variable:
ALTSERVER_ANISETTE_SERVER=http://127.0.0.1:6969 python main.py
I'm having the same issue as OP and the recommended solution isn't working. Anyone else able to fix this?
I have the same issue, tried @CiZ01 solution but it was not working for me.
I did a bit more digging and found a solution here: https://github.com/NyaMisty/AltServer-Linux/issues/99
apt update
apt upgrade
curl -fsS https://dlang.org/install.sh | bash -s ldc
git clone https://github.com/Dadoum/Provision --recursive
cd Provision
dub build -b release :anisette-server
The build has been completed. If you find the path as below, there will be provision_anisette_server.
cd bin/
chmod +x provision_anisette-server
./provision_anisette-server -n 127.0.0.1 -p 6969
Thanks @Johnny008 ! It looks like the method you described is specifically for running AltServer on a Raspberry Pi. Looking through that thread, though, had the answer for me.
I have found the source of the issue, it seems that the default anisette-server has changed something and broke AltServer-Linux
Here's my guide to get it running again:
1. Download an alternative anisette-server from https://github.com/Dadoum/Provision/releases/tag/2.1.0Your architecture may differ, so i will refer to the executable as anisette-server
3. Extract it, mark it as executable chmod +111 anisette-server 4. Run it like this: ./anisette-server -n 127.0.0.1 -p 6969 These are my hostname (argument -n) and port (-p) of choice, you may pick something else :) 5. Open a new window/screen/etc. 6. Export the enviroment variable for AltServer so it connects to our server export ALTSERVER_ANISETTE_SERVER=http://127.0.0.1:6969 7. Run AltServer, it should work! :DDD
Thanks @Johnny008 ! It looks like the method you described is specifically for running AltServer on a Raspberry Pi. Looking through that thread, though, had the answer for me.
I have found the source of the issue, it seems that the default anisette-server has changed something and broke AltServer-Linux Here's my guide to get it running again:
1. Download an alternative anisette-server from https://github.com/Dadoum/Provision/releases/tag/2.1.0Your architecture may differ, so i will refer to the executable as anisette-server
3. Extract it, mark it as executable chmod +111 anisette-server 4. Run it like this: ./anisette-server -n 127.0.0.1 -p 6969 These are my hostname (argument -n) and port (-p) of choice, you may pick something else :) 5. Open a new window/screen/etc. 6. Export the enviroment variable for AltServer so it connects to our server export ALTSERVER_ANISETTE_SERVER=http://127.0.0.1:6969 7. Run AltServer, it should work! :DDD
for some reason this isnt working for me it just says erdi@erdi-E7212:~/Downloads$ ./anisette-server-x86_64 app INFO 2025-03-03T19:59:29.437 anisette-server-provision v2.1.0 Illegal instruction (core dumped)
Everything worked fine on Debian 12 but after I updated to Debian 13, I got a similar error when connecting my device (Failed to handle request:Failed to connect to any resolved endpoint). Perhaps a dependency became obsolete in Debian 13?
I tried reinstalling the dependencies and got this:
Package libimobiledevice6 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libimobiledevice-1.0-6:i386 libimobiledevice-1.0-6
E: Package 'libimobiledevice6' has no installation candidate