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

Can't register with captcha #507

Open
2 tasks done
kibeki opened this issue Mar 23, 2024 · 8 comments
Open
2 tasks done

Can't register with captcha #507

kibeki opened this issue Mar 23, 2024 · 8 comments

Comments

@kibeki
Copy link

kibeki commented Mar 23, 2024

The problem

Due to the error "Captcha required for verification..." I started to register as described here https://github.com/bbernhard/signal-cli-rest-api/blob/master/doc/HOMEASSISTANT.md#trouble-shooting-a-captcha-is-required with captcha.
When I do that i receive "Invalid captcha given.". When call the same comman several times I receive "Failed to register: StatusCode: 429 (RegistrationRetryException)"

I use version 0.81.0 for my Homeassistant on a raspi 4.

Are you using the latest released version?

  • Yes

Have you read the troubleshooting page?

  • Yes

What type of installation are you running?

Home Assistant Signal Addon

In which mode are you using the docker container?

JSON-RPC Mode

What's the architecture of your host system?

arm64

Additional information

I try to register my landline phone number.
This is the command I ran:
curl -X POST -H "Content-Type: application/json" -d '{"captcha":"signalcaptcha://...", "use_voice": false}' 'http://127.0.0.1:8080/v1/register/+49XXXXX'

@bbernhard
Copy link
Owner

bbernhard commented Mar 23, 2024

If you tried too often in a short period of time with an invalid captcha, you need to wait a bit (24-48hrs) until you can try again

@kibeki
Copy link
Author

kibeki commented Mar 23, 2024

Could you tell me what the right syntax for that captcha is? Is it with the prefix signalcaptcha:// or without?

And, how long is a captcha valid?

@bbernhard
Copy link
Owner

It is without the signalcaptcha:// and the token is only valid for a short amount of time

@kibeki
Copy link
Author

kibeki commented Mar 25, 2024

Sorry, but I still get the error "Invalid captcha given."
My command is:
curl -X POST -H "Content-Type: application/json" -d '{"captcha":"signal-hcaptchaxxxxxxxxxxxx", "use_voice": false}' 'http://127.0.0.1:8080/v1/register/+49XXXXXXX'

@kibeki
Copy link
Author

kibeki commented Mar 26, 2024

In the log of Signal Messenger Current version: 0.81.0 I can see:
GIN] 2024/03/25 - 18:35:21 | 400 | 733.649676ms | 172.30.32.1 | POST "/v1/register/+49xxxxxxxx"
so I really have no idea what is wrong to register

@bbernhard
Copy link
Owner

Please try with the latest development version: bbernhard/signal-cli-rest-api:0.151-dev

Before you try with the new image, please remove the signal-cli-config folder from the filesystem and start from scratch.

@kibeki
Copy link
Author

kibeki commented Mar 26, 2024

But how can I Install this version in Home Assistant?

@bbernhard
Copy link
Owner

The Home Assistant addon is maintained by someone else. So I guess in that case you have to wait for the next stable release, which will then picked up by the Home Assistant addon maintainer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants