Skip to content
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

List groups api returns empty array #502

Open
2 tasks done
kentliuqiao opened this issue Mar 14, 2024 · 2 comments
Open
2 tasks done

List groups api returns empty array #502

kentliuqiao opened this issue Mar 14, 2024 · 2 comments

Comments

@kentliuqiao
Copy link

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/<phone_number>, 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?

  • 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?

other

Additional information

No response

@bbernhard
Copy link
Owner

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants