MMS success and failure
-
@ronbillock In addition, I did find out that this failed message was sent as part of a group message.
-
@jezek said in MMS success and failure:
I will do some other fixes in nuntium in very near future. Besides I will try to investigate where your "Invalid URL" error happens and why the URL is empty. If I don't respond in one-two weeks, please ping me.
Thanks for your continued work with MMS!
-
Testing: I (and my wife) continue to not get some MMS messages. We both now have OP6, both using UT, have the same carrier, and APN settings, the same as earlier detailed. 1) with my WIFI on I can not send an MMS message. It fails to send. 2) with my Wifi off I can send my wife an MMS and she can receive it. If Wifi is off the MMS comes through just fine. If her Wifi is on she gets Oops and the process described of switching Wifi off and Download retrieves the MMS successfully. 3) I created an MMS for my wife and to a secondary Google Voice # I have for myself (group message). Both of these numbers are in our contacts. With Wifi off for both of us, the MMS was sent AND received. I did not need to have a 'group' set up on either phone.
4) My wife has received Oops messages for MMS sent to her as a group message from her sister and 2 daughters. All numbers were in her contacts. These messages are not retrieving with the Downloads action. I will next set up a group with them to see if that makes a difference BUT why does my previous group MMS come through and this one does not? What are the variables? Is it because some of them use IOS or Android vs UT? Is it Carrier specific if it works well or not?
I just thought I would pass along this 'testing' to add to the confusion. I have not yet viewed any logs or wget the failed MMS. I may get there soon but previously when I did and opened the file with Seabass the file showed empty. I hope this has been helpful but my wife is very frustrated that she is not getting her pics of a new puppy, lol. -
@ronbillock said in MMS success and failure:
Testing: I (and my wife) continue to not get some MMS messages. We both now have OP6, both using UT, have the same carrier, and APN settings, the same as earlier detailed.
- with my WIFI on I can not send an MMS message. It fails to send.
Yes, this is known, thanks for confirming
- with my Wifi off I can send my wife an MMS and she can receive it. If Wifi is off the MMS comes through just fine. If her Wifi is on she gets Oops and the process described of switching Wifi off and Download retrieves the MMS successfully.
Again this seems to match, thanks for confirming.
- I created an MMS for my wife and to a secondary Google Voice # I have for myself (group message). Both of these numbers are in our contacts. With Wifi off for both of us, the MMS was sent AND received. I did not need to have a 'group' set up on either phone.
Please confirm: did you just use "+" to add 2 recipients? If so then you just sent 2 simple SMS. To send a group MMS you need to click the "people icon" to the far right in the "to" field, then set up the group, then you can send to it. So the fact that you didn't set up the group on your sending phone makes me suspect you did not actually send a group MMS?
- My wife has received Oops messages for MMS sent to her as a group message from her sister and 2 daughters. All numbers were in her contacts. These messages are not retrieving with the Downloads action. I will next set up a group with them to see if that makes a difference BUT why does my previous group MMS come through and this one does not? What are the variables? Is it because some of them use IOS or Android vs UT? Is it Carrier specific if it works well or not?
Again please confirm above regarding the testing of a group MMS between the 2 UT phones and the Google Voice number. FYI I am also using Google Voice as my "3rd phone" for tests If you can make a MMG group with your 2 daughters and sister for your wife's phone (maybe make that group, then send a message to the group that hopefully pictures now work so could one of them please re-send a photo) then we will see if you have any success with the group MMS receive (and send) for them. I hope you can report success
-
@rik said in MMS success and failure:
Please confirm: did you just use "+" to add 2 recipients? If so then you just sent 2 simple SMS. To send a group MMS you need to click the "people icon" to the far right in the "to" field, then set up the group, then you can send to it. So the fact that you didn't set up the group on your sending phone makes me suspect you did not actually send a group MMS?
I didn't realize there was a difference between the To: line and the Peoples icon . After more testing, you are correct. If I add two contacts in the to-line it does work but if I use the 'peoples' icon and then add them there it does not go anywhere - no failed message-no Oops message- no nothing? I expected something....
I did create a group using the 'peoples' icon and sent a picture to them asking for a response with another picture attached if received. I will report back any response received.
I also find it odd that my 'group' is not really saved somewhere for later use like a distribution list can be in other systems. Seems like once the group message thread is gone/deleted then the group is gone and needs to be recreated for any future use.
-
@ronbillock said in MMS success and failure:
I didn't realize there was a difference between the To: line and the Peoples icon . After more testing, you are correct. If I add two contacts in the to-line it does work but if I use the 'peoples' icon and then add them there it does not go anywhere - no failed message-no Oops message- no nothing? I expected something....
The group was created on your phone, but no message sent (yet) I think?
I did create a group using the 'peoples' icon and sent a picture to them asking for a response with another picture attached if received. I will report back any response received.
Very good. To get the most testing done / get the most familiar with it you may want to again make the "group" to be just you, your wife's UT phone, and your Google Voice number. Then you can test sending from GV to UT, UT to GV, wifi on, wifi off, etc. This would also allow you to NOT create the group on your wife's UT phone to confirm it still gives an error. Then create the group on her phone and attempt to use the "download" button. What will happen is you will have a spinning circle on the individual thread, but the message should come to the group thread. After you get it in the group thread, you will need to go back to the individual thread (still spinning) and delete that "oops + download link" message. The reason is because the resulting MMS isn't brought to the individual thread so the individual thread is confused the download completed. This is another rough edge (but only shows in cases where an incoming group message first fails)
I also find it odd that my 'group' is not really saved somewhere for later use like a distribution list can be in other systems. Seems like once the group message thread is gone/deleted then the group is gone and needs to be recreated for any future use.
Yes, there are gaps here, like "naming" the group, etc. But as you note if you remove the group message thread then the group seems to disappear.
-
@rik I had created a group on my wife's phone that included my wife, her sister, and our 2 daughters. I sent a picture to them with a text message saying it was a test and asked them to reply to the message with a picture of their own. My wife's sister just replied to the group message with 3 pics and some text. It came through just fine. It seems that as long as it is in response to that same group or that group thread then it is OK.
A problem I believe this creates is that the only access to this group they have, in order for my wife to get the message, is by responding to that specific thread. I am curious, if one of them were to delete the thread and then send a message to the same members (a new thread) will my wife then receive it or will we be back to where we started? I am waiting to hear from the other recipients. Also if any one of them were to add an additional person I am not sure what will happen since they will not be in the group I established? I guess one step at a time. -
@ronbillock
I edited your post so it be more readable with all that code, use code tags</> button
in order to from now .
-
@ronbillock said in MMS success and failure:
@rik I had created a group on my wife's phone that included my wife, her sister, and our 2 daughters. I sent a picture to them with a text message saying it was a test and asked them to reply to the message with a picture of their own. My wife's sister just replied to the group message with 3 pics and some text. It came through just fine. It seems that as long as it is in response to that same group or that group thread then it is OK.
A problem I believe this creates is that the only access to this group they have, in order for my wife to get the message, is by responding to that specific thread. I am curious, if one of them were to delete the thread and then send a message to the same members (a new thread) will my wife then receive it or will we be back to where we started?
I am waiting to hear from the other recipients. Also if any one of them were to add an additional person I am not sure what will happen since they will not be in the group I established? I guess one step at a time.
I think MMS is not smart enough to know if someone deleted the thread or not. As I understand as long as the group members are the same then it should deliver correctly if you have the group thread on the receiving UT phone. Think of it like this: MMS doesn't really know what a "group" is, the message itself just itemizes all phone numbers at the beginning of it (sorry you weren't able to see the raw text, that should work with wget but regardless it seems you are getting there now). So it isn't like "Telegram" or "Whatsapp" or "Signal" that has a concept of true "groups" that people can join and leave. Instead it is just a container for a set number of phone numbers: any change to those itemized numbers means a "different group". IF things were working correctly, then each time there was a different set of phone numbers a different group message thread would be created. But as you are seeing the BUG is that no group message thread is automatically created. This means you will unfortunately need to try again with
wget
on failed MMS downloads to see what phone numbers are there, manually make the MMS group (message thread), then download again to populate that message thread. A BIG headache for you, but if you do it right you will at least be able to get all MMS messages. And in time you won't be getting infinite variations on who the group members are and things should settle down (just adding messages to existing group threads). And then in time hopefully UT messages app gets smarter with regard to being able to auto-create the MMS group thread. I don't know if @jezek has this planned or not at this time.So, if you want to try again with
wget
(finding the http address of the failed download from Log Viewer innuntium.log
we can see if we can help you dig through how to identify the various phone numbers in it to manually create the group thread). In fact, try this process ofwget
on a MMS group message you successfully downloaded, then it may be more apparent how to read it. They shouldn't be blank, if so something else is causing confusion.Finally, just noting that MMS Group Messages are far from supported / polished in UT. Any chance you can convince your contacts to join Telegram (best support on UT)? Then you can get the messages on your desktop as well, etc. and it is more secure than MMS. No I haven't convinced my family members to do it yet, either
-
@rik @Fizz @jezek
Sorry guys ... don't check in here often. Yes, I am also experiencing the "Invalid URL" ...
I believe this is a nuntium bug and raised an issue here
The issue was also experienced by @notkit and there was a hint on where to look for the issue here
Since it is not happening to everyone, my current guess is that the parsing of the URL for those with a PROXY is breaking something: @fizz and I have proxy, don't think you or others do @rik? Either that or the port? (although since its :80 ... I have tried without it and had same results). -
@rik said in MMS success and failure:
So, if you want to try again with
wget
(finding the http address of the failed download from Log Viewer innuntium.log
we can see if we can help you dig through how to identify the various phone numbers in it to manually create the group thread). In fact, try this process ofwget
on a MMS group message you successfully downloaded, then it may be more apparent how to read it. They shouldn't be blank, if so something else is causing confusion.I'm happy to try this, but i don't understand what url i should use. In the numtium log i posted above, the only url i see if http://mms.bell.ca/mms/wapenc . When i try a wget on that i get a 405 error, method not allowed. So i presume i am missing something. What do i need to do?
-Fizz
-
@fizz said in MMS success and failure:
I'm happy to try this, but i don't understand what url i should use. In the numtium log i posted above, the only url i see if http://mms.bell.ca/mms/wapenc.
The http address is in your log as part of the "hex dump", but you are experiencing that error where it says
Invalid URL: ''
so that is this different bug that @StandUpMobile is indicating is tracked here: https://github.com/ubports/nuntium/issues/14If I attempt to "piece together" the http address from the hex dump part of your message, it seems it is this: http://mmsc2.get.bell.ca/cloudmmsc?l=f95c4f5dbdc28f499f619d44-1
Can you try, with wifi DISCONNECTED, these possibilities from terminal?
- best guess:
wget http://mmsc2.get.bell.ca/cloudmmsc?l=f95c4f5dbdc28f499f619d44-1
- removed
-1
which may not be part of the address:
wget http://mmsc2.get.bell.ca/cloudmmsc?l=f95c4f5dbdc28f499f619d44
But since this is several days old it may have been "cleaned out" by your carrier. So if you get "not found" on both of those try again to receive a MMS photo, putting together the new http address from
nuntium.log
like I did above, and then try it with wget.Yes, this is quite a technical and fiddly process, but we may learn what character in that http address is causing nuntium to wipe out the address (leaving the
Invalid URL: ''
response). @StandUpMobile if you are willing you could try as well to see if there is any clue you can uncover that is causing this "Invalid URL" response. - best guess:
-
@rik
From numtium... this is a test picture that my wife messaged me- as before i get the notification but it can't download it.2022/01/26 20:44:16 Received ReceiveNotification() method call from 44600 2022/01/26 20:44:16 Push data 00000000 00 06 29 1f 22 61 70 70 6c 69 63 61 74 69 6f 6e |..)."application| 00000010 2f 76 6e 64 2e 77 61 70 2e 6d 6d 73 2d 6d 65 73 |/vnd.wap.mms-mes| 00000020 73 61 67 65 00 81 84 af 84 8d 01 00 8c 82 98 36 |sage...........6| 00000030 32 37 66 34 39 39 35 61 34 66 30 36 39 38 61 63 |27f4995a4f0698ac| 00000040 30 35 66 36 30 35 31 2d 31 00 8d 92 89 1a 80 18 |05f6051-1.......| 00000050 ea 2b 31 35 31 39 38 35 39 30 35 34 37 2f 54 59 |.+15198590547/TY| 00000060 50 45 3d 50 4c 4d 4e 00 96 00 8a 80 88 05 81 03 |PE=PLMN.........| 00000070 09 3a 7f 86 81 83 68 74 74 70 3a 2f 2f 6d 6d 73 |.:....http://mms| 00000080 63 32 2e 67 65 74 2e 62 65 6c 6c 2e 63 61 2f 63 |c2.get.bell.ca/c| 00000090 6c 6f 75 64 6d 6d 73 63 3f 6c 3d 36 32 37 66 34 |loudmmsc?l=627f4| 000000a0 39 39 35 61 34 66 30 36 39 38 61 63 30 35 66 36 |995a4f0698ac05f6| 000000b0 30 35 31 2d 31 00 8e 03 04 b1 e8 |051-1......| 2022/01/26 20:44:16 Trying to set Active property to true for context on true /ril_0/context2 2022/01/26 20:44:16 Download issues: org.freedesktop.DBus.Error.InvalidArgs: Invalid URL: '' 2022/01/26 20:44:16 Trying to set Active property to false for context on false /ril_0/context2 2022/01/26 20:45:12 Received unknown method call on org.ofono.mms.Message MarkRead 2022/01/26 20:45:12 Message /org/ofono/mms/302610917674682/d42593a258f304dfd1c4a1c2c5edda49 is not responded and not expired, not deleting.
And now working on the wget... stay tuned...
OK i was able to download the first one (with the "-1"). When i open it up in Seabass, there is nothing... it appears like a blank file. Though the file browser says it's 280 kb in size, and seems to think it's a movie (based on the icon). So not sure how to look at this.
I also tried downloading the second (no "-1") but i get a 404 not found error.
Oh, and i double-checked that wifi is totally disabled.
-
@fizz said in MMS success and failure:
OK i was able to download the first one (with the "-1"). When i open it up in Seabass, there is nothing... it appears like a blank file. Though the file browser says it's 280 kb in size, and seems to think it's a movie (based on the icon). So not sure how to look at this.
I wonder if something in the address is an invalid character or something? Could you try this:
wget -O mms-download.txt <html address>
(I just edited: I think you need-O
BEFORE the url)Then you should find
mms-download.txt
in your home directory. If seabass still shows it empty, can you try in the terminal to view it?cat mms-download.txt
??
-
@rik
So downloading it to a .txt file allows me to see it. However, it is a huge file (2380 lines), and most of it filled with a pile of non-standard characters: diamonds, arabic (i think), cyrillic, diamonds, greek, etc etc. Basically, it looks encoded, and the majority of it is unreadable. It looks the same both in Seabass and through cat. I'm not sure it would even be postable in this forum. I can try if you think it's ok, but just giving fair warning.Also to clarify, (because i misread your post about using wget), I have never successfully downloaded an mms message on this device. I can send fine, but have never successfully received an mms.
-
@fizz said in MMS success and failure:
@rik
So downloading it to a .txt file allows me to see it. However, it is a huge file (2380 lines), and most of it filled with a pile of non-standard characters: diamonds, arabic (i think), cyrillic, diamonds, greek, etc etc. Basically, it looks encoded, and the majority of it is unreadable. It looks the same both in Seabass and through cat. I'm not sure it would even be postable in this forum. I can try if you think it's ok, but just giving fair warning.Also to clarify, (because i misread your post about using wget), I have never successfully downloaded an mms message on this device. I can send fine, but have never successfully received an mms.
The best guess I have is that the carrier is encrypting the messages, sorry I don't know how this works but it must be. The first few lines should list readable phone numbers, you can view just those first lines with
head filename.txt
-
@rik
Unfortunately, viewing the head doesn't help. Most of it is those encoded characters, but there are a few html-like tags. The only obvious phone numbers, which are buried inside of the encoding, are both my own number (the number on this phone). I do see an image tag with filename, suggesting this was the image that was sent to me. -
@fizz hmm, when you have the file downloaded, you can exploit that nuntium can now recover from errors at startup.
For each (failed) message there is a
.db
file in storage in~/.local/share/nuntium/store/
directory in format<UUID>.db
. The file is in json format.Copy the downloaded file into the "storage" directory named as
<UUID>.mms
(replace the <UUID> with actual UUID). After this, you have to change the status of message to "downloaded" by editing the.id
.db
file. Then after restarting the phone (or just nuntium withinitctl --user restart nuntium
command) the message should be decoded and sent to messaging-app. -
@rik If downloading the failed message is possible via
wget
command, maybe somebody should try to write an workaround into nuntium download function and try thewget
approach if current download method via ubuntu-download-manager fails, until the udm is fixed. -
@jezek said in MMS success and failure:
@fizz hmm, when you have the file downloaded, you can exploit that nuntium can now recover from errors at startup.
For each (failed) message there is a
.db
file in storage in~/.local/share/nuntium/store/
directory in format<UUID>.db
. The file is in json format.Copy the downloaded file into the "storage" directory named as
<UUID>.mms
(replace the <UUID> with actual UUID). After this, you have to change the status of message to "downloaded" by editing the.id
file. Then after restarting the phone (or just nuntium withinitctl --user restart nuntium
command) the message should be decoded and sent to messaging-app.Sorry for my delayed reply. I finally tried this. Unfortunately it still hasn't given me the message. It does behave differently though. Here's what i did:
I had an MMS (an image) sent to my mobile. I get the usual notification that the message could not be retrieved. When i press the "download" button, it tries for a couple seconds and stops, keeping the same error message.
I then followed your instructions above- found the .db file, changed the status to 'downloaded', and then restarted the mobile.
The results: when i re-opened the messenger, i still see the warning. I tried the 'download' button again, but now it just spins constantly, as though it's trying to download but never succeeds. It stopped trying after only a couple seconds before, but now it seemingly never stops- been going for a half-hour now.
-Fizz