sergeyklay / pcloud-console-client

A simple console client for pCloud cloud storage.
https://pcloud.com
BSD 3-Clause "New" or "Revised" License
23 stars 10 forks source link

Unable to log in to account in EU: status is BAD_LOGIN_DATA #88

Closed EmberHeartshine closed 3 years ago

EmberHeartshine commented 3 years ago

I have no idea whether this is caused by my kludgy fix for #87 or not, or if it's platform-based, but (per upstream PRs, these are unrelated) I seem to be unable to log into pCloud—with or without 2FA enabled. I even created a new account to test, and it still didn't work.

$ uname -a
20.04.1-Ubuntu SMP Fri Jul 16 00:56:44 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

Steps to reproduce:

  1. pcloudcc -u [email address] -p
  2. Observe the following output: Please, enter password
  3. Enter password
  4. Observe the following output:
    Down: Everything Downloaded| Up: Everything Uploaded, status is LOGIN_REQUIRED
    logging in
    Down: Everything Downloaded| Up: Everything Uploaded, status is CONNECTING
    Down: Everything Downloaded| Up: Everything Uploaded, status is BAD_LOGIN_DATA
    Please, enter password

I tried this with a brand-new account, so there shouldn't be any settings preventing the login from working. Thoughts?

EmberHeartshine commented 3 years ago

Update: I created a new account located in the US (my previous two accounts were in the EU) and the login process worked. It's apparently an authentication issue with EU accounts only.

EmberHeartshine commented 3 years ago

This PR from the upstream may be helpful.

EmberHeartshine commented 3 years ago

Wow, I'm a dummy. I shoulda RTFM.