MMS Send failure with android.system.GaiException

835 views
Skip to first unread message

troyw...@gmail.com

unread,
Mar 23, 2018, 1:48:40 PM3/23/18
to Automate
I am trying to get the MMS Send block to work with a picture taken by the block just before. The block before takes the picture successfully, as I can see it in the Gallery and on the file system. The MMS Send always produces an exception though.

FAIL 4@3: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)

The SMS Send block works successfully. I can successfully send a manual MMS message from the Messaging App with the same picture taken by the Take Picture block.

I have created a test flow with just the Take Picture and MMS Send blocks to distill my issue to its minimum. I have enabled debug logging. I have installed/granted Automate all privileges. I have added the picture location to the External Storage permissions. I made sure the MMS send limit is high and reset between tests. I have increase the MMS size limit to maximum.

This device is a Samsung S7 on Verizon, not rooted.

Full log of flow:
2018-03-23 11:54:09.488 INFO 12@1: Flow beginning
2018-03-23 11:54:09.489 INFO 12@2: Take picture
2018-03-23 11:54:10.915 INFO 12@3: MMS send
2018-03-23 11:54:11.980 FAIL 12@3: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
2018-03-23 11:54:11.983 INFO 12@3: Stopped by failure

I have run out of things to try and test. Anyone have any suggestions or help?

Thank You
Troy

Henrik "The Developer" Lindqvist

unread,
Mar 23, 2018, 2:13:08 PM3/23/18
to Automate
Firstly, try leaving the Subscription id field empty, long-tap to clear.
Otherwise, it's likely an APN issue. Ensure it's configured correctly in system settings, Networks & internet, Mobile network, Access Point Names.

troyw...@gmail.com

unread,
Mar 23, 2018, 3:33:35 PM3/23/18
to Automate
The Subscription Id field was left empty. I did also try setting it to the only option available in an earlier test.

In the System Settings..Mobile Networks..Access Point Names, I see one option selected. It says "Verizon Internet", with "VZWINTERNET" in smaller font. When I select it, it goes to Edit Access Point screen, with only the APN field selectable to edit. That field has "VZWINTERNET" as a value. Most of the other field values are "Not set".

For contrast I just tried this test on my Samsung Galaxy S8, also on Verizon, also not rooted. It produced the below errors.
2018-03-23 14:28:40.114 INFO 118@3: MMS send
2018-03-23 14:28:42.693 WARN 118@3: MMS sent to 6303030272
2018-03-23 14:28:42.700 FAIL 118@3: java.io.IOException: Error_sending_address_unresolved: Originator Address Not Found

So it seems something with this block does not work on the latest OS's from Verizon.

Henrik "The Developer" Lindqvist

unread,
Mar 24, 2018, 11:50:47 PM3/24/18
to Automate
Odd, my carrier has one for "internet" and one for "MMS"
I'll add some debug logging so it will be possible to see if the correct APN is used.

The "Originator Address Not Found" error is likely caused by the carrier not supporting "Insert-address-token", so i got to read and specify the actual phone number instead.

The Samsung Galaxy S8 which Android version does it use?

troyw...@gmail.com

unread,
Mar 26, 2018, 11:39:46 AM3/26/18
to Automate
As for the Samsung Galaxy S8, I would have said the latest 7.0, until about 1 hour ago. I just upgraded to 8.0 Oreo though. I will retest this MMS Send block on it, after a bit.

troyw...@gmail.com

unread,
Mar 26, 2018, 5:27:04 PM3/26/18
to Automate
I just again on the Samsung Galaxy S8 with Android 8.0. Same problem as Android 7.0:
INFO 118@3: MMS send
WARN 118@3: MMS sent to 6303030272
FAIL 118@3: java.io.IOException: Error_sending_address_unresolved: Originator Address Not Found

So both Samsung Galaxy S7 & S8 on Verizon, MMS Send is not working.

Henrik "The Developer" Lindqvist

unread,
Mar 26, 2018, 6:29:01 PM3/26/18
to Automate
The "Originator Address Not Found" will hopefully be fixed for next release.

troyw...@gmail.com

unread,
May 8, 2018, 3:45:53 PM5/8/18
to Automate
As of the latest version 1.11.1, the MMS send block is working now for both Samsung Galaxy S7 and S8 on Verizon.

Thank You

Henrik "The Developer" Lindqvist

unread,
May 8, 2018, 5:50:48 PM5/8/18
to Automate
Thanks for the confirmation.
Reply all
Reply to author
Forward
0 new messages