I couldn't succesfuly send my MM7 Submit.req onto NowMMSC

I couldn't succesfuly send my MM7 Submit.req onto NowMMSC SearchSearch
Author Message
Ernez Catovic
New member
Username: Ernez

Post Number: 2
Registered: 07-2006
Posted on Monday, July 10, 2006 - 03:12 pm:   

Dear Support,

After sending my MM7 Submit.Req message to NowMMSC i get the folowing message/warning in MMSCDEBUG.LOG: "Received 1946 bytes - incomplete HTTP request". Also the request processing took y preat long time (about 5 minutes).
I gess this means that my request was not properly processed, so I am sking you to help me with your advice.

I have also put my whole log into attachment of this message.

regards,

Ernez
text/plainMMSCDEBUG.LOG
MMSCDEBUGLOG.txt (2.3 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6176
Registered: 10-2002
Posted on Tuesday, July 11, 2006 - 06:30 pm:   

Hi Ernez,

Your "Content-Length:" header indicates that 2061 bytes follow the HTTP header.

Yet in the debug log, NowSMS is reporting that it only received 1946 bytes, including the HTTP header.

Because you specified "Content-Length: 2061", NowSMS expects 2061 bytes of content to follow the HTTP header.

Therefore, your HTTP request is incomplete, because the 2061 bytes were NOT received.

-bn
Ernez Catovic
New member
Username: Ernez

Post Number: 3
Registered: 07-2006
Posted on Wednesday, July 12, 2006 - 07:44 am:   

Hi Bryce,

thank you very much for help. Actually, meanwhile, I aleady solved the problem reagrding to message "HTTP request incomplete" by inserting proper value of atribute Content-Length, as it was explined in previous postings.

But unfortenately after this, I got the message in log "Unknown request: content type is unknown" and till now I have not managed to solve this problem.

In the attachment of the message I am sending you MMSCDEBUGLOG and MM7 Submit.Req message I tried to receive on NowMMSC.

I would be very grateful to get any advice for soving this problem...

Regards,

Ernez.
text/plain
Sample1.txt (1.6 k)
text/plain
MMSCDEBUGLOG2.txt (13.2 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6185
Registered: 10-2002
Posted on Wednesday, July 12, 2006 - 04:07 pm:   

Hi Ernez,

Your HTTP POST is formatted incorrectly. Basically, NowSMS can't figure out the URI to which you are POSTing.

This is the start of your POST request:

POST 127.0.0.1:15111/mm7/admin=admin HTTP/1.1
Host: 127.0.0.1

This is how it should be formatted:

POST /mm7/admin=admin HTTP/1.1
Host: 127.0.0.1:15111

(The "Host:" header is not important to NowSMS, but it can be very important to other web servers.)

Or, if you were posting via a proxy, you would use the following format:

POST http://127.0.0.1:15111/mm7/admin=admin HTTP/1.1

-bn
Ernez Catovic
New member
Username: Ernez

Post Number: 4
Registered: 07-2006
Posted on Thursday, July 13, 2006 - 06:52 am:   

Hi Bryce,

the MM7 message receiving is workong now! Thanks a lot for your patience and help!

Best regards!

Ernez.