signal-cli-rest-api
signal-cli-rest-api copied to clipboard
[Proposed fix] Frequent disconnects when receiving messages in json-rpc mode
The problem
hallo!
it appears that the nc
used in json-rpc mode frequently falls off.
modifying /src/scripts/jsonrpc2-helper.go
-command=bash -c "nc -l -p %d <%s | signal-cli --output=json -u %s --config %s jsonRpc >%s"
+command=bash -c "watch -n1 nc -l -p %d <%s | signal-cli --output=json -u %s --config %s jsonRpc >%s"
fixed it for me
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
No response