Open parkjaeil0x01 opened 2 weeks ago
If I recall correctly this is strictly related to the apple id you are using, or a mismatch between the idevice and the apple id you used for installing altserver. A few issues i found: https://github.com/altstoreio/AltStore/issues/175 https://github.com/altstoreio/AltStore/issues/279
I'd suggest to use both a single account and an old one
Can you add -dd in the supervisord configuration? So altserver will give a few more details
[program:altserver]
command=/altserver/bin/AltServer -dd
autostart=true
autorestart=true
stderr_logfile=/altserver/logs/altserver.err.log
stdout_logfile=/altserver/logs/altserver.out.log
priority=40
If I recall correctly this is strictly related to the apple id you are using, or a mismatch between the idevice and the apple id you used for installing altserver. A few issues i found: altstoreio/AltStore#175 altstoreio/AltStore#279
I'd suggest to use both a single account and an old one
Can you add -dd in the supervisord configuration? So altserver will give a few more details
[program:altserver] command=/altserver/bin/AltServer -dd autostart=true autorestart=true stderr_logfile=/altserver/logs/altserver.err.log stdout_logfile=/altserver/logs/altserver.out.log priority=40
Thank you again for your rapid reply.
I only have a single Apple account and of course it would be same.
And here are logs with -dd option.
*** WARNING *** The program 'python3.11' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
Not supplying ipa, running in server mode!
Running python3 command to advertise AltServer: from ctypes import *; dll = CDLL('libdns_sd.so'); sdRef = c_int(); flags = 0; interfaceIndex = 0; name = None; regtype = br'_altserver._tcp'; domain = None; host = None; port = 49106; txtLen = 17; txtRecord = b'\x10\x73\x65\x72\x76\x65\x72\x49\x44\x3D\x31\x32\x33\x34\x35\x36\x37'; ret = dll.DNSServiceRegister(byref(sdRef), flags, interfaceIndex, name, regtype, domain, host, port, txtLen, txtRecord, None, None); print('DNSServiceRegister result: %d' % ret); from threading import Event; Event().wait();
Other Socket:7. Port: 55319. Error: 0
Receiving request size...
Checking socket: 7
Received bytes: 4(of 4)
Receiving 48 bytes...
Checking socket: 7
Received bytes: 48(of 48)
Received response status code: 200
parse anisette data ret
Got anisetteData json: {
"X-Apple-I-Client-Time": "2024-08-28T17:20:49Z",
"X-Apple-I-MD": "<MASKED>",
"X-Apple-I-MD-LU": "<MASKED>",
"X-Apple-I-MD-M": "<MASKED>",
"X-Apple-I-MD-RINFO": "<MASKED>",
"X-Apple-I-SRL-NO": "<MASKED>",
"X-Apple-I-TimeZone": "UTC",
"X-Apple-Locale": "en_US",
"X-MMe-Client-Info": "<MASKED>",
"X-Mme-Device-Id": "<MASKED>"
}
X-Apple-I-MD-M: <MASKED>
X-Apple-I-MD: <MASKED>
X-Apple-I-MD-LU: <MASKED>
X-Apple-I-MD-RINFO: <MASKED>
X-Mme-Device-Id: <MASKED>
X-Apple-I-SRL-NO: <MASKED>
X-MMe-Client-Info: <MASKED>
X-Apple-I-Client-Time: 2024-08-28T17:20:49Z
X-Apple-Locale: en_US
X-Apple-I-TimeZone: UTC
Building anisetteData obj...
MachineID : <MASKED>
One-Time Password: <MASKED>
Local User ID: <MASKED>
Device UDID: <MASKED>
Device Description: <MASKED>
Date: 2024-08-28T17:20:49Z
Represented Value: <MASKED>
Sent Bytes Count: 4 (4)
Sent Data: 4 Bytes
Sent Bytes Count: 592 (592)
Sent Data: 592 Bytes
Finished handling request!
app INFO 2024-08-28T17:20:41.410 anisette-server-provision v2.2.0
app INFO 2024-08-28T17:20:41.570 Creating machine...
app INFO 2024-08-28T17:20:41.575 Machine creation done!
app INFO 2024-08-28T17:20:41.575 Machine requires provisioning...
app INFO 2024-08-28T17:20:43.269 Provisioning done!
app INFO 2024-08-28T17:20:43.269 Ready! Serving data.
app INFO 2024-08-28T17:20:49.221 [<<] GET
app INFO 2024-08-28T17:20:49.222 [>>] 200 OK {
"X-Apple-I-Client-Time": "2024-08-28T17:20:49Z",
"X-Apple-I-MD": "<MASKED>",
"X-Apple-I-MD-LU": "<MASKED>",
"X-Apple-I-MD-M": "<MASKED>",
"X-Apple-I-MD-RINFO": "<MASKED>",
"X-Apple-I-SRL-NO": "<MASKED>",
"X-Apple-I-TimeZone": "UTC",
"X-Apple-Locale": "en_US",
"X-MMe-Client-Info": "<MASKED>",
"X-Mme-Device-Id": "<MASKED>"
}
Starting netmuxd
Starting mDNS discovery for _apple-mobdev2._tcp.local with mdns
Listening on /var/run/usbmuxd
[17:20:41.382][3] usbmuxd v1.1.1 starting up
[17:20:41.382][4] Creating socket
[17:20:41.382][4] Initializing USB
[17:20:41.382][3] Using libusb 1.0.26
[17:20:41.393][4] Registering for libusb hotplug events
[17:20:41.393][4] 0 devices detected
[17:20:41.393][3] Initialization complete
If I recall correctly this is strictly related to the apple id you are using, or a mismatch between the idevice and the apple id you used for installing altserver. A few issues i found: altstoreio/AltStore#175 altstoreio/AltStore#279 I'd suggest to use both a single account and an old one Can you add -dd in the supervisord configuration? So altserver will give a few more details
[program:altserver] command=/altserver/bin/AltServer -dd autostart=true autorestart=true stderr_logfile=/altserver/logs/altserver.err.log stdout_logfile=/altserver/logs/altserver.out.log priority=40
Thank you again for your rapid reply.
I only have a single Apple account and of course it would be same.
And here are logs with -dd option.
altserver.err.log
*** WARNING *** The program 'python3.11' uses the Apple Bonjour compatibility layer of Avahi. *** WARNING *** Please fix your application to use the native API of Avahi! *** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
altserver.out.log
Not supplying ipa, running in server mode! Running python3 command to advertise AltServer: from ctypes import *; dll = CDLL('libdns_sd.so'); sdRef = c_int(); flags = 0; interfaceIndex = 0; name = None; regtype = br'_altserver._tcp'; domain = None; host = None; port = 49106; txtLen = 17; txtRecord = b'\x10\x73\x65\x72\x76\x65\x72\x49\x44\x3D\x31\x32\x33\x34\x35\x36\x37'; ret = dll.DNSServiceRegister(byref(sdRef), flags, interfaceIndex, name, regtype, domain, host, port, txtLen, txtRecord, None, None); print('DNSServiceRegister result: %d' % ret); from threading import Event; Event().wait(); Other Socket:7. Port: 55319. Error: 0 Receiving request size... Checking socket: 7 Received bytes: 4(of 4) Receiving 48 bytes... Checking socket: 7 Received bytes: 48(of 48) Received response status code: 200 parse anisette data ret Got anisetteData json: { "X-Apple-I-Client-Time": "2024-08-28T17:20:49Z", "X-Apple-I-MD": "<MASKED>", "X-Apple-I-MD-LU": "<MASKED>", "X-Apple-I-MD-M": "<MASKED>", "X-Apple-I-MD-RINFO": "<MASKED>", "X-Apple-I-SRL-NO": "<MASKED>", "X-Apple-I-TimeZone": "UTC", "X-Apple-Locale": "en_US", "X-MMe-Client-Info": "<MASKED>", "X-Mme-Device-Id": "<MASKED>" } X-Apple-I-MD-M: <MASKED> X-Apple-I-MD: <MASKED> X-Apple-I-MD-LU: <MASKED> X-Apple-I-MD-RINFO: <MASKED> X-Mme-Device-Id: <MASKED> X-Apple-I-SRL-NO: <MASKED> X-MMe-Client-Info: <MASKED> X-Apple-I-Client-Time: 2024-08-28T17:20:49Z X-Apple-Locale: en_US X-Apple-I-TimeZone: UTC Building anisetteData obj... MachineID : <MASKED> One-Time Password: <MASKED> Local User ID: <MASKED> Device UDID: <MASKED> Device Description: <MASKED> Date: 2024-08-28T17:20:49Z Represented Value: <MASKED> Sent Bytes Count: 4 (4) Sent Data: 4 Bytes Sent Bytes Count: 592 (592) Sent Data: 592 Bytes Finished handling request!
anisette.out.log
app INFO 2024-08-28T17:20:41.410 anisette-server-provision v2.2.0 app INFO 2024-08-28T17:20:41.570 Creating machine... app INFO 2024-08-28T17:20:41.575 Machine creation done! app INFO 2024-08-28T17:20:41.575 Machine requires provisioning... app INFO 2024-08-28T17:20:43.269 Provisioning done! app INFO 2024-08-28T17:20:43.269 Ready! Serving data. app INFO 2024-08-28T17:20:49.221 [<<] GET app INFO 2024-08-28T17:20:49.222 [>>] 200 OK { "X-Apple-I-Client-Time": "2024-08-28T17:20:49Z", "X-Apple-I-MD": "<MASKED>", "X-Apple-I-MD-LU": "<MASKED>", "X-Apple-I-MD-M": "<MASKED>", "X-Apple-I-MD-RINFO": "<MASKED>", "X-Apple-I-SRL-NO": "<MASKED>", "X-Apple-I-TimeZone": "UTC", "X-Apple-Locale": "en_US", "X-MMe-Client-Info": "<MASKED>", "X-Mme-Device-Id": "<MASKED>" }
netmuxd.out.log
Starting netmuxd Starting mDNS discovery for _apple-mobdev2._tcp.local with mdns Listening on /var/run/usbmuxd
usbmuxd.err.log
[17:20:41.382][3] usbmuxd v1.1.1 starting up [17:20:41.382][4] Creating socket [17:20:41.382][4] Initializing USB [17:20:41.382][3] Using libusb 1.0.26 [17:20:41.393][4] Registering for libusb hotplug events [17:20:41.393][4] 0 devices detected [17:20:41.393][3] Initialization complete
Unfortunately it seems that altserver,usbmuxd and netmuxd are working properly. I'd suggest to try the steps in the two issues i linked and see if anything changes
First
What I need only is
What I faced at
Configurations and Logs
docker-compose.yml
I just edited and enabled
environment
section because, if I didn't define it then, the container takes 'aarch64' as its architecture like below.So, edited docker-compose.yml:
cat /proc/cpuinfo
uname -m
docker logs
tail -n 100 logs/altserver.err.log
tail -n 100 logs/altserver.out.log