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

some initial messages not sent #589

Open
MilamberValheru opened this issue Sep 18, 2024 · 5 comments
Open

some initial messages not sent #589

MilamberValheru opened this issue Sep 18, 2024 · 5 comments

Comments

@MilamberValheru
Copy link

Today I wanted to start a little application using sign-cli-api.
I added about 25 new numbers and my app should initiate communication with any of this numbers.
It works for some, but unfortunatly 12 of them don't get any message.
The numbers are correct and visible, I can contact them per hand from another account.
I don't get any error from the v2/send - but the messages are not delivered.

API version is 0.88 using xmlrpc mode.

Looks like a bug, but maybe there is a log I can check somewhere?

@bbernhard
Copy link
Owner

Do you send a message to all of those recipients at once? Does it work if you send them a message exclusively? Could you please try to switch to the normal mode. Does it work then?

@MilamberValheru
Copy link
Author

MilamberValheru commented Sep 18, 2024

No, I send them one by one. I also repeated for a single number - no success.
Normal mode will be tested (need my admin :) )

@MilamberValheru
Copy link
Author

native mode has the same problem...

@MilamberValheru
Copy link
Author

After one night and one day of work, we have most of the people online but not all:

Some didn't understand security settings about unhiding the phonenumber

For most the following workaround works:

  • we created a group with our app account and all user, we want to talk to.
  • after that we added them to our app again

So I assume:

  • there may be a problem finding new numbers
  • there may be an issue with numbers that have no groups in common

What about new conversions to the signal-cli-api initiated by the other side? Can the api accept these chats automatically? This was not possible some time ago.

@bbernhard
Copy link
Owner

I haven't experienced any of the issues you've mentioned. It also depends which mode you are actually using. e.g the normal and native modes require you to call the receive mode regularily. If you are using the json-rpc mode, you don't have to deal with that.

The normal and native modes are easier to debug though, that's why I am often suggesting people to try these modes in case they experience issues. In order to debug the issues, please have a look here: https://github.com/bbernhard/signal-cli-rest-api/blob/master/doc/DEBUG.md

What about new conversions to the signal-cli-api initiated by the other side? Can the api accept these chats automatically?

What do you mean by that? If someone sends a message to the number that is registered with the API, you should receive that message via the receive endpoint. In normal/native mode this is done by polling the Signal Server. In json-rpc mode the messages are pushed from the Signal Server to the REST API service. That means you need to constantly have a Websocket connection established to the receive endpoint. If there's no Websocket listener, the message is lost.

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