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

Failed to connect to any resolved endpoint. #49

Open
dauntlessArtist opened this issue Dec 28, 2024 · 4 comments
Open

Failed to connect to any resolved endpoint. #49

dauntlessArtist opened this issue Dec 28, 2024 · 4 comments

Comments

@dauntlessArtist
Copy link

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.

@CiZ01
Copy link

CiZ01 commented Jan 5, 2025

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

@schappellshow
Copy link

I'm having the same issue as OP and the recommended solution isn't working. Anyone else able to fix this?

@Johnny008
Copy link

Johnny008 commented Feb 9, 2025

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: NyaMisty/AltServer-Linux#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

@schappellshow
Copy link

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.0

Your 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

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

4 participants