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

Verify error: StatusCode: 404 and 409 #443

Open
2 tasks done
A380Coding opened this issue Nov 6, 2023 · 6 comments
Open
2 tasks done

Verify error: StatusCode: 404 and 409 #443

A380Coding opened this issue Nov 6, 2023 · 6 comments

Comments

@A380Coding
Copy link

The problem

I received the verification code. Upon calling the verify link with the phone number and verification code I get:
{"error":"Verify error: StatusCode: 404\n"}

Any hints or ideas?

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?

x86-64

Additional information

@A380Coding
Copy link
Author

Trying again I get StatusCode 409

@A380Coding A380Coding changed the title Verify error: StatusCode: 404 Verify error: StatusCode: 404 and 409 Nov 6, 2023
@sebastian2012
Copy link

Hi!

I have the same Problem ...
Do you have a solution?
I send the Verification-Code with the following curl-Statement:
curl -X POST -H "Content-Type: application/json" 'http://192.168.0.4:8080/v1/register/+49701234555/verify/123456'
I get the error Message with error-Code 404.
How can I debug the verifiy-process?
I have run docker exec -t -i container-id bash, then use su signal-api and run signal-cli --config /data -u +497123455 verify 123456 with the same error.

Thanks for any hints ....

@sebastian2012
Copy link

Hi Again!
I have tried once again to link an existing device and generate a QR code from the Docker container using curl. Unfortunately, this code cannot be utilized after scanning, the iOS app indicates that it is an invalid operation. However, a ping from within the Docker container is possible; I manually installed ping with apt-get and I can ping servers from the Internet like google, CCC or heise. It seems like the Docker container is unable to reach the Signal server or is making an invalid call. How can I debug this? Does anyone have any ideas on this issue?

Best Regards!

@sebastian2012
Copy link

Hi Again!
Know I have updated my docker-Container to the last Signal-Api-Version.
The error changed :-)
If I register a landscape Number I get error-Code 429.
If I run signal-cli without the option --voice I get Error "Invalid Captcha" ...

I have no Idears for this ...

Best regards!

@s-kilger
Copy link

s-kilger commented May 23, 2024

Same Problem here.
I am trying to register a landline number (in normal mode, Home Assistant Addon). I got the captcha solved and got the call with the registration code.
curl -X POST -H "Content-Type: application/json" 'http://192.168.2.234:8080/v1/register/<phoneNumber>/verify/<code>'

I get

{"error":"Verify error: StatusCode: 404\n"}

In the logs I get

[GIN] 2024/05/23 - 11:24:39 | 400 | 2.39986118s | 192.168.2.234 | POST "/v1/register/<phoneNumber>/verify/<code>"

Is there a way to debug any further?

Thanks a lot in advance.

@s-kilger
Copy link

Seems like I got it to work.
I went through the whole process again an made sure to not use 127.0.0.1 in any curl request. I got the code via phone and I entered it in the form 123456 and not 123-456 as mentioned in the docs.
Hope, this helps anyone.

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

3 participants