Hello, I encountered a strange problem with kannel 1.2.0 that existed in cvs version too. After a while, kannel stops answering wap requests and fetching wml documents after it works ok for some time, although it is running and sees them (wapbox.log seems to contain the same warnings and info lines as when it functions normally). The kannel is configured with --enable-cookies.
Here is my kannel.conf: group = core admin-port = 13000 wapbox-port = 13002 admin-password = bar wdp-interface-name = "*" log-file = "/var/log/kannel/kannel.log" log-level = 1 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" access-log = "/var/log/kannel/access.log" group = wapbox bearerbox-host = localhost log-file = "/var/log/kannel/wapbox.log" log-level = 1 syslog-level = none smart-errors = true access-log = "/var/log/kannel/wapaccess.log" Here is excerpt from wapaccess.log: 2002-10-01 12:00:28 <http://wap.mtt.ru/cgi-bin/m_infcity.cgi?default_city=2,3> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:01:06 <http://wap.mtt.ru/cgi-bin/menu.cgi?parent_id=3> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:01:15 <http://wap.mtt.ru/cgi-bin/go.cgi?id=3&parent_id=38&url=http://wap.rbc.ru/val.wml> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:01:17 <http://wap.rbc.ru/val.wml> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:01:29 <http://wap.rbc.ru/valuta/valuta.wml> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:01:59 <http://wap.mtt.ru/cgi-bin/menu.cgi?parent_id=4> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:02:04 <http://wap.mtt.ru/cgi-bin/menu.cgi?parent_id=4> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:02:15 <http://wap.mtt.ru/cgi-bin/go.cgi?id=4&parent_id=104&url=http://immo.ru/wap/games.wml*x*op=4> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:02:16 <http://immo.ru/wap/games.wml?op=4> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:02:19 <http://immo.ru/wap/sdurak/games.wbmp> (image/vnd.wap.wbmp, charset='') 200 2002-10-01 12:02:44 <http://wap.mtt.ru/cgi-bin/go.cgi?id=4&parent_id=124&url=http://immo.ru/cgi/kama.cgi*x*op=4> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:02:44 <http://wap.mtt.ru/cgi-bin/menu.cgi?parent_id=6> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:02:46 <http://immo.ru/cgi/kama.cgi?op=4> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:02:49 <http://immo.ru/wap/cgi_img/kamasutra4.wbmp> (image/vnd.wap.wbmp, charset='') 200 2002-10-01 12:02:50 <http://immo.ru/wap/cgi_img/razdelk.wbmp> (image/vnd.wap.wbmp, charset='') 200 2002-10-01 12:03:05 <http://wap.mtt.ru/cgi-bin/go.cgi?id=6&parent_id=57&url=http://wap.smarts-gsm.ru> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:03:08 <http://wap.smarts-gsm.ru/> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:03:11 <http://wap.smarts-gsm.ru/smarts.wbmp> (image/vnd.wap.wbmp, charset='') 200 2002-10-01 12:03:15 <http://immo.ru/cgi/kama.cgi?p=s&op=4> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:03:20 <http://wap.smarts-gsm.ru/index.php?p=33&00000> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:03:35 <http://immo.ru/cgi/kama.cgi?p=l&op=4> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:03:48 <http://wap.smarts-gsm.ru/index.php?p=31&00000> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:04:13 <http://wap.mtt.ru/img/wlogo.wbmp> (image/vnd.wap.wbmp, charset='') 200 2002-10-01 12:04:21 <http://wap.mtt.ru/cgi-bin/go.cgi?id=6&parent_id=53&url=http://wap.beeline.ru> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:04:23 <http://wap.beeline.ru/> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:04:26 <http://wap.beeline.ru/beeline_logo2.wbmp> (image/vnd.wap.wbmp, charset='') 200 2002-10-01 12:04:29 <http://wap.beeline.ru/rus.wml> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:04:30 <http://wap.mtt.ru/cgi-bin/menu.cgi?parent_id=99> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:04:37 <http://wap.mtt.ru/cgi-bin/go.cgi?id=99&parent_id=100&url=http://waptest.ru> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:04:39 <http://waptest.ru/> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:04:41 <http://waptest.ru/images/psy.wbmp> (image/vnd.wap.wbmp, charset='') 200 2002-10-01 12:04:42 <http://wp.beeonline.ru/rus/rest/index.wml> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:04:43 <http://www.nevru.com/wap/cgi-bin/counter.dll?id=45&t=3> (image/vnd.wap.wbmp, charset='') 200 2002-10-01 12:04:44 <http://waptest.ru/vote.wml> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:04:55 <http://wp.beeonline.ru/rus/rest/index.wml?lID=8> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:04:58 <http://wap.uraltel.ru/wap> (text/html, charset='') 302 2002-10-01 12:04:59 <http://wap.uraltel.ru/wap/> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:05:03 <http://wap.uraltel.ru/wap/logo.wbmp> (text/html, charset='') 406 2002-10-01 12:05:09 <http://www.nevru.com/wap/cgi-bin/counter.dll?id=45&t=3> (image/vnd.wap.wbmp, charset='') 200 2002-10-01 12:05:15 <http://www.nevru.com/wap/cgi-bin/counter.dll?id=45&t=3> (image/vnd.wap.wbmp, charset='') 200 2002-10-01 12:05:32 <http://wap.mtt.ru/cgi-bin/menu.cgi?parent_id=9> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:05:43 <http://wap.mtt.ru/cgi-bin/menu.cgi?parent_id=8> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:05:55 <http://immo.ru/wap/blackjack/index.wml?op=4&rand=1644136140> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:05:58 <http://immo.ru/wap/blackjack/bjack.wbmp> (image/vnd.wap.wbmp, charset='') 200 2002-10-01 12:06:11 <http://immo.ru/wap/anogr/index.wml?op=4&rand=406763821> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:06:13 <http://wap.mtt.ru/cgi-bin/go.cgi?id=8&parent_id=73&url=http://wap.yandex.ru> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:06:13 <http://immo.ru/wap/anogr/index.wbmp> (image/vnd.wap.wbmp, charset='') 200 2002-10-01 12:06:15 <http://immo.ru/wap/anogr/razdel.wbmp> (image/vnd.wap.wbmp, charset='') 200 2002-10-01 12:06:15 <http://wap.yandex.ru/> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:06:18 <http://city.ya.ru/yandex-bw.wbmp> (image/vnd.wap.wbmp, charset='') 200 2002-10-01 12:06:19 <http://city.ya.ru/menu.xwml> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:06:26 <http://city.ya.ru/yandex-bw.wbmp> (image/vnd.wap.wbmp, charset='') 200 2002-10-01 12:06:31 <http://immo.ru/wap/sdurak/index.wml?op=4&rand=281981526> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:06:34 <http://immo.ru/wap/sdurak/sdurak.wbmp> (image/vnd.wap.wbmp, charset='') 200 2002-10-01 12:06:46 <http://city.ya.ru/arc.xwml> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:06:54 <http://immo.ru/wap/sdurak/pravila.wml?op=4&rand=156160893> (text/vnd.wap.wml, charset='') 200 2002-10-01 12:06:57 <http://immo.ru/wap/sdurak/rules.wbmp> (image/vnd.wap.wbmp, charset='') 200 2002-10-01 12:06:58 <http://immo.ru/wap/sdurak/razdel.wbmp> (image/vnd.wap.wbmp, charset='') 200 *** nothing after this line till restart *** wapbox.log: 2002-10-01 12:00:25 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:01:54 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:01:54 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:01:55 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:04:23 [10] ERROR: Error reading from fd 38: 2002-10-01 12:04:23 [10] ERROR: System error 104: Connection reset by peer 2002-10-01 12:04:42 [1] ERROR: WSP: Do not know how to encode header type 65 2002-10-01 12:04:42 [1] WARNING: Skipping header: Set-Cookie: JSESSIONID=aaa-ZMPZgEMLk6; Path=/ 2002-10-01 12:04:44 [7] ERROR: WML compiler: syntax error in variable; name starting with . 2002-10-01 12:04:58 [7] WARNING: WSP: Content type <text/html> not supported by client, deleting body. 2002-10-01 12:05:03 [7] WARNING: WSP: Content type <text/html> not supported by client, deleting body. 2002-10-01 12:07:07 [2] WARNING: WSP PDU with unknown type -1 2002-10-01 12:07:10 [2] WARNING: WSP PDU with unknown type -1 2002-10-01 12:07:13 [2] WARNING: WSP PDU with unknown type -1 2002-10-01 12:07:19 [2] WARNING: WSP PDU with unknown type -1 2002-10-01 12:07:32 [2] WARNING: WSP PDU with unknown type -1 2002-10-01 12:13:40 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:14:09 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:14:14 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:14:14 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:14:14 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:14:39 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:14:39 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:14:40 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:14:49 [5] INFO: WTP_TID: tid_new flag on 2002-10-01 12:14:49 [5] INFO: WTP_TID: tid_new flag on 2002-10-01 12:15:11 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:15:11 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:15:12 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:15:19 [5] ERROR: WTP_RESP: resp_machine_find_or_create: WSP primitive to a wrong WTP machine 2002-10-01 12:15:19 [1] WARNING: No method machine for event. 2002-10-01 12:15:20 [5] INFO: WTP_RESP: resp_machine_find_or_create: abort received, yet having no machine 2002-10-01 12:15:41 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:15:41 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:15:42 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:15:55 [5] INFO: WTP_TID: tid_new flag on 2002-10-01 12:15:55 [5] INFO: WTP_TID: tid_new flag on 2002-10-01 12:16:12 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:16:37 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:17:11 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:17:40 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:18:01 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:18:10 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:18:10 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:18:11 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:18:34 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:19:05 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:19:35 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:19:35 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:19:36 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:20:06 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:20:06 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:20:07 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:20:40 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:21:09 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:21:09 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:21:10 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:21:40 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:22:23 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:22:53 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:22:53 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:22:54 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:23:24 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:24:07 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:24:37 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:24:37 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:24:38 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:25:07 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:26:07 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:26:07 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:26:08 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:26:38 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:26:38 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:26:39 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:27:09 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:27:47 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:27:47 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:27:48 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:28:12 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:28:12 [5] INFO: WTP_TID: tid out of the window 2002-10-01 12:28:13 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:28:45 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:29:15 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:29:44 [2] WARNING: WSP PDU with unknown type -1 2002-10-01 12:29:47 [2] WARNING: WSP PDU with unknown type -1 2002-10-01 12:29:51 [2] WARNING: WSP PDU with unknown type -1 2002-10-01 12:29:51 [1] INFO: Returning to code page 1 (default). 2002-10-01 12:29:57 [2] WARNING: WSP PDU with unknown type -1 -- Igor Khristophorov System Administrator Multiregional Transit Telecom
