MMS doesn't follow 302 redirects
will not receive any mms messages or pictures
Hey @golfn4funin13, we're going to need more details to be helpful. Specifically, if you could tell us what carrier you're on, what version of Android, and maybe try receiving a message and pasting the debug logs (Settings -> Submit Debug Log), that would be very useful.
MB886 ANDROID VERSION4.1. My carrier is Att. Gets all text messages only problem is with pictures in MMS. Sorry I deleted the thread with the errors have not used it again since. On Mar 30, 2014 4:00 AM, "Jake McGinty" [email protected] wrote:
Hey @golfn4funin13 https://github.com/golfn4funin13, we're going to need more details to be helpful. Specifically, if you could tell us what carrier you're on, what version of Android, and maybe try receiving a message and pasting the debug logs (Settings -> Submit Debug Log), that would be helpful.
Reply to this email directly or view it on GitHubhttps://github.com/WhisperSystems/TextSecure/issues/1267#issuecomment-39020873 .
I have the same issue with AT&T, on Android 4.4.
You are probably both victims of the famous At&T apocalypse: https://github.com/WhisperSystems/TextSecure/issues/494 There are several other tickets with similar problems on AT&T. I think it would be best if you closed this ticket and added your descriptions + bug reports over there. Thanks!
I have a samsung galaxy mega and at&t and these settings worked for me:
MMSC: http://mmsc.cingular.com MMS Proxy: wireless.cingular.com MMS Port: 80
Seeing this recently on my Nexus 5, running CM11-M9 and on T-Mobile. Three MMS, and counting, messages today refuse to download with "Error Connecting to MMS provider...". Log is as follows:
http://hastebin.com/eloreliwat
Well @skymoo is a 302 redirect. @mcginty it looks to me like you don't actually set HttpURLConnection.setFollowRedirect(true)?
I'm also getting similar errors when trying to send:
http://hastebin.com/acibayuxar
I was just walking the dog and a MMS came through, sort of. As you can see in the attached screenshot the image isn't displayed but tapping on it results in the image being displayed.

While out I also tried to send a MMS, this worked as well. The only thing different from when I tried before is that this time I was using my phones data connection instead of WiFi. Could this explain the inability to send/receive MMS messages?
@skymoo Your problem was the 302 redirect, which should be fixed as of 2.1.7.
@golfn4funin13 The AT&T SMIL issue should also be addressed in 2.1.7. If you have more AT&T issues, please let us know in #511. Thanks!
Just tried sending a message, while on wifi and it failed with the following log:
http://hastebin.com/oyujibagor
Sending with cellular data works fine...
Also I'm still unable to receive when on wifi, the log is:
http://hastebin.com/lewisaqupi
Again I'm able to receive on cellular data and I still get the same icon as in my previous comment, again tapping on the icon results in the correct picture being displayed.
Just to confirm this is with 2.1.7, I updated this morning. Essentially I'm seeing exactly the same behaviour as I did with 2.1.6.
@mcginty Still not following 302 redirects.
W/MmsDownloadHelper(29931): Response code: 302/Moved Temporarily
W/MmsDownloadHelper(29931): java.io.IOException: non-200 response
W/MmsDownloadHelper(29931): at org.thoughtcrime.securesms.mms.MmsDownloadHelper.makeRequest(MmsDownloadHelper.java:55)
W/MmsDownloadHelper(29931): at org.thoughtcrime.securesms.mms.MmsDownloadHelper.retrieveMms(MmsDownloadHelper.java:88)
W/MmsDownloadHelper(29931): at org.thoughtcrime.securesms.service.MmsDownloader.retrieveAndStore(MmsDownloader.java:172)
W/MmsDownloadHelper(29931): at org.thoughtcrime.securesms.service.MmsDownloader.handleDownloadMms(MmsDownloader.java:124)
W/MmsDownloadHelper(29931): at org.thoughtcrime.securesms.service.MmsDownloader.process(MmsDownloader.java:66)
W/MmsDownloadHelper(29931): at org.thoughtcrime.securesms.service.SendReceiveService$SendReceiveWorkItem.run(SendReceiveService.java:276)
W/MmsDownloadHelper(29931): at org.thoughtcrime.securesms.util.WorkerThread.run(WorkerThread.java:46)
Yeah, just tested this on a controlled server. Looks like URLConnection doesn't follow redirects properly with POST requests (it turns into GET), so we got into a redirect loop. Going to have to write our own redirect logic.
@skymoo Are you still seeing this with 2.1.8?
No luck sending an MMS whilst on wifi:
http://hastebin.com/hefizoyoye
I'm in the process of testing if I can receive.
Not able to receive on wifi either:
http://hastebin.com/nuhuxukoko
I am able to receive when on cellular data and this time the thumbnail is correctly displayed
@skymoo Your first log looks like it's missing some information. Did you remove the intro?
@skymoo Same for the second log.
I didn't remove anything, I waited for the process to fail to send (or download) and then immediately when to submit the debug log. It did take quite a while to fail, I can try to reproduce and resubmit logs but due to the time taken for the fail I imagine the same will occur?
I spoke too early before, I get the exclamation point icon instead of the thumbnail. Also it seems as though the incorrect thumbnail was displayed initially.
For an unrelated reason I needed to perform a factory reset on my phone this weekend, I took this opportunity to test sending MMS over wifi with the stock client and that to had the same problem. I therefore don't think this is specific to TextSecure. I'm currently dealing with T-Mobile tech-support trying to figure out what's going on. I'll update this ticket with the outcome.