signalapp / Signal-Android

A private messenger for Android.
https://signal.org
GNU Affero General Public License v3.0
25.52k stars 6.12k forks source link

Can't send regular SMS #7481

Closed MaximeL closed 6 years ago

MaximeL commented 6 years ago

I have:


Bug description

When I try to send regular SMS to someone not using signal it instantly fail. For signal user it works pefectly fine. When the text is send to non-user it instantly fail with error message. When I touch for detail, I can try to resend. If I do, it hang but nothing happens until I go back and the message is still in error. It happen for every contact not using signal.

Steps to reproduce

Actual result: The text is not send with an error message Expected result: The text should be send without error

Screenshots

screenshot_20180309-080234

Device info

Device: WIko FEVER Android version: 6.0.0 Signal version: 4.16.9

Link to debug log

https://hastebin.com/basazekihi

RichJeanes commented 6 years ago

Can you confirm that the recipient is not actually getting the messages? I have run into this before, but sometimes they are still getting the messages and sometimes they aren't. Does this only happen with a specific contact or is it all of your contacts? When i experience this, it is typically only with a specific person or two.

jeremymasters commented 6 years ago

I had this too if it's what @RichJeanes describes, but when I would send an MMS, it showed no error and worked fine. I wrote up a bug about it, but it was closed in favor of another which was also closed in favor of another. It's around somewhere though. I my case, the first check mark would show and then it would show not delivered but my recipient would reply to the message anyway.

moxie0 commented 6 years ago

I don't see any attempt to send an SMS message in that debug log. In any case, it's generally not something we have a ton of control over - we hand the SMS to the OS, and it tells us whether it succeeded or failed.

MaximeL commented 6 years ago

I can confirm that the message is not received. I tried MMS and it doesn't work neither. For the debug log, I got the link right after trying to send a message. Tell me if I can give you more relevant information.

wdkrnls commented 6 years ago

I had this same issue for that same link (but the English version). Other sms messages went through to the non-signal user just fine. Could the problem be specific to the code that sends that message?

MaximeL commented 6 years ago

If that can help, I already used applications that replace the native one without this kind of problem.

moxie0 commented 6 years ago

I'm unable to reproduce this issue and there is no debug log that covers the failure to send messages. In general there's not much we can do here, we pass the SMS to the OS and it handles the rest. Please reopen if you can either:

1) Provide steps to reproduce on any device and carrier from a clean install. 2) Provide a debug log captured immediately after an attempt to send an SMS that fails.

MaximeL commented 6 years ago

Please tell me what kind of pattern you look for in log so I can give you one that is relevant to you. I can provide you with tons of logs catched right after a fail, but if you tell me the previous log I provided was not relevant, I don't want to give you more of this kind.

5frank commented 5 years ago

This problem occurred yesterday - repeated attempts to send SMS failed (MMS and signal messages works). Problem disappeared after reboot. I was able to capture log for both success and fail, and as far as I can tell difference is the following: Fail: SmsSentJob: Got SMS callback: org.thoughtcrime.securesms.SendReceiveService.SENT_SMS_ACTION , 1

Success: SmsSentJob: Got SMS callback: org.thoughtcrime.securesms.SendReceiveService.SENT_SMS_ACTION , -1

i.e -1 vs 1 which seems to be the return value from getResultCode() in class SmsDeliveryListener (extends BroadcastReceiver) and where RESULT_OK = -1 (why it is not zero is beyond me). Not sure on return value 1. Cold be STATUS_ON_ICC_READ = 1, but I'm new to the code base and have not used Java in a decade, so don't take my word for it.

Edit: This happened again and the same issue remains even after I changed the default SMS app to the native one. Most likely an OS issue!?

douglasg14b commented 3 years ago

This has been an issue since I started using signal in 2016. Signal has NEVER reliably sent SMS messages. Wait till you try to send or even receive MMS messages, probably talking <5% success rate there.

It's also the biggest barrier to getting friends and family to use it, if they can't reliably send SMS to their SMS friends, they don't want to use signal. I've lost count of the people I've gotten to use Signal who then drop it when it starts failing, because pmuch every other messenger that supports SMS "just works".

I'm just amazed that's it's been almost 5 years, and this is still an ongoing problem.

JordyProvost commented 3 years ago

Same bug here for months.

I have:

Everytime i want to send a SMS to a non signal user, i have an error.

Fun fact, my GF have the same smartphone, same Android version, same provider, same APN settings, same Signal settings and rights... and it works for her !

To send SMS for the new year, i have switched back to standard app (must be the default app to send messages), send all my SMS, and switched back to signal...