signal-cli-rest-api: Failed to register: StatusCode: 429 (RegistrationRetryException)
The problem
Get {“error”:“Failed to register: StatusCode: 429 (RegistrationRetryException)\n” when trying to register number with captcha.
Are you using the latest released version?
- Yes
Have you read the troubleshooting page?
- Yes
What type of installation are you running?
signal-cli-rest-api Docker Container
In which mode are you using the docker container?
Normal Mode
What’s the architecture of your host system?
arm64
Additional information
I’m trying to set up the docker container for homeassistant for a land-line number using this readme: https://github.com/bbernhard/signal-cli-rest-api/blob/master/doc/HOMEASSISTANT.md
Using this line of code:
curl -X POST -H "Content-Type: application/json" --data '{"use_voice": true}' 'http://127.0.0.1:8080/v1/register/+43123456789
I get the reply:
{"error":"Captcha required for verification, use --captcha CAPTCHA\nTo get the token, go to https://signalcaptchas.org/registration/generate.html\nAfter solving the captcha, right-click on the \"Open Signal\" link and copy the link.\n"}
So I go to https://signalcaptchas.org/registration/generate, solve the captcha and get a link like: signalcaptcha://signal-hcaptcha.5fad9…aEIVfjTLs4E
As descripted in the readme, I then do:
curl -X POST -H "Content-Type: application/json" -d '{"captcha":"signal-hcaptcha.5fad9...aEIVfjTLs4E", "use_voice": true}' 'http://127.0.0.1:8080/v1/register/+43123456789'
But here I only get the reply:
{"error":"Failed to register: StatusCode: 429 (RegistrationRetryException)\n"
I couldn’t find any information about this error. The land-line number I use isn’t registered for Signal yet (it’s mine for over 10 years and I never tried a registration before).
Any idea what might be wrong?
Added: Since the error is “RegistrationRetryException”, I tried to figure out if the number has been registered (somehow):
http://127.0.0.0:8080/v1/receive/+43123456789
results in:
{"error":"User +43123456789 is not registered.\n"}
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 24 (3 by maintainers)
For it seemed like it needed to be within 5 seconds or so.