No auth for user

No auth for user SearchSearch
Author Message
Paulo Vitor Sato
New member
Username: Seele_nuk3

Post Number: 1
Registered: 10-2009
Posted on Friday, October 02, 2009 - 02:12 pm:   

Hi,
I'm using NowSMS with an Anritsu(cdma2000) and when i try to send a MMS from a phone to now sms i get this message from the log:
...,+1111111111,,USER NOT DEFINED,FAILED
with the debug log u can see that the phone had send the post /%2b1111111111= to NowSMS
application/octet-streamMMSCDEBUG.LOG
MMSCDEBUG.LOG (62.0 k)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1319
Registered: 08-2008
Posted on Friday, October 02, 2009 - 04:19 pm:   

Hi Paulo,

It looks like there is a password associated with that "MMSC Users" account.

That password needs to be appended to the URL after the "=".

--
Des
NowSMS Support
Paulo Vitor Sato
New member
Username: Seele_nuk3

Post Number: 2
Registered: 10-2009
Posted on Friday, October 02, 2009 - 05:27 pm:   

Hi,
i tried that, and no luck...
i set the user password for 123 and send it trough http post
this is the debug information
application/octet-streamMMSCDEBUG.LOG
MMSCDEBUG.LOG (62.0 k)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1324
Registered: 08-2008
Posted on Friday, October 02, 2009 - 05:58 pm:   

Something strange that I see in the log is this:


quote:

got alias 1111111111 for +1111111111




I'm not sure if "1111111111" or "+1111111111" is defined in the "MMSC Users" list. Delete any accounts that reference these numbers (if it is one account delete it, if it is two accounts, delete them both).

Now add an account for "+1111111111", and leave the alias field blank to avoid confusion.

I'm still not exactly sure what is occurring, but hopefully deleting and recreating the accounts will resolve any issues.

--
Des
NowSMS Support
Paulo Vitor Sato
New member
Username: Seele_nuk3

Post Number: 3
Registered: 10-2009
Posted on Friday, October 02, 2009 - 06:22 pm:   

Hi,
I tried and no luck
here is the LOG and the configuration of my MMSC user
application/octet-streamMMSCDEBUG.LOG
MMSCDEBUG.LOG (61.9 k)

MMSCUSER.JPG
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1326
Registered: 08-2008
Posted on Friday, October 02, 2009 - 07:29 pm:   

Hi Paulo,

I see what the problem is, there is a "Proxy-Authorization:" header in the request, and this is taking precedence over the URL parameters.

This authorization header is sending the following credentials:

username=1111111111
password=1111111111

I'm a little confused about why we would be receiving that header, as it should be stripped by a proxy server, if you're using one. If you're not using a proxy server, this header shouldn't be present.

In either case, either remove the settings in the phone that are causing this header to be generated, or change the password of the user account to match the one in the settings.

--
Des
NowSMS Support