[Bug 266916] net-im/signal-cli: Getting error 499 with all commands

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 24 Dec 2024 11:53:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266916

David Clark <kennethjoyce549@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kennethjoyce549@gmail.com

--- Comment #7 from David Clark <kennethjoyce549@gmail.com> ---
(In reply to Christian Gutzler from comment #1 Hi Axel (and rest of the world
using signal-cli@FreeBSD):

There is a workaround available and I suggest using it as long as an upgraded
port is not available. It´s simply replacing the user agent string with a new
version (2x) in the base class:

https://github.com/AsamK/signal-cli/issues/1022 https://geometry-dashonline.com

Needs to be adapted for FreeBSD due to a) older version number and b) different
behaviour of sed:

cd /usr/local/share/signal-cli/lib/
mkdir tmp
cd tmp
unzip ../signal-cli-0.9.0.jar 
sed -i .h2ksux 's/Signal-Android\/5.22.3/Signal-Android\/5.51.7/g'
org/asamk/signal/BaseConfig.class 
zip -r ../signal-cli-0.9.0.jar org/ META-INF/

Greetings from Mannheim and have fun
Christian)
Is there a specific reason for choosing version "5.51.7" as the replacement
user agent string, and would this workaround continue to work if Signal updates
its server requirements again?

-- 
You are receiving this mail because:
You are the assignee for the bug.