Unauthorized to download MMS

Unauthorized to download MMS SearchSearch
Author Message
greg giannis
Posted on Thursday, November 05, 2009 - 02:03 pm:   

Hi,
Im hoping some one can help but I suspect it may be a provider issue. I have nowSMS for receiving SMS and MMS. It has worked flawlessly for years!!! The problem:
my nowSMS server is in australia using an optus sim.
I am in brazil and am able to use my mobile from australia (three network SIM) to access the internet via the Brazilian TIM network. Despite this I am not having any success sending an MMS from Brazil. the log files indicate that when nowSMS attempts to download the MMS content, it receives an unauthorised error message. Any help will be greatly appreciated.
greg
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1410
Registered: 08-2008
Posted on Thursday, November 05, 2009 - 04:31 pm:   

Hi Greg,

I don't understand enough about your configuration to have any ideas.

Is the problem with sending or receiving? Or both?

Are there two different SIMs (one in phone you are testing with, and one in the modem)? Assuming there are two different SIMs, is sending/receiving MMS ok with the phone?

Are you using the Three Australia settings with NowSMS, or did you try to change them to Brazil settings? (You need to use your home operator settings, not the roaming operator settings.)

Is it a "403 Unauthorized" error? That's an HTTP error that can occur for a variety of reasons, but frequently it's because you're connected to the wrong APN.

Explain more about whether or not you have two different SIMs ... and whether or not MMS is working ok on the phone with the Australian SIM.

--
Des
NowSMS Support
greg giannis
New member
Username: Gg23

Post Number: 2
Registered: 06-2006
Posted on Thursday, November 05, 2009 - 09:25 pm:   

hi des,
Is the problem with sending or receiving? Or both?
The problem is with sending an MMS to the nowSMS gateway. I do not need to receive in this instance.

Are there two different SIMs (one in phone you are testing with, and one in the modem)? ]
YES

Assuming there are two different SIMs, is sending/receiving MMS ok with the phone?
never had any problems, so yes.

Are you using the Three Australia settings with NowSMS, or did you try to change them to Brazil settings?
i havent changed the nowSMS settings at all, as the settings have always worked. The modem connected to nowSMS uses an optus sim card from australia.

Is it a "403 Unauthorized" error? That's an HTTP error that can occur for a variety of reasons, but frequently it's because you're connected to the wrong APN.

Im not at my pc so cant confirm its a 403.

MMS Message could not be retrieved. URL = http://172.22.72.251:8002/01?8TZEdB75G; Modem = Modem - COM4:

another thought, as network access is ok and I can send emails, could I send an email to the gateway instead of an MMS?

Thanks for your help,
greg
greg giannis
New member
Username: Gg23

Post Number: 3
Registered: 06-2006
Posted on Friday, November 06, 2009 - 01:35 am:   

its a 401 error
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1413
Registered: 08-2008
Posted on Friday, November 06, 2009 - 02:43 am:   

401 is a "not found" error. But it is likely that you're just being blocked while roaming. I'd suggest trying to make an Internet data connection with the modem or put the SIM in a phone and try to get Internet access with it. It may be that 3 has a roaming agreement there that covers data, but Optus does not.

It may also be that the modem is connecting to a different operator for roaming and there is no data accesss on that operator. Does your modem have tools for showing which operator you are connected to? Or setting preferred networks?

If not....edit SMSGW.INI and under the section header for the modem add CommandPostInit1=AT+COPS=?

This will cause NowSMS to send the command to the modem at init time and you can see results in SMSDEBUG.LOG. it will report which operator you are connected
to.

Actually I am away from my computer right now and I can't remember whether it is AT+COPS? or AT+COPS=?
greg giannis
New member
Username: Gg23

Post Number: 4
Registered: 06-2006
Posted on Friday, November 06, 2009 - 10:07 am:   

hi des,
Difficult to do many of these things given that I am in Brazil and the modem/nowSMS server is in Australia. I am looking at other solutions. My basic requirement is that I can upload a file (image, audio or video) from the mobile phone to a location on a server and update a database with the required info. As I have data connectivity, I may be able to locate a simple midlet for this purpose.
Thanks for your help
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1417
Registered: 08-2008
Posted on Sunday, November 08, 2009 - 09:10 pm:   

I guess I'm confused. It sounded like you had your NowSMS server with you in Brazil.

Am I right to assume that the errors you detail are with NowSMS in Australia? Can that server receive MMS messages ok that originate in Australia? It sound like there is a problem with either the APN or WAP gateway setting on the server that has nothing to do with roaming.

--Des
greg giannis
New member
Username: Gg23

Post Number: 5
Registered: 06-2006
Posted on Sunday, November 08, 2009 - 10:10 pm:   

yes yes if it works fine in australia, why should there be an error in the = settings? Ive had it working from Greece to about 6 months ago, thats = why i suspect the telcos
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1419
Registered: 08-2008
Posted on Monday, November 09, 2009 - 04:18 pm:   

It definitely doesn't make any sense.

If you are sending an MMS message while roaming ... when you send, the phone opens a data connection and submits the message to your home operator. And it gets delivered the same as it would be if you weren't roaming.

Theoretically, a roaming operator could intercept it and change the logic flow, but this would be a recipe for problems, with no clear benefit to the roaming operator, only problems ... too many problems for it to even be a consideration.

It looks to me like your message is getting all the way through to Optus ... based upon the URL that NowSMS is having problems downloading. And something is going wrong at Optus.

So it really doesn't look like a roaming issue to me.

I would be curious to see an SMSDEBUG.LOG and MMSWAPDEBUG.LOG from your server to see if it yields any clues. (E-mail them to nowsms@nowsms.com with "Attention: Des" in the subject line.)

Also, if you could have a friend back in Australia try sending an MMS message in to your system, that might also be useful.


--
Des
NowSMS Support
greg giannis
New member
Username: Gg23

Post Number: 6
Registered: 06-2006
Posted on Monday, November 09, 2009 - 08:40 pm:   

hi des, Attached are the files you asked for. Other tests ive done confuse me = even more:

I can send an mms to myself, ie from brasil back to brasil A local attempted to send an MMS to me, it didnt get through He also attempted to send an MMS to the gateway, same problem I cannot send an mms to him

thanks
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1421
Registered: 08-2008
Posted on Monday, November 09, 2009 - 09:32 pm:   

Hi Greg,

When did it last work?

I'm thinking that there is either:

a.) A problem with cross-operator MMS between some of the operators in Australia.

b.) A problem with the Optus MMSC that may or may not specifically relate to cross operator MMS.

c.) A configuration problem with the Optus WAP gateway or MMSC.

d.) An MMS provisioning issue on the Optus systems with regard to the SIM card in your modem.

The point that you aren't able to send an MMS to a friend back in Australia suggest that there may be a larger cross-operator MMS problem down under. (I assume your friend is subscribed to a different operator.)

Let's assume that there's not some problem between the operators, and try what's within our control.

In your "Receive MMS Settings" in NowSMS, try changing the "WAP Gateway IP Address" to "http://61.88.190.10:8070" instead of "61.88.190.10" (the "http://" prefix is required).

We did see a problem recently with a major operator where there WAP1/WSP gateway for MMS was broken for several days. The majority of MMS traffic goes through WAP2/HTTP these days. So it is worth trying this alternative gateway address.

It's also possible that Optus has made a change in their underlying MMSC.

I recall an issue with Telstra where they would only serve up MMS messages if we sent a "User-Agent:" and "Profile:" header that matched a phone that they sell. They had to provision each different mobile phone type on their MMSC. I'm not sure if this is the case, but it may be worth trying to fool the Optus MMSC into thinking that you're using a particular phone model.

I usually pick the Nokia N95 for this, as it's been available one way or another in most major markets.

Edit MMSC.INI, and under the [MMSC] header, add the following settings:

HeaderUserAgent=NokiaN95/11.0.026; Series60/3.1 Profile/MIDP-2.0 Configuration/CLDC-1.1
HeaderProfile="http://nds1.nds.nokia.com/uaprof/NN95-1r100.xml"

(I would suggest that you only use these settings when connecting to the WAP2/HTTP proxy address. There is a bug in many versions of NowSMS where longer user-agent and profile strings cause problems when going through a WAP1/WSP gateway. I'm not sure that these strings would trigger this, but let's play it safe.)

If it's still no go ... have you configured your NowSMS to send MMS messages? I'd be curious if it can send an MMS message to you, and to itself. (In fact, I see that Optus' MMS setup instructions for many mobile phones instructs users that they have to send an MMS message before they can receive them ... so having NowSMS send itself a message might be a good idea for ensuring that MMS is provisioned ok, and a test message might reset some settings on the operator side.)

SMSDEBUG.LOG and MMSWAPDEBUG.LOG files of these attempts would be useful if problems persist.

I wish I had a clearer idea of what to suggest. These types of issues are a pain to deal with when you're thousands of KM away from your server and modem.

--
Des
NowSMS Support