Unable to retrieve mms using nowsms and orange. | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through May 02, 2013 ⬆ |
◄ ► |
Author | Message | |||
steve New member Username: Steve4400 Post Number: 2 Registered: 12-2012 |
We have been using NowSMS successfully to retrieve mms picture messages for sometime. In October 2012 this stopped working and I cannot figure out why. I have registered a new sim with orange and tested this in a mobile phone and it worked perfectly. Upon trying this with nowSMS using both a Siemens MC35i and a Huawei E160 modem it fails to download the message. I have tried the Wap Gateway test and it fails using the IP 192.168.224.10 and orangemms APN. Changing the gateway IP to http:192.168.224.10:8080 will pass the Wap test. But it still fails to download the message. The logfiles gives the message: Warning MMS message could not be retrieved (url stuff) 14:32:51:067 [15] ThreadProcessModem: AT+CNMI=2,0 14:32:53:095 [15] ThreadProcessModem: Before ModemRelease - HUAWEI Mobile Connect - 3G Modem 14:32:53:095 [15] ThreadProcessModem: After ModemRelease - HUAWEI Mobile Connect - 3G Modem 14:32:53:111 [17] ThreadProcessInboundMMS: After ModemAllocate - HUAWEI Mobile Connect - 3G Modem - OK 14:32:53:111 [17] ThreadProcessInboundMMS: Before WSPRasDial - Modem: HUAWEI Mobile Connect - 3G Modem 14:32:59:117 [15] ThreadProcessModem: Before ModemAllocate - HUAWEI Mobile Connect - 3G Modem 14:33:03:813 [17] ThreadProcessInboundMMS: After WSPRasDial - OK 14:33:04:437 [17] ThreadProcessInboundMMS: GET http://mmsca.orange.co.uk/UNB_dcCo4MQAACM5AAAADwADOOwAAAAA HTTP/1.1 Accept: application/vnd.wap.mms-message Host: mmsca.orange.co.uk 14:33:04:764 [17] ThreadProcessInboundMMS: Packet Length is 1308 bytes 14:33:04:764 [17] ThreadProcessInboundMMS: 48 54 54 50 2F 31 2E 31 20 34 31 32 20 50 72 65 HTTP/1.1 412 Pre 14:33:04:764 [17] ThreadProcessInboundMMS: 63 6F 6E 64 69 74 69 6F 6E 20 46 61 69 6C 65 64 condition Failed 14:33:04:764 [17] ThreadProcessInboundMMS: 0D 0A 43 6F 6E 74 65 6E 74 2D 4C 65 6E 67 74 68 Content-Length 14:33:04:764 [17] ThreadProcessInboundMMS: 3A 20 31 31 31 32 20 20 20 20 20 0D 0A 53 65 72 : 1112 Ser 14:33:04:764 [17] ThreadProcessInboundMMS: 76 65 72 3A 20 41 70 61 63 68 65 2D 43 6F 79 6F ver: Apache-Coyo 14:33:04:764 [17] ThreadProcessInboundMMS: 74 65 2F 31 2E 31 0D 0A 43 6F 6E 74 65 6E 74 2D te/1.1 Content- 14:33:04:764 [17] ThreadProcessInboundMMS: 54 79 70 65 3A 20 74 65 78 74 2F 68 74 6D 6C 3B Type: text/html; 14:33:04:764 [17] ThreadProcessInboundMMS: 63 68 61 72 73 65 74 3D 75 74 66 2D 38 0D 0A 44 charset=utf-8 D 14:33:04:764 [17] ThreadProcessInboundMMS: 61 74 65 3A 20 54 75 65 2C 20 31 38 20 44 65 63 ate: Tue, 18 Dec 14:33:04:764 [17] ThreadProcessInboundMMS: 20 32 30 31 32 20 31 34 3A 33 33 3A 30 32 20 47 2012 14:33:02 G 14:33:04:764 [17] ThreadProcessInboundMMS: 4D 54 0D 0A 50 72 6F 78 79 2D 43 6F 6E 6E 65 63 MT Proxy-Connec 14:33:04:764 [17] ThreadProcessInboundMMS: 74 69 6F 6E 3A 20 6B 65 65 70 2D 61 6C 69 76 65 tion: keep-alive 14:33:04:764 [17] ThreadProcessInboundMMS: 0D 0A 0D 0A 3C 68 74 6D 6C 3E 3C 68 65 61 64 3E <html><head> 14:33:04:764 [17] ThreadProcessInboundMMS: 3C 74 69 74 6C 65 3E 41 70 61 63 68 65 20 54 6F <title>Apache To 14:33:04:764 [17] ThreadProcessInboundMMS: 6D 63 61 74 2F 35 2E 35 2E 31 32 20 2D 20 45 72 mcat/5.5.12 - Er 14:33:04:764 [17] ThreadProcessInboundMMS: 72 6F 72 20 72 65 70 6F 72 74 3C 2F 74 69 74 6C ror report</titl 14:33:04:764 [17] ThreadProcessInboundMMS: 65 3E 3C 73 74 79 6C 65 3E 3C 21 2D 2D 48 31 20 e><style><!--H1 14:33:04:764 [17] ThreadProcessInboundMMS: 7B 66 6F 6E 74 2D 66 61 6D 69 6C 79 3A 54 61 68 {font-family:Tah 14:33:04:764 [17] ThreadProcessInboundMMS: 6F 6D 61 2C 41 72 69 61 6C 2C 73 61 6E 73 2D 73 oma,Arial,sans-s 14:33:04:764 [17] ThreadProcessInboundMMS: 65 72 69 66 3B 63 6F 6C 6F 72 3A 77 68 69 74 65 erif;color:white 14:33:04:764 [17] ThreadProcessInboundMMS: 3B 62 61 63 6B 67 72 6F 75 6E 64 2D 63 6F 6C 6F ;background-colo 14:33:04:764 [17] ThreadProcessInboundMMS: 72 3A 23 35 32 35 44 37 36 3B 66 6F 6E 74 2D 73 r:#525D76;font-s 14:33:04:764 [17] ThreadProcessInboundMMS: 69 7A 65 3A 32 32 70 78 3B 7D 20 48 32 20 7B 66 ize:22px;} H2 {f 14:33:04:764 [17] ThreadProcessInboundMMS: 6F 6E 74 2D 66 61 6D 69 6C 79 3A 54 61 68 6F 6D ont-family:Tahom 14:33:04:764 [17] ThreadProcessInboundMMS: 61 2C 41 72 69 61 6C 2C 73 61 6E 73 2D 73 65 72 a,Arial,sans-ser 14:33:04:764 [17] ThreadProcessInboundMMS: 69 66 3B 63 6F 6C 6F 72 3A 77 68 69 74 65 3B 62 if;color:white;b 14:33:04:764 [17] ThreadProcessInboundMMS: 61 63 6B 67 72 6F 75 6E 64 2D 63 6F 6C 6F 72 3A ackground-color: 14:33:04:764 [17] ThreadProcessInboundMMS: 23 35 32 35 44 37 36 3B 66 6F 6E 74 2D 73 69 7A #525D76;font-siz 14:33:04:764 [17] ThreadProcessInboundMMS: 65 3A 31 36 70 78 3B 7D 20 48 33 20 7B 66 6F 6E e:16px;} H3 {fon 14:33:04:764 [17] ThreadProcessInboundMMS: 74 2D 66 61 6D 69 6C 79 3A 54 61 68 6F 6D 61 2C t-family:Tahoma, 14:33:04:764 [17] ThreadProcessInboundMMS: 41 72 69 61 6C 2C 73 61 6E 73 2D 73 65 72 69 66 Arial,sans-serif 14:33:04:764 [17] ThreadProcessInboundMMS: 3B 63 6F 6C 6F 72 3A 77 68 69 74 65 3B 62 61 63 ;color:white;bac 14:33:04:764 [17] ThreadProcessInboundMMS: 6B 67 72 6F 75 6E 64 2D 63 6F 6C 6F 72 3A 23 35 kground-color:#5 14:33:04:764 [17] ThreadProcessInboundMMS: 32 35 44 37 36 3B 66 6F 6E 74 2D 73 69 7A 65 3A 25D76;font-size: 14:33:04:764 [17] ThreadProcessInboundMMS: 31 34 70 78 3B 7D 20 42 4F 44 59 20 7B 66 6F 6E 14px;} BODY {fon 14:33:04:764 [17] ThreadProcessInboundMMS: 74 2D 66 61 6D 69 6C 79 3A 54 61 68 6F 6D 61 2C t-family:Tahoma, 14:33:04:764 [17] ThreadProcessInboundMMS: 41 72 69 61 6C 2C 73 61 6E 73 2D 73 65 72 69 66 Arial,sans-serif 14:33:04:764 [17] ThreadProcessInboundMMS: 3B 63 6F 6C 6F 72 3A 62 6C 61 63 6B 3B 62 61 63 ;color:black;bac 14:33:04:764 [17] ThreadProcessInboundMMS: 6B 67 72 6F 75 6E 64 2D 63 6F 6C 6F 72 3A 77 68 kground-color:wh 14:33:04:764 [17] ThreadProcessInboundMMS: 69 74 65 3B 7D 20 42 20 7B 66 6F 6E 74 2D 66 61 ite;} B {font-fa 14:33:04:764 [17] ThreadProcessInboundMMS: 6D 69 6C 79 3A 54 61 68 6F 6D 61 2C 41 72 69 61 mily:Tahoma,Aria 14:33:04:764 [17] ThreadProcessInboundMMS: 6C 2C 73 61 6E 73 2D 73 65 72 69 66 3B 63 6F 6C l,sans-serif;col 14:33:04:764 [17] ThreadProcessInboundMMS: 6F 72 3A 77 68 69 74 65 3B 62 61 63 6B 67 72 6F or:white;backgro 14:33:04:764 [17] ThreadProcessInboundMMS: 75 6E 64 2D 63 6F 6C 6F 72 3A 23 35 32 35 44 37 und-color:#525D7 14:33:04:764 [17] ThreadProcessInboundMMS: 36 3B 7D 20 50 20 7B 66 6F 6E 74 2D 66 61 6D 69 6;} P {font-fami 14:33:04:764 [17] ThreadProcessInboundMMS: 6C 79 3A 54 61 68 6F 6D 61 2C 41 72 69 61 6C 2C ly:Tahoma,Arial, 14:33:04:764 [17] ThreadProcessInboundMMS: 73 61 6E 73 2D 73 65 72 69 66 3B 62 61 63 6B 67 sans-serif;backg 14:33:04:764 [17] ThreadProcessInboundMMS: 72 6F 75 6E 64 3A 77 68 69 74 65 3B 63 6F 6C 6F round:white;colo 14:33:04:764 [17] ThreadProcessInboundMMS: 72 3A 62 6C 61 63 6B 3B 66 6F 6E 74 2D 73 69 7A r:black;font-siz 14:33:04:764 [17] ThreadProcessInboundMMS: 65 3A 31 32 70 78 3B 7D 41 20 7B 63 6F 6C 6F 72 e:12px;}A {color 14:33:04:764 [17] ThreadProcessInboundMMS: 20 3A 20 62 6C 61 63 6B 3B 7D 41 2E 6E 61 6D 65 : black;}A.name 14:33:04:764 [17] ThreadProcessInboundMMS: 20 7B 63 6F 6C 6F 72 20 3A 20 62 6C 61 63 6B 3B {color : black; 14:33:04:764 [17] ThreadProcessInboundMMS: 7D 48 52 20 7B 63 6F 6C 6F 72 20 3A 20 23 35 32 }HR {color : #52 14:33:04:764 [17] ThreadProcessInboundMMS: 35 44 37 36 3B 7D 2D 2D 3E 3C 2F 73 74 79 6C 65 5D76;}--></style 14:33:04:764 [17] ThreadProcessInboundMMS: 3E 20 3C 2F 68 65 61 64 3E 3C 62 6F 64 79 3E 3C > </head><body>< 14:33:04:764 [17] ThreadProcessInboundMMS: 68 31 3E 48 54 54 50 20 53 74 61 74 75 73 20 34 h1>HTTP Status 4 14:33:04:764 [17] ThreadProcessInboundMMS: 31 32 20 2D 20 52 65 71 75 65 73 74 20 72 65 6A 12 - Request rej 14:33:04:764 [17] ThreadProcessInboundMMS: 65 63 74 65 64 3A 20 55 6E 72 65 63 6F 67 6E 69 ected: Unrecogni 14:33:04:764 [17] ThreadProcessInboundMMS: 7A 65 64 20 55 73 65 72 2D 41 67 65 6E 74 2F 55 zed User-Agent/U 14:33:04:764 [17] ThreadProcessInboundMMS: 41 50 72 6F 66 2E 3C 2F 68 31 3E 3C 48 52 20 73 AProf.</h1><HR s 14:33:04:780 [17] ThreadProcessInboundMMS: 69 7A 65 3D 22 31 22 20 6E 6F 73 68 61 64 65 3D ize="1" noshade= 14:33:04:780 [17] ThreadProcessInboundMMS: 22 6E 6F 73 68 61 64 65 22 3E 3C 70 3E 3C 62 3E "noshade"><p><b> 14:33:04:780 [17] ThreadProcessInboundMMS: 74 79 70 65 3C 2F 62 3E 20 53 74 61 74 75 73 20 type</b> Status 14:33:04:780 [17] ThreadProcessInboundMMS: 72 65 70 6F 72 74 3C 2F 70 3E 3C 70 3E 3C 62 3E report</p><p><b> 14:33:04:780 [17] ThreadProcessInboundMMS: 6D 65 73 73 61 67 65 3C 2F 62 3E 20 3C 75 3E 52 message</b> <u>R 14:33:04:780 [17] ThreadProcessInboundMMS: 65 71 75 65 73 74 20 72 65 6A 65 63 74 65 64 3A equest rejected: 14:33:04:780 [17] ThreadProcessInboundMMS: 20 55 6E 72 65 63 6F 67 6E 69 7A 65 64 20 55 73 Unrecognized Us 14:33:04:780 [17] ThreadProcessInboundMMS: 65 72 2D 41 67 65 6E 74 2F 55 41 50 72 6F 66 2E er-Agent/UAProf. 14:33:04:780 [17] ThreadProcessInboundMMS: 3C 2F 75 3E 3C 2F 70 3E 3C 70 3E 3C 62 3E 64 65 </u></p><p><b>de 14:33:04:780 [17] ThreadProcessInboundMMS: 73 63 72 69 70 74 69 6F 6E 3C 2F 62 3E 20 3C 75 scription</b> <u 14:33:04:780 [17] ThreadProcessInboundMMS: 3E 41 20 73 70 65 63 69 66 69 65 64 20 70 72 65 >A specified pre 14:33:04:780 [17] ThreadProcessInboundMMS: 63 6F 6E 64 69 74 69 6F 6E 20 68 61 73 20 66 61 condition has fa 14:33:04:780 [17] ThreadProcessInboundMMS: 69 6C 65 64 20 66 6F 72 20 74 68 69 73 20 72 65 iled for this re 14:33:04:780 [17] ThreadProcessInboundMMS: 71 75 65 73 74 20 28 52 65 71 75 65 73 74 20 72 quest (Request r 14:33:04:780 [17] ThreadProcessInboundMMS: 65 6A 65 63 74 65 64 3A 20 55 6E 72 65 63 6F 67 ejected: Unrecog 14:33:04:780 [17] ThreadProcessInboundMMS: 6E 69 7A 65 64 20 55 73 65 72 2D 41 67 65 6E 74 nized User-Agent 14:33:04:780 [17] ThreadProcessInboundMMS: 2F 55 41 50 72 6F 66 2E 29 2E 3C 2F 75 3E 3C 2F /UAProf.).</u></ 14:33:04:780 [17] ThreadProcessInboundMMS: 70 3E 3C 48 52 20 73 69 7A 65 3D 22 31 22 20 6E p><HR size="1" n 14:33:04:780 [17] ThreadProcessInboundMMS: 6F 73 68 61 64 65 3D 22 6E 6F 73 68 61 64 65 22 oshade="noshade" 14:33:04:780 [17] ThreadProcessInboundMMS: 3E 3C 68 33 3E 41 70 61 63 68 65 20 54 6F 6D 63 ><h3>Apache Tomc 14:33:04:780 [17] ThreadProcessInboundMMS: 61 74 2F 35 2E 35 2E 31 32 3C 2F 68 33 3E 3C 2F at/5.5.12</h3></ 14:33:04:780 [17] ThreadProcessInboundMMS: 62 6F 64 79 3E 3C 2F 68 74 6D 6C 3E body></html> 14:33:04:780 [17] ThreadProcessInboundMMS: mm1 - got error response 14:33:04:780 [17] ThreadProcessInboundMMS: HTTP/1.1 412 Precondition Failed Content-Length: 1112 Server: Apache-Coyote/1.1 Content-Type: text/html;charset=utf-8 Date: Tue, 18 Dec 2012 14:33:02 GMT Proxy-Connection: keep-alive <html><head><title>Apache Tomcat/5.5.12 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s ize:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s ize:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s ize:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px ;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 412 - Request rejected: Unrecognized User-Agent/UAProf.</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Request rejected: Unrecognized User-Agent/UAProf.</u></p><p><b>description</b> <u>A specified precondition has failed for this request (Request rejected: Unrecognized User-Agent/UAProf.).</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5.12</h3></body></html> 14:33:04:951 [17] ThreadProcessInboundMMS: Before WSPRasHangUp (#3) - Modem: HUAWEI Mobile Connect - 3G Modem 14:33:07:182 [17] ThreadProcessInboundMMS: After WSPRasHangUp (#3) - Modem: HUAWEI Mobile Connect - 3G Modem 14:33:07:182 [17] ThreadProcessInboundMMS: Before ModemRelease - HUAWEI Mobile Connect - 3G Modem 14:33:07:182 [17] ThreadProcessInboundMMS: After ModemRelease - HUAWEI Mobile Connect - 3G Modem 14:33:07:198 [15] ThreadProcessModem: After ModemAllocate - HUAWEI Mobile Connect - 3G Modem - OK 14:33:07:198 [15] ThreadProcessModem: Re-initializing modem: HUAWEI Mobile Connect - 3G Modem ... 14:33:07:354 [15] ThreadProcessModem: ATI0 14:33:07:354 [15] ThreadProcessModem: Manufacturer: huawei Model: E160E Revision: 11.604.21.57.00 IMEI: 358988032344339 +GCAP: +CGSM,+DS,+ES OK | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 4246 Registered: 08-2008 |
Hi Steve, That is an odd error response. I have a theory that perhaps the MMSC or gateway is expecting a user-agent or profile header. Try editing MMSC.INI and under the [MMSC] header add: HeaderUserAgent=iPhoneOS/4.2.1 (8C148) HeaderProfile=http://www.apple.com/mms/uaprof.rdf If you look at the resulting debug log, you should see this information included in the HTTP headers. If it does not resolve the issue, try moving the SIM from the modem to a phone and confirm that the phone can receive MMS using that SIM...to make sure that it is not a SIM/account provisioning issue. -- Des NowSMS Support | |||
steve New member Username: Steve4400 Post Number: 3 Registered: 12-2012 |
Hi Many thanks, this seems to have worked on our production setup. I guess that means that orange are filtering phones/devices that can connect to their network based on user agent and associated information. Just as a side note, I tried this on a trial version of your software as I didn't want to mess around with our main server. There was no mmsc.ini and adding it with the information you gave didn't seem to work... Many thanks again for helping with this. Steve |