AsamK / signal-cli

signal-cli provides an unofficial commandline, JSON-RPC and dbus interface for the Signal messenger.
GNU General Public License v3.0
3.05k stars 289 forks source link

"Invalid account (phone number), make sure you include the country code." #1547

Open Geremia opened 3 days ago

Geremia commented 3 days ago

When I try registering with a new number, I get this:

Invalid account (phone number), make sure you include the country code.

signal-cli 0.13.2-SNAPSHOT

m-ueberall commented 2 days ago

Do you see the same error with the current version (0.13.4)? Also, can you provide a verbose log (by adding "-vv" on the command line)? Without the latter, nobody is able to help you find the possible reason of your problem.

Geremia commented 2 days ago

@m-ueberall I get the issue with master, too:

$ signal-cli -a +XXXXXXXXXXX -vv register
2024-06-29T16:42:26.223-0700 [main] DEBUG org.asamk.signal.App - Starting signal-cli 0.13.5-SNAPSHOT
2024-06-29T16:42:26.409-0700 [main] TRACE org.asamk.signal.manager.Manager - Expected exception when checking libsignal-client: Failed to deserialize zkgroup::api::groups::uuid_ciphertext::UuidCiphertext
2024-06-29T16:42:26.409-0700 [main] DEBUG org.asamk.signal.util.IOUtils - XDG_DATA_HOME not set, falling back to home dir
Invalid account (phone number), make sure you include the country code.

(+XXXXXXXXXXX redacted; I used an actual Google VoIP number)

I was also encountering invalid captcha errors when trying to reregister with another number (even before getting the rate-limiting RegistrationRetryException).

donovanglover commented 12 hours ago

Captcha issue sounds like https://github.com/AsamK/signal-cli/issues/1491

Geremia commented 9 hours ago

@donovanglover Indeed. It does. It seems a signal-cli issues, as I'm able to register on an Android device just fine.