-
-
Notifications
You must be signed in to change notification settings - Fork 311
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
Failed to register: [413] Rate limit exceeded: 413 #1202
Comments
@regan-a I am also experiencing this same issue this week. I haven been trying to register a landline as well and waited two days and still getting this rate limit exceeded error on the first attempt to register.
|
Same problem here. Have tried several times, including twice each after waiting over 24 hours, and most recently after generating a captcha token first, so I ran the command for the first time in over 24 hours with the token. I have another number that can receive SMS that I tried. No problem there. The issue only seems to occur when attempting voice verification. |
Same issue here, without --voice it works fine. But not on landline/voice line |
I did some more research. In my case it seems the land-line numbers are fully blocked by signal. I discovered in an attempt to circumvent this issue, I tried to install the official Signal app on a (virtual) android device (with the idea to copy the keys to signal-cli). Looks some changes at Signal side of things, that said, the "Bad Gateway" errors / Non-descriptive errors do point there are still some missing error handling or something. Hopefully this will be restored... Edit: According to this comment, it looks like Signal will try to sent a SMS, and if it fails, they throw a 502 to the Signal app. Blocking further registration via voice or whatsover. Edit 2: Reading the source code of the registration manager and the android app itself, it looks the policy is changed and there is now a session-based registration process, which requires to wait one minute between 'text' and 'voice' validation. This will require to provide a session ID when doing the verfication. As far as i understand (my java is not good), this is not implemented in signal-api and it probably blocking this process. The changes where pushed around the 20th of February and matches with when this was reported. If I feel brave enough I will try to hack a session id in signal-cli... |
Do let us know if you come up with something usable. Thanks. |
Thanks for the analysis, I've started working on updating libsignal-service-java which brings the API with the session id, but haven't finished that yet. |
I am not 100% if that will work. With land-lines/non-SMS lines, the twilio API (API used by Signal), throws an error. I am not 100% convinced if voice is possible in that session later again. Once again, i am not a java expert, so I had a hard time understanding the code. |
I've pushed a commit that implements the session based registration. I had success requesting a voice verification, by first requesting an sms and a minute later requesting the voice verification. |
So, just to be clear, the SMS part is required? |
Looks like it, I get a |
Okay, I finally had an opportunity to try this. It's still not working for me. When I try the SMS method, it gives
Maybe these don't matter. But there are enough moving parts, I'm not sure. I wouldn't usually ask, but in this case, it would be nice if there were some step-by-step instructions telling exactly what to do and what not to do. Or at least exactly what you did. |
I tried it with a new account with a captcha the first time. |
I tried as well, and got the same behaviour as ddawson. According to comment i quoted before, it looks like the "502 Bad Gateway" is a result from an error code received from Signal's Phone verifier. If I am not mistaken, this is twilio. I've created an account myself at twilio, and indeed, if I try to verify with a land-line, it immediately throws an error. Voice still works there. I think the registration backend of Signal, does not start the whole registration session if the backend throws an error, and thus, you can not finish the registration with voice after one-two minutes. So my best guess is, if twilio does not recognize your phone number as text-service-ready, there is no way to register with a land-line. Guess have to ask the Signal folks if that will be their policy and/or if that is a bug they want to solve eventually. |
hello, any news about this issue ? |
Also, if signal-cli is unable to do this, is there any way to do the registration on the app or something else, and then fix things so that signal-cli becomes the primary device? I know it's not as simple as just copying data over, since they almost certainly store the data in different ways. But maybe there's something. |
As far as my research went: No. I want to raise this with the Signal Team to know if this is a (new?) policy from them or a bug/side effect of the changes they did. But didn't find the time yet to do that. |
@csouti-chaps, do you know if you phone number can receive short code SMS (even though they may not arrive?). As far as i understand the recent test build of signal-cli, in that case it should be able to register via first SMS, wait and then Voice. |
@frozen-sky yes I could register my land line, by voice and exclusely with signal-cli like that :
My phone number is a land line, normally my operator (free in france) don't provide sms support. |
Just to be sure this is covered: to what extent are captchas involved in that? |
I provided one captcha for step 1 and second captcha for step 3 with this method https://github.com/AsamK/signal-cli/wiki/Registration-with-captcha |
Nope. Still not working for me. I still get a 502 when trying the SMS registration. There seems to be some difference depending on country or provider. |
Worked for me, with v0.11.8 (not sure that version matter, based on release notes). I did like written above - registered my landline without Perhaps location matter, I have a +1727_______ phone number. Note: I had to use a clean number for this to work. When I tried the number I got the "rate limit" initially that got me to find this issue, I still couldn't get through. |
I do have the same issue - without |
You have to also use captcha. Additionally, it does not take long before you are throttled if you don't follow the steps exactly. A few tries and bang, you're on the throttle list and you have to wait quite some time before it's freed up to use again. |
Please read my above comments. I did consider that, and used them. It didn't help.
How long? Days? Or even longer? Because I did wait days and made sure to get everything right, but it still didn't help. Also, even if it's as you say, the system is too unforgiving. Something needs to change. If not how many tries are allowed, then there should be more of a warning somewhere. |
When I got rate limtted on my cell phone (not even signal-cli) in the past due to not remembering my PIN, I was locked for a week.
Yes, better communication from Signal would be nice. But please understand that this is something on Signal side, not |
Yes, I understand that already. But I thought that needed to be said. |
It seems that it follows the same verification procedure as that of the application (we must wait before asking for a verification call). It worked with my land line ("Free" ISP in France too), with two freshly generated captchas for each registration attempt (the first one without I updated the Wiki to reflect these changes in the verification process. I think that the first registration attempt (with SMS) needs to "succeed" (=no reply, no error) to allow a later attempt with Also from what I could see about the "Rate limit exceeded", it seems that there would be a difference between the 413 code and 429 one:
|
I have tried several landline numbers (in Germany). The sequence that worked for me was:
(In fact, I cheated a bit and used a landline number appended by a single digit to be able to have several signal instances registered for several servers. Some of the digits got "burned" with 429 errors and waiting for >36 hours did NOT help.) |
I'm not sure if this is sufficiently related to be worth noting here, but since it's an open issue with a similar error message, I'm starting here. I can log a separate issue, and/or upgrade and try again before further stuff, but I thought I'd start by mentioning here that I'm getting the same 413 Rate limit exceeded when trying to do a different command:
This gets a bunch of messages received just fine, and then finally ends with:
This from a built-from-git version wherein Please let me know if I should file a separate issue, and/or update and re-build first. (Though actually, noticing the very next commit after the one above, I'm definitely going to do an update and see if that helps things... going ahead and commenting anyway, just in case it's somehow useful to someone. Apologies if it's noise.) |
rate limit when sending messages is another issue. |
I have been trying to register my land line phone number but every time I try I get the following error:
Failed to register: [413] Rate limit exceeded: 413\n
I understand that there is a limit to the number of times you are allowed to attempt a registration over a 24-hour period but I'm getting this response even if I wait a week and then submit another registration request. I'm wondering why this is happening and if there are any other reasons why I'd receive a "Rate limit exceeded" message besides hitting an actual rate limit (which in my case, seems to be 0)?
The text was updated successfully, but these errors were encountered: