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

instantiation always throws "Service Unavailable" #2

Open
michael-ts opened this issue Oct 12, 2015 · 0 comments
Open

instantiation always throws "Service Unavailable" #2

michael-ts opened this issue Oct 12, 2015 · 0 comments

Comments

@michael-ts
Copy link

findi = FindMyIPhone(username,password)
Traceback (most recent call last):
File "", line 1, in
File "findi.py", line 17, in init
self.get_partition()
File "findi.py", line 34, in get_partition
headers, content = self.post('/fmipservice/device/%s/initClient' % self.username, body, None, True)
File "findi.py", line 260, in post
resp = opener.open(req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 400, in open
response = meth(req, response)
File "findi.py", line 292, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 438, in error
return self._call_chain(_args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain
result = func(_args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 521, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 503: Service Unavailable

Service is up and available when viewed from (e.g.) https://icloud.com/#find

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

1 participant