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

silent fail #19

Open
yosun opened this issue Oct 29, 2021 · 8 comments
Open

silent fail #19

yosun opened this issue Oct 29, 2021 · 8 comments

Comments

@yosun
Copy link

yosun commented Oct 29, 2021

this now silently fails. please fix it.

@Kryd0s
Copy link

Kryd0s commented Nov 17, 2021

Here is the response that Apple is sending back:

HTTP/1.1 503 
Server: AppleHttpServer/f6f00135a2e1
Date: Wed, 17 Nov 2021 04:14:51 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: <removed>; Path=/; Secure; HttpOnly
X-Responding-Instance: fmipservice:11300603:2203B780:18819131af52
Retry-After: 9997
Strict-Transport-Security: max-age=31536000; includeSubDomains;
via: xrail:st53p00ic-qujn13060901.me.com:8301:21D393:grp61,631194250daa17e24277dea86cf30319:003a1423fc35c68720299197b7c60db9:ussjc1
X-Apple-Request-UUID: 4b0d4115-f433-487a-9903-52d1c60c4269
access-control-expose-headers: X-Apple-Request-UUID,Via
X-Apple-Edge-Response-Time: 69

{"url":"https://support.apple.com/en-us/HT204230"}

@Kryd0s
Copy link

Kryd0s commented Nov 17, 2021

Digging through the code, and comparing it to the requests sent to and from the web browser version of iCloud it looks like this PHP code is supposed to be emulating an iPhone 5s. Charles Proxy for iOS is $8.99 which I believe is what @albeebe used to sniff out the headers and requests and everything originally. I might be willing to pay the 9 bucks to see if I can get this working again if @albeebe is no longer active to fix the code themselves.

@BetyOops
Copy link

Digging through the code, and comparing it to the requests sent to and from the web browser version of iCloud it looks like this PHP code is supposed to be emulating an iPhone 5s. Charles Proxy for iOS is $8.99 which I believe is what @albeebe used to sniff out the headers and requests and everything originally. I might be willing to pay the 9 bucks to see if I can get this working again if @albeebe is no longer active to fix the code themselves.

Hi,

Do plan to try to fix the API @Kryd0s ?

@Kryd0s
Copy link

Kryd0s commented Nov 21, 2021

Do plan to try to fix the API @Kryd0s ?

I was going to give @albeebe some time to respond.

@MrVinceZ
Copy link

MrVinceZ commented Dec 5, 2021

Hello, any news about the fix ? Thank you

@NebzHB
Copy link

NebzHB commented Dec 28, 2021

@Kryd0s Hello, any plan to fix that ? it seems @albeebe doesn't read his notifications ;)

@Kryd0s
Copy link

Kryd0s commented Jan 22, 2022

@BetyOops @MrVinceZ @NebzHB I paid the $9 and downloaded the Charles app, but I haven't made any progress on this. Charles is supposed to be able to proxy SSL connections and it works on a lot of apps, but it doesn't work on the Find(myiPhone) app. Not sure why. I may mess around with this some more, or try another method to fix it, but it's not looking very promising.

@jakehaas
Copy link

jakehaas commented Jun 2, 2022

FYI - I was able to get the library working again by adding the following CURL opt to the curlPOST method.

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);

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

6 participants