-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
DeprecatedVersionException (status code 499) #1022
Comments
Seems I'm not the only one. Looks like the Signal server did something before 20:32 UTC today which ended up classifying current signal-cli versions as deprecated clients. |
Not sure where that is in this but on the Android build, the CANONICALVERSION must be updated to 1136 |
This seems to be affecting the latest release and master branch. None of my signal-cli setups are currently functional as a result. |
I was able to hack this a bit and get it somewhat working. I can receive fine after changing the user agent. I can also send but the sending while it does send the message, returns an error
|
@AsamK any idea? |
Applied this hack, and everything works fine for me. Thanks! For linux a quick and dirty way to do it to the binary package (need zip and unzip installed):
|
The |
I've had the same issue since around the same timestamp. Currently the only piece of routine functionality that's working for me is sending to groups. |
@AsamK Thanks for merging! I assume you will make an official build next? Once we have that, I have that, I can see that |
Seeing the same problem here over the last few hours with both signal-cli version 0.10.8 and 0.11.1.
|
Indeed, will make another release later today. |
I think my problem is related. I updated to latest version and applied that patch and when I try to register new account (signal-cli -a +358xxxxxxxxxx register) it says "Failed to register: [413] Rate limit exceeded: 413". |
@AsamK, do you think it'd be useful to add checks to stop retrying to connect to the servers in case of fatal errors like this one? One reason is that so the client doesn't get rate limited or even the IP gets blocked from connecting to the servers. And the error will not be fixed by constantly reconnecting anyway. Also, are there any other fatal errors like status code 499 that the client should just stop reconnecting since it won't be fixed automatically anyway? This may not be a problem if you're just using "receive" but it could cause problems if you're running in dbus and the client just keeps reconnecting. Note: if something like this gets implemented, I don't think it'd be good for the client to just terminate, since that could trigger service manager to just restart it (if configured that way of course) which will throw the client in the same loop of reconnecting. So maybe just an error to the log for further inspection by the user would be suitable? |
@stevie553 There's already an exponential backoff implemented in case the receive websocket connection fails to connect, with a maximum of 51 seconds.
|
I also had the connection closed, I restarted the deamon and now this:
|
@Miniontoby please use the fix from #1022 (comment) until the fixed version has been released (0.11.2 i guess ;) ) |
v0.11.2 has been released with the fix |
Uhmm how to update to a newer version? Mostly without the
error coming up when running signal-cli Or using an installer script that I found:
|
You're using the amd64 version on arm64...Where did you find the installer? Also might be better to create a new discussion as it's not really related with this issue. |
I'm just doing the same ... see https://github.com/AsamK/signal-cli/wiki/Provide-native-lib-for-libsignal |
I dont! I downloaded the armv7-unknown-linux-gnueabihf version...
Also since I am on mobile and dont have my gh account here I can only use
email to reply and so I am not able to make a new Discussion thingy... we
can rename this issue and remove old comments... or you have to make one
and mention me, i think...
Op do 6 okt. 2022 20:39 schreef morph027 ***@***.***>:
… You're using the amd64 version on arm64...Where did you find the
installer? Also might be better to create a new discussion
<https://github.com/AsamK/signal-cli/discussions> as it's not reall
related with this issue.
—
Reply to this email directly, view it on GitHub
<#1022 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALNYDYABGNAPHFPBZKQDZGTWB4MF7ANCNFSM6AAAAAAQ57HWHU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Update:
Changed the installer to use one of those gitlab builds...
```
OpenJDK Server VM warning: You have loaded library
/opt/signal-cli-0.11.2/lib/libsignal_jni.so which might have disabled stack
guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c
<libfile>', or link it with '-z noexecstack'.
WARN ServiceConfig - Failed to call libsignal-client:
/opt/signal-cli-0.11.2/lib/libsignal_jni.so:
/opt/signal-cli-0.11.2/lib/libsignal_jni.so: invalid ELF header
Missing required native library dependency: libsignal-client
```
I downloaded arm64 version btw
Op do 6 okt. 2022 20:59 schreef Peter Lord ***@***.***>:
… Uhmm how to update to a newer version?
I'm just doing the same ... see
https://github.com/AsamK/signal-cli/wiki/Provide-native-lib-for-libsignal
—
Reply to this email directly, view it on GitHub
<#1022 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALNYDYHZWVQC6ZQJBBLUNMLWB4OSZANCNFSM6AAAAAAQ57HWHU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Are you using a Pi 4 w/ arm64? And Raspbian? Then you could just try to download and install this artifact? curl -Lo /tmp/signal-cli-jre_0.11.3-1_arm64.deb https://gitlab.com/packaging/signal-cli/-/jobs/3144100577/artifacts/raw/signal-cli-jre_0.11.3-1_arm64.deb
apt-get install /tmp/signal-cli-jre_0.11.3-1_arm64.deb |
Uhmm 'uname -a' says armv7l. But it is Rpi4 with rasbian
I used https://github.com/exquo/signal-libs-build/ but that one doesnt have
.so's anymore...
Op za 8 okt. 2022 19:25 schreef morph027 ***@***.***>:
… Are you using a Pi 4 w/ arm64? And Raspbian? Then you could just try to
download and install this artifact?
curl -Lo /tmp/signal-cli-jre_0.11.3-1_arm64.deb https://gitlab.com/packaging/signal-cli/-/jobs/3144100577/artifacts/raw/signal-cli-jre_0.11.3-1_arm64.deb
apt-get <https://gitlab.com/packaging/signal-cli/-/jobs/3144100577/artifacts/raw/signal-cli-jre_0.11.3-1_arm64.debapt-get> install /tmp/signal-cli-jre_0.11.3-1_arm64.deb
—
Reply to this email directly, view it on GitHub
<#1022 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALNYDYESF2KRON2EKBX66DTWCGU7DANCNFSM6AAAAAAQ57HWHU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Jeah, latest libsignal builds are quite tricky for armv7 (signalapp/libsignal#481) |
I got it to work!
Using the 0.18.1 release from https://github.com/exquo/signal-libs-build/
and it now works!
Op za 8 okt. 2022 19:38 schreef morph027 ***@***.***>:
… Jeah, latest libsignal builds are quite tricky for armv7 (
signalapp/libsignal#481
<signalapp/libsignal#481>)
—
Reply to this email directly, view it on GitHub
<#1022 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALNYDYFQL4572OBDXJWDRKDWCGWQRANCNFSM6AAAAAAQ57HWHU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Also w/ latest version? CHANGELOG says that starting 0.11.0 libsignal-client version 0.20.0 is required.... |
Uhmm if you look at the releases page of the prev mentioned URL then you could have filled it in yourself. The answer is no. This is because after 0.18.1 the release assets are just 2 instead of 9, where 1 of 9 was the armv7 release. I am just going to hope that some change which causes this type of error never accures and then I will be fine! Cause I don't want and I don't do upgrading at all for these type of stuff. For anyone else here who has armv7 and want signal-cli, use the code in #855 (comment) and change the (And why GH, why do you not send the reply using email and why did I get a message of a new comment but I don't see it here, BRUH) |
This is the same error, yes! Install version 0.11.2 to fix it and restart
your dbus (if you use it)
Op za 8 okt. 2022 21:24 schreef jarrah31 ***@***.***>:
… Is the following StatusCode: 499 error different or the same to what this
thread is discussing?
WARN AccountHelper - Messages have been last received 185 days ago. The Signal protocol expects that incoming messages are regularly received.
Error while checking account +xxxxxxxxx: StatusCode: 499
—
Reply to this email directly, view it on GitHub
<#1022 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALNYDYHAJDXNJQMZNRCZHBTWCHC5VANCNFSM6AAAAAAQ57HWHU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sending and receiving messages with signal-cli seems to trigger a "DeprecatedVersionException" as of 2022-10-05, 21:59 UTC. This exception seems to be intended to disable deprecated clients. I used the latest official binary release (0.11.1) and the old 0.10.0 release.
Verbose log (0.11.1):
JVM information:
System information:
SIGNAL_CLI_OPTS=-Xint
The text was updated successfully, but these errors were encountered: