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

[BUG]can not login #190

Open
lithiumleeow opened this issue Feb 17, 2024 · 1 comment
Open

[BUG]can not login #190

lithiumleeow opened this issue Feb 17, 2024 · 1 comment
Assignees
Labels
awaiting-info Awaiting more information to proceed bug Something isn't working

Comments

@lithiumleeow
Copy link

Describe the bug
can not login

region:china

LOG:

Two-step authentication required.
Please enter validation code
(string) --> 933302

Traceback (most recent call last):
File "/app/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 715, in urlopen
httplib_response = self._make_request(
File "/app/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 404, in _make_request
self._validate_conn(conn)
File "/app/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1058, in validate_conn
conn.connect()
File "/app/venv/lib/python3.10/site-packages/urllib3/connection.py", line 419, in connect
self.sock = ssl_wrap_socket(
File "/app/venv/lib/python3.10/site-packages/urllib3/util/ssl
.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "/app/venv/lib/python3.10/site-packages/urllib3/util/ssl
.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/local/lib/python3.10/ssl.py", line 513, in wrap_socket
return self.sslsocket_class._create(
File "/usr/local/lib/python3.10/ssl.py", line 1104, in _create
self.do_handshake()
File "/usr/local/lib/python3.10/ssl.py", line 1375, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/app/venv/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/app/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 799, in urlopen
retries = retries.increment(
File "/app/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='p219-fmipweb.icloud.com.cn', port=443): Max retries exceeded with url: /fmipservice/client/web/refreshClient (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/app/venv/bin//icloud", line 8, in
sys.exit(main())
File "/app/venv/lib/python3.10/site-packages/icloudpy/cmdline.py", line 296, in main
for dev in api.devices:
File "/app/venv/lib/python3.10/site-packages/icloudpy/base.py", line 554, in devices
return FindMyiPhoneServiceManager(
File "/app/venv/lib/python3.10/site-packages/icloudpy/services/findmyiphone.py", line 28, in init
self.refresh_client()
File "/app/venv/lib/python3.10/site-packages/icloudpy/services/findmyiphone.py", line 36, in refresh_client
req = self.session.post(
File "/app/venv/lib/python3.10/site-packages/requests/sessions.py", line 635, in post
return self.request("POST", url, data=data, json=json, **kwargs)
File "/app/venv/lib/python3.10/site-packages/icloudpy/base.py", line 79, in request
response = super().request(method, url, **kwargs)
File "/app/venv/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/app/venv/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/app/venv/lib/python3.10/site-packages/requests/adapters.py", line 563, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='p219-fmipweb.icloud.com.cn', port=443): Max retries exceeded with url: /fmipservice/client/web/refreshClient (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)')))

@lithiumleeow lithiumleeow added the bug Something isn't working label Feb 17, 2024
@mandarons
Copy link
Owner

Seems like server-side error. The app retried few times. Is it still happening?

@mandarons mandarons added the awaiting-info Awaiting more information to proceed label Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-info Awaiting more information to proceed bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants