mandarons / icloud-drive-docker

Dockerized iCloud Client - make a local copy of your iCloud documents and photos, and keep it automatically up-to-date.
BSD 3-Clause "New" or "Revised" License
968 stars 46 forks source link

[BUG]can not login #190

Open lithiumleeow opened 4 months ago

lithiumleeow commented 4 months ago

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_wrapsocket( File "/app/venv/lib/python3.10/site-packages/urllib3/util/ssl.py", line 449, in ssl_wrap_socket ssl_sock = _ssl_wrap_socketimpl( 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)')))

mandarons commented 4 months ago

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