signal-cli-rest-api icon indicating copy to clipboard operation
signal-cli-rest-api copied to clipboard

Verify error: StatusCode: 404 and 409

Open A380Coding opened this issue 2 years ago • 6 comments
trafficstars

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?

  • [X] Yes

Have you read the troubleshooting page?

  • [X] 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 avatar Nov 06 '23 17:11 A380Coding

Trying again I get StatusCode 409

A380Coding avatar Nov 06 '23 17:11 A380Coding

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 avatar Jan 11 '24 12:01 sebastian2012

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 avatar Jan 28 '24 08:01 sebastian2012

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!

sebastian2012 avatar Mar 20 '24 11:03 sebastian2012

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 avatar May 23 '24 11:05 s-kilger

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.

s-kilger avatar May 23 '24 11:05 s-kilger