-
-
Notifications
You must be signed in to change notification settings - Fork 301
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
GetUserStatus problem #1541
Comments
Your exact command works for me. So it looks like something with the CDSI request might hang or dead lock. However it's strange that it works with the |
This is the relevant portion of the log:
|
any clue? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use JsonRpc via a unix socket, but I do not get any response for the GetUserStatus command.
This works:
echo '{"jsonrpc":"2.0","method":"getUserStatus","params":{"recipient":["+SOMENUMBER"]},"id":6}' | signal-cli jsonRpc
This works too:
printf '{"jsonrpc":"2.0","method":"send","params":{"recipient":["+SOMENUMBER"],"message":"hi"},"id":6}' | socat UNIX-CONNECT:/home/simnige1/sockets/signal -
But this does not work, no response, not even an error
printf '{"jsonrpc":"2.0","method":"getUserStatus","params":{"recipient":["+SOMENUMBER"]},"id":6}' | socat UNIX-CONNECT:/home/simnige1/sockets/signal -
If I make however a deliberate mistake in the command like this:
printf '{"jsonrpc":"2.0","method":"getUserStatus","params":{"recipien":["+SOMENUMBER"]},"id":6}' | socat UNIX-CONNECT:/home/simnige1/sockets/signal -
I get a response, although emty because I did not use command properly:
{"jsonrpc":"2.0","result":[],"id":6}
How can I make it work?
The text was updated successfully, but these errors were encountered: