Hello,
I'm using kannel-1.0.3 and I'm doing some tests with WinWap-3.0 emulator
on an other host on my LAN.
I launch one bearerbox and one wapbox
gw/bearerbox gw/wapkannel.conf &
gw/wapbox gw/wapkannel.conf &
I try to connect to URL: http://wap.ugc.fr and it doesn't work:
Here are messages I caught:
1970-01-01 00:04:27 [9] DEBUG: HTTP: Creating a new client socket
<wap.ugc.fr:80>.
1970-01-01 00:04:26 [6] DEBUG: Started thread 9
(gw/wap-appl.c:fetch_thread)
1970-01-01 00:04:27 [9] DEBUG: HTTP: Sending request:
1970-01-01 00:04:27 [9] DEBUG: Octet string at 0x21e58c8:
1970-01-01 00:04:27 [9] DEBUG: len: 826
1970-01-01 00:04:27 [9] DEBUG: size: 827
1970-01-01 00:04:27 [9] DEBUG: immutable: 0
1970-01-01 00:04:27 [9] DEBUG: data: 47 45 54......
...data.....
1970-01-01 00:10:06 [9] DEBUG: Octet string dump ends.
1970-01-01 00:10:06 [9] INFO: WSP: Fetched <http://wap.ugc.fr/>
(text/vnd.wap.w)1970-01-01 00:10:06 [9] INFO: Client <127.0.0.1> closed
connection
Next, following lines repeat to infinity:
1970-01-01 00:10:06 [10] DEBUG: Thread 10 (gw/bb_boxc.c:boxc_sender)
terminates.1970-01-01 00:10:06 [9] DEBUG: Thread 9
(gw/bb_boxc.c:function) terminates.
1970-01-01 00:10:09 [4] DEBUG: datagram received
1970-01-01 00:10:09 [6] DEBUG: Old wapbox has disappeared, re-routing
and wapbox process has been killed. (bearerbox is still running.)
If I try with fakewap...
gw/bearerbox gw/wapkannel.conf &
gw/wapbox gw/wapkannel.conf &
test/fakewap -v 1 "http://wap.ugc.fr"
...I get exactly the same errors!
But if I do this fakewap test just after startup and before doing test
with WinWap, it works!
I don't understand why wapbox process has been killed and why fakewap
doesn't work after that.
Does anyone know what happens?
Regards,
PGO