-
Notifications
You must be signed in to change notification settings - Fork 79
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
Incorrect Content-Type: must be textual to extract_string, JSON to extract_json. #99
Comments
Same error with iOS 16.1.1, so it most likely wasn't caused by updating D: |
Same error. I guess you shouldn't update to 16.5.1 just yet. |
Same error here, iOS 16.6 beta |
Doesn't seem to be an iOS problem because @PinguThePenguin007 mentioned it not working on 16.1.1, I'm on 16.5 and I have the problem, and @boat1337 is on 16.6 beta. |
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:
Your architecture may differ, so i will refer to the executable as anisette-server
|
Worked perfectly, Thank you! |
1- Is it safe? 2- What do I put after -n and -p? |
can confirm, solved it by switching anisette servers |
you're right; that does solve the problem. thank you! |
Did you put the same Hostname and Port? (Google translator) |
you need to use your own ip address. find it with something like ip addr or ifconfig. port 6969 worked for me. |
127.0.0.1 is localhost, so it should work fine :D
about as safe as running AltServer-Linux in the first place, i think :D
-n - your ip address / 127.0.0.1 |
|
Doesnt look like a crash, that's what is should show. Do the next step:
|
I didn't understand what to do in step 5 and 6 |
In a new terminal window, run the command below:
Then start AltServer (however you used to) on your PC Finally, connect your device to your PC as you usually do when refreshing/installing AltStore apps and go ahead with the refresh/install |
It doesn't work. |
@LLuanZZ try to run AltServer without sudo |
I'm not sure what this error means. |
the port you specified in the anisette server and the port you enter before launching AltServer must not differ, you seemed to enter 6969 in anisette-server and 8659 in ALTSERVER_ANISETTE_SERVER weird though, it shouldn't have fallen back to trying connecting to the default server, when i messed up earlier while trying to setup this, it just told me it couldn't connect to the address i specified and didn't do anything else... maybe root access somehow affected it? i have no clue, but still, you should try entering the same port in both servers |
It's on the same port. I got my Apple ID emails mixed up, corrected it to the correct email, ran AltServer again and it showed this:
|
First of all, thank you for your hard work. Unfortunately, I have a Raspberry Pi 4, but it doesn't work as smoothly as the anisette server works in Ubuntu. (aarch64, armv7) Below is the error. ./anisette-server-aarch64: /lib/aarch64-linux-gnu/libc.so.6: version I think it will be resolved in the near future, but it still doesn't work, so I hope it helps those who see this article. |
I have followed your guide and still get these errors...
and I can confirm the alternative server is indeed running by going to http://127.0.0.1:6969 and seeing the json provided. And I also ran |
@PinguThePenguin007 |
Nope im getting the same error here |
Didn't work for me.. same error |
Does this error occur with the Windows version of altserver as well? I looked at the commits a few days ago and it doesn't seem like the upstream repo was updated in any regards to this. Does upstream use a different anisette server by default? |
I don't think so, because in AltServer for Windows, the Anisette server is not used. The server is on your own PC (I think). |
Can confirm this is an Anisette issue and not an iOS version issue, as I also had this problem on 15.6. Thanks for the fix! |
i'm really sorry, but i have no clue :( |
Could be firewall related I will look into that |
Problem solved by Dadoum. The workaround is as follows. If your glibc version is not correct, try the below. 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 It should now work correctly on Raspberry Pi. |
If you don't want to install something to your PC, you can run ansiette server in docker: docker run -d -v provision_config:/home/Chester/.config/Provision/ --restart=always -p 6969:6969 --name anisette dadoum/anisette-server:latest And, follow the instructions:
|
I’m running anisette in docker and using 2 screens. One for netmuxd and another for altserver. I had to run netmuxd in sudo for Wi-Fi refresh to work. As I’m running netmuxd in sudo, I have to run altserver in sudo too. It’s fine because I can sudo first and do export of anisette url and then run altserver. Everything works fine but have a weird issue. Not sure if it’s related. after some time, when I try to go do refresh of AltStore in the app, it says that it can’t use previous provisioning profile and asks to refresh the whole app, that basically invalidates old profiles and apps that I have. When I hit refresh it basically reinstalls the apps. It’s ok. Main challenge is with uyouplus as I have to uninstall and reinstall the app. |
Try this All you need is run the script and everything works for you And if want you can use it as an app |
does the export work if you put that in profile.d making it system level so we can do sudo? I tried running netmuxd without sudo and it doesn't see my devices. so when I run netmuxd without sudo, I have to run altserver as sudo too. |
Compiling anisette is not working on my orange pi zero 2 (armbian bullseye). Dud cannot be compiled on arch64. So I tried the cmake route described in Dadoum readme file but it’s not working either. The reason is that the D compiler (ldc2) is not working for compiling anisette. I know that the method described in all the posts above using anisette binary works well if I upgrade armbian to Bookworm version (glibc ver 36), but in that case I loose wifi because there no working wifi drivers for orange pi in Bookworm. Does anyone know of a D compiler working on aarch64? |
Did you try using docker? I haven’t compiled it. I have a pi 4 and just running on docker works perfectly. |
It looks like root of the problem is not anisette. I tried to update anisette docker, but it did't help. I noticed, that altserver working properly when I running it from shell and giving this error when I start it like systemd unit. After some research I found that adding this line to altserver systemd unit: |
Thanks for the suggestion! |
Does this work on raspberry pi? Also did you fix the Wi-Fi refreshing? |
WiFi refreshing fixed, pi should work |
If i run anisette-server with following command on my raspberry pi 2 model B with ubuntu running on it: I'm getting this error: And if I try to build anisette-server on it with following command:
I'm getting the following error: Can someone help me? |
i'm one step forward with this command i was able to install D Compiler: but then i got this error: Has anyone an idea? |
Works like a charm, saved my day! |
my man |
it works through cable but not wifi, it says altserver could not find the device |
when i try this i get up to dub build and then get a semver error
|
for anyone trying this on a low memory pi (<=1GB?), use the |
Hi!
AltStore stopped working for me after updating to iOS 16.5.1
When I try to refresh the app I get this error:
The text was updated successfully, but these errors were encountered: