Andrea Viscovich wrote: > > smsbox problem. > I receive an sms (about one every 20 minutes, not so often). > sometimes happens that the url doesn't give any response, as it goes in > timeout. > I obviusly had set a 4000 second timeout, but don't know why it keeps going > in timeout randomly. > By the way, the proble is that smsbox closes connectio when he does not > receive any response. > Is there a way to not close connection?
this depends on the HTTP/1.1 protocol I guess. I'm not aware how it's defined there, and I to busy to look for it, but I may assume that Keep-Alive connections to the HTTP server are used to be dropped if a class 500 reply is received. But, I think you mean more the issue that smsbox drops connection to bearerbox?! At least I assume this because of your log I see here. This means you *are* getting a reply. You are getting a class 500 HTTP reply, which means something with your dynamical goodies (cgi, php, servlet or whatever) on your HTTP server is broken for the request. And smsbox *should not* terminate on a valid class 500 HTTP reply code. > 2002-02-18 20:11:40 [7] DEBUG: HTTP: Status line: <HTTP/1.1 500 Internal > Server Error> > 2002-02-18 20:11:40 [5] ERROR: Start marker was damaged for area 0x10024cf8 > 2002-02-18 20:11:40 [5] ERROR: Could not find area information. > 2002-02-18 20:11:40 [5] PANIC: gwlib/octstr.c:2034: seems_valid_real: > Assertion `gw_check_is_allocated(ostr)' failed. (Called from > gw/smsbox.c:698:url_result_thread.) Can anyone from the list confirm that Kannel's smsbox is *always* getting this assertion panic if it gets a HTTP 500 reply? If yes, then we have a bug here. Stipe [EMAIL PROTECTED] ------------------------------------------------------------------- Wapme Systems AG Münsterstr. 248 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [EMAIL PROTECTED] Internet: http://www.wapme-systems.de ------------------------------------------------------------------- wapme.net - wherever you are