bbernhard / signal-cli-rest-api

Dockerized Signal Messenger REST API
https://bbernhard.github.io/signal-cli-rest-api/
MIT License
1.3k stars 154 forks source link

List groups api returns empty array #502

Open kentliuqiao opened 6 months ago

kentliuqiao commented 6 months ago

The problem

I've set up my local signal-cli using docker with this command $ sudo docker run -d --name signal-api --restart=always -p 8080:8080 \ -v $HOME/.local/share/signal-cli:/home/.local/share/signal-cli \ -e 'MODE=native' bbernhard/signal-cli-rest-api And then I create a new group on my phone(the same account as in my docker). But when I queried the list groups api: /v1/groups/, it returned empty array.

Should I create group using the rest api? Or there's something else went wrong?

My OS system is Mac Mini, CPU is Apple M2, macOS version is 14.2(Sonama).

Please help.

Are you using the latest released version?

Have you read the troubleshooting page?

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?

other

Additional information

No response

bbernhard commented 6 months ago

Do you call the receive endpoint regularily? That is required in normal/native mode. Otherwise you can also switch to the json-rpc mode where this is done implicitly.

kentliuqiao commented 6 months ago

I'm using json-rpc mode. The problem is gone after I sent a message in the group on my cellphone.