{"action":"created","issue":{"url":"https://api.github.com/repos/WhisperSystems/Signal-Android/issues/4474","labels_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/issues/4474/labels{/name}","comments_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/issues/4474/comments","events_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/issues/4474/events","html_url":"https://github.com/WhisperSystems/Signal-Android/issues/4474","id":116002123,"number":4474,"title":"Extremely Slow MMS on AT&T","user":{"login":"klindek","id":532595,"avatar_url":"https://avatars.githubusercontent.com/u/532595?v=3","gravatar_id":"","url":"https://api.github.com/users/klindek","html_url":"https://github.com/klindek","followers_url":"https://api.github.com/users/klindek/followers","following_url":"https://api.github.com/users/klindek/following{/other_user}","gists_url":"https://api.github.com/users/klindek/gists{/gist_id}","starred_url":"https://api.github.com/users/klindek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klindek/subscriptions","organizations_url":"https://api.github.com/users/klindek/orgs","repos_url":"https://api.github.com/users/klindek/repos","events_url":"https://api.github.com/users/klindek/events{/privacy}","received_events_url":"https://api.github.com/users/klindek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WhisperSystems/Signal-Android/labels/pending%20information","name":"pending information","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-11-10T00:54:10Z","updated_at":"2016-01-26T15:02:07Z","closed_at":null,"body":"Sending and receiving MMS on AT&T takes 20-30 seconds while Google Messenger is nearly instantaneous on a Nexus 6P running Android 6.0. I noticed in the logs that the system was defaulting to the legacy MMS transport rather than Lollipop transport. "},"comment":{"url":"https://api.github.com/repos/WhisperSystems/Signal-Android/issues/comments/175061902","html_url":"https://github.com/WhisperSystems/Signal-Android/issues/4474#issuecomment-175061902","issue_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/issues/4474","id":175061902,"user":{"login":"jjohns71","id":6795795,"avatar_url":"https://avatars.githubusercontent.com/u/6795795?v=3","gravatar_id":"","url":"https://api.github.com/users/jjohns71","html_url":"https://github.com/jjohns71","followers_url":"https://api.github.com/users/jjohns71/followers","following_url":"https://api.github.com/users/jjohns71/following{/other_user}","gists_url":"https://api.github.com/users/jjohns71/gists{/gist_id}","starred_url":"https://api.github.com/users/jjohns71/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjohns71/subscriptions","organizations_url":"https://api.github.com/users/jjohns71/orgs","repos_url":"https://api.github.com/users/jjohns71/repos","events_url":"https://api.github.com/users/jjohns71/events{/privacy}","received_events_url":"https://api.github.com/users/jjohns71/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T15:02:07Z","updated_at":"2016-01-26T15:02:07Z","body":"If you look through the debug log posted above by kevin-george I think the issue may have to do with 'APNDatabase' which is using the APN mmsc of 'http://mmsc.cingular.com' as the default AT&T MMS server. \r\n\r\n**TL;DR** I think 'APNDatabase' needs to be updated in the code of Signal to use the 'phone'[1] or 'nxtgenphone'[2] AT&T APN's and not the 'wap.cingular' APN (Please see my explanation below for why I think this is the case).\r\n\r\nIf you look through the debug logs posted by kevin-george I think the **DELAY** issue we are all having is due to a bunch of connections initially connecting, but ultimately being dropped going to 'http://mmsc.cingular.com'. This MMS server is an old and possibly deprecated APN server that AT&T either provides limited support and/or no support for as best as I can tell.\r\n\r\nTo further my theory that 'APNDatabase' needs to be updated in the Signal codebase I also removed the 'wap.cingular.com' APN from my device (Settings -> Wireless & Networks -> More -> Cellular Networks -> Access Point Names) and added in the 'phone' APN per the instructions from AT&T's support[1]. I then performed a phone reboot and went back into Signal and initiated another MMS send/receive test and looked at my debug logs and Signal is still defaulting to the 'cingular' APN which doesn't even exist in my phone's APN settings anymore.\r\n\r\nPlease see the AT&T developer thread[2] with a list of APNs in the reference section below\r\n\r\nAs a side note, it appears the entire AT&T network is moving towards the 'nxtgenphone' APN but for now, there is not full support (No VoLTE support) for unlocked/unbranded/bring your own device phones (i.e. the entire Google Nexus line) on AT&T[3].\r\n\r\nFrom what I can tell by looking over the debug logs, I think we need to update the Android Signal code which is trying to run unsecured MMS through the Signal APNdatabase which defaults to the old legacy Cingular (the company precursor to AT&T Wireless) servers. Ideally it seems as if the Signal code would be optimal if it just defaulted to the device's APN list. (Maybe this is difficult to implement though?)\r\n\r\nIf the answer is to update the APN Dataase in Signal's codebase, I think the database of AT&T APNs needs to be updated in Signal to a new default order of:\r\n1) 'phone' \r\n2) 'nxtgenphone' (Due to this not fully being supported by AT&T on unlocked phones)\r\n3) 'wap.cingular'\r\n\r\nI'm not a coder or I would try to figure out what library the 'APNDatabase' code is in and take a look and see if I could just change what appears to be the hardcoded AT&T APN setting in Signal.\r\n\r\nCan anyone else having this issue try to confirm/dispute my findings? If it is helpful I can post my own debug logs from a few different captures but I think just looking over kevin-george's is enough to understand what the issue appears to be.\r\n\r\nThanks!\r\n\r\n**References**\r\n[1] http://www.att.com/esupport/article.html#!/wireless/KB424489 (Expand android devices list).\r\n[2] http://developer.att.com/technical-library/apns/apn-descriptions-and-characteristics \r\n[3] https://forums.att.com/t5/Device-Features/Nexus-6P-No-HD-Voice-and-Wifi-Calling/td-p/4346076\r\n\r\n**Additional Sources of Discussion You May Find Helpful**\r\n[4] http://forum.xda-developers.com/showthread.php?t=2172110 - xda thread with detailed settings for AT&T APN setup. This lists APN's not officially supplied on the AT&T site so use at your own risk.\r\n[5] https://www.reddit.com/r/nexus6/comments/2myk7x/att_nexus_6_apn/ - Reddit discussion around data and MMS on the Nexus 6p which pointed me to [2]."}}