Intermittent 'Not delivered' when sending texts

When sending messages to an android phone I sometimes get 'not delivered' even though the recipient receives the message. I 'Try again' and it might fail again but eventually it will go but at every fail the recipient receives the message.

I have a macbook pro 4gb, MacOs Sierra and an iPhone 7, iOs 10.0.1.

I have iMessage selected & Send as SMS with Text forwarding to my Macbook. I can get the failure sending from either Message on my MacBook or from my iPhone and syncing between them doesn't occur although when it fails from my MacBook I get 'Message not sent' on my iPhone but not vice versa.

Whenever it fails but not when successful the following appears in the MacBook syslog:


Oct 13 08:40:29 CFs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit

Oct 13 08:40:29 CFs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.imtranscoding.IMTranscoderAgent): Unknown key for integer: _DirtyJetsamPriority

Oct 13 08:40:29 CFs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.imtranscoding.IMTranscoderAgent): Unknown key for integer: _DirtyJetsamMemoryLimit

Oct 13 08:40:29 CFs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.imdmessageservices.IMDMessageServicesAgent): Unknown key for integer: _DirtyJetsamMemoryLimi


Any help would be greatly appreciated.

Posted on Oct 13, 2016 2:00 AM

Reply
5 replies

Oct 13, 2016 2:24 PM in response to Lonsdale99

Hi,


You will be addressing either an Apple ID or and iPhone Number.


The device that has the ID you were sending to might not be getting the iMessages.

It will create the Not Delivered response.


On the other hand it s likely the Contact has linked iPhone Number and their Apple ID.

So they see the "Sync" version as it were of the iMessage.

You don't get feedback (Read/Delivered and so on) from that device.


In some cases on the iPhone in Settings > Messages > Send and Receive the actual iPhone Number is somehow disconnected (unticked) when the user cannot change this.


After a prolonged period they will loose the sync between the two devices.


You have to work out where they are in this scheme of things.





User uploaded file

10:24 pm Thursday; October 13, 2016


 iMac 2.5Ghz i5 2011 (El Capitan)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
 iPhone and an iPad (2)

Oct 13, 2016 11:00 PM in response to Ralph-Johns-UK

Thanks for responding Ralph,


I think I follow what you are suggesting but the number I'm sending to is an android phone and although the recipient has an Apple id, this phone number will not be linked to that id.


Also I should have mentioned that I've sent hundreds of texts to this number, using an iPhone 6 iOS 10.0.1 and El Capitan, without any problems, it's only when I upgraded to an iPhone 7 and MacOs Sierra that I started getting this problem.

Oct 14, 2016 1:10 PM in response to Lonsdale99

Hi,


Humm.

So effectively as this person has separate IDs because they are not linked you can iMessages one but only SMS the other.


That would seem then that the Carrier may not be sending all the SMS to the phone.

Or that phone in question is not getting all the SMS because it is losing the Carrier service as the person moves about.
Or they have turned the Phone Off at the moment the SMS is sent leading to the not Delivered message - when in fact they pick it up later.


Back to the Log:-


Oct 13 08:40:29 CFs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit


The first line "com.apple.xpc.launchd[1] " is a Start up item. You might also see it on waking from Sleep.


The item it is starting up is the "(com.apple.imfoundation.IMRemoteURLConnectionAgent)" item

This is part of the Messages set up and this process starts up when IMAgent is lunched as part of the Start up process.


A long time ago IMAgent was called iChatAgent.

In the then iChat Preferences and now the Messages Preferences there is an option to "When I Quit, Set my Status to Off Line"

This stops the IMAgent app from logging on to the AIM and Jabber servers to "listen" for Off line Messages. (it does this behind the scenes as it were and without launching Messages itself).

What it does not do is stop the app from starting up and allowing iMessages to be sent to you even if you have not opened the app yet (hence Dock Messages indicator).

(The setting came from iChat and has never been integrated into the Messages app for the iMessages account).


I have seen the "DirtyJetsamMemory" thing myself.

I am not sure that it actually means a great deal as there are thousands of messages generated in Console all the time.


I am not sure there is a clear and precise answer for this.




User uploaded file

9:10 pm Friday; October 14, 2016


 iMac 2.5Ghz i5 2011 (El Capitan)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
 iPhone and an iPad (2)

Oct 15, 2016 3:22 AM in response to Ralph-Johns-UK

Hi thanks for looking at this for me.


Another dimension to this which I didn't mention is I have an Apple watch and sending a message can also get 'not delivered', in all cases of this apparent failure the recipient is getting the text. These failures can happen in mid conversation so I can't see there are causes at the recipient's end.


I had a conversation from my phone, while my MacBook was closed up and some texts seemed to fail with 'not delivered' and on opening my MacBook the Message app was updated with the texts from the previous day including the texts with 'not delivered'. I can get 'not delivered' from all devices, MacBook, phone and watch. I'm just wondering where the texts are actually being sent from, is the problem on my phone? I have Send and Receive set with my Apple id and phone number & Start a Conversation set with my phone number.


It seems a 'not delivered' text from my phone is mirrored in the Message app on my MacBook but a 'not delivered' text initiated on my MacBook just results in a 'Message not sent' notification on my phone i.e. not mirrored.


Do all messages/texts go through the iPhone?


This all used to work before upgrading!

Oct 15, 2016 11:42 AM in response to Lonsdale99

Hi,


All iMessages are sent through the connection that device has with the Internet.

In most cases that is via WiFi and Ethernet for iPhones, iPads and Computers.


SMS forwarding is always via the iPhone and it's carrier connection.


I don't have an Apple Watch but I presume it is linked to your iPhone via Blue Tooth and then the iPhone's connection to the Internet.


It looks like this is going to be very difficult to pin down.

I would be tempted to Sign Out of the Apple ID on all devices.

Then on the iPhone turn the app Off.


The reset from the beginning.

Turn the iPhone App on and wait for it to verify.

Sign back in on the Mac but set the iPhone Number to not be active.

When the iPhone has re-registered the Number it will only be able to Send from the iPhone Number (same for the Apple ID on the Mac).

Test send an iMessages to the apple ID (you will have to type it in in Full as Sierra presumes you will not want to call yourself and will show your Contacts My Card details).


Clear the iMessages conversation from both and test in the other direction by typing in the iPhone Number.


If they work add back the Apple ID to the iPhone.

The Pop up should appear on the Mac end. Accept and Enable the iPhone Number alternative.


Reset Text Forwarding if required and a new Code Number should appear on the Mac to pu back on the iPhone.


Add back the Apple Watch.




User uploaded file

7:42 pm Saturday; October 15, 2016


 iMac 2.5Ghz i5 2011 (Sierra)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
 iPhone 6 iOS 10.x and an iPad (2)

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Intermittent 'Not delivered' when sending texts

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.