On Tue, 05 Nov 2002 15:59:37 +0200
Vjacheslav Chekushin <[EMAIL PROTECTED]> wrote:

> I don't know about your case, but in my case I got this error
> using new nokia 7650 in connection-less mode.
> Skipped wapbox.log part must show it. If this is the case, then
> you have to possibilites:
> 1. Recomplile kannel with force-sar flag.
> 2. Apply SAR patch (can be found on list).
> 
> Then nokia 7650 users must switch phones to connection-oriented mode.
> 
> 

Hi again Vjacheslav!

So, I applied SAR patch to kannel v1.2.1
(SAR-cumulative.patch
# From: Igor Ivoilov
# Subject: RE: WSP SAR and PDU types
# Date: Thu, 03 Oct 2002 01:36:17 -0700)
And I recompilled kannel with this patch without any problems (and without force-sar 
flag, because I did not find this flag in configure script)
I am starting kannel and having problems again after it works for 4 hours :(((

in wapbox.log:

2002-11-05 22:33:39 [1] DEBUG: WSP 2/174: New method state REQUESTING
2002-11-05 22:33:39 [1] DEBUG: WSP 2: New state CONNECTED
2002-11-05 22:33:39 [6] DEBUG: expire_cookies: No cookies in cache
2002-11-05 22:33:39 [6] DEBUG: set_cookies: No cookies in cache
2002-11-05 22:33:39 [1] DEBUG: WSP: machine 0x80dc538, state CONNECTED, event 
S-MethodInvoke.res
2002-11-05 22:33:39 [1] DEBUG: WSP: method 174, state REQUESTING, event 
S-MethodInvoke.res
2002-11-05 22:33:39 [1] DEBUG: WSP 2/174: New method state PROCESSING
2002-11-05 22:33:39 [1] DEBUG: WSP 2: New state CONNECTED
2002-11-05 22:33:39 [5] DEBUG: WTP: resp_machine 174, state INVOKE_RESP_WAIT, event 
TR-Invoke.res.
2002-11-05 22:33:39 [5] DEBUG: WTP 174: New state RESULT_WAIT
connect to HTTP PROXY
2002-11-05 22:33:39 [10] DEBUG: HTTP: Opening connection to `111.111.11.111:xxxx' 
(fd=33).
2002-11-05 22:33:39 [10] DEBUG: HTTP: Sending request:
2002-11-05 22:33:39 [10] DEBUG: Octet string at 0x80eb078:
2002-11-05 22:33:39 [10] DEBUG:   len:  933
2002-11-05 22:33:39 [10] DEBUG:   size: 934
2002-11-05 22:33:39 [10] DEBUG:   immutable: 0
2002-11-05 22:33:39 [10] DEBUG:   data: 47 45 54 20 68 74 74 70   GET http
2002-11-05 22:33:39 [10] DEBUG:   data: 3a 2f 2f 77 61 70 2e 66   ://wap.f
2002-11-05 22:33:39 [10] DEBUG:   data: 6f 72 66 6c 69 72 74 2e   orflirt.
2002-11-05 22:33:39 [10] DEBUG:   data: 72 75 2f 69 6e 64 65 78   ru/index
2002-11-05 22:33:39 [10] DEBUG:   data: 2e 77 6d 6c 3f 6f 3d 31   .wml?o=1
...
User agent:
2002-11-05 22:33:39 [10] DEBUG:   data: 0a 55 73 65 72 2d 41 67   .User-Ag
2002-11-05 22:33:39 [10] DEBUG:   data: 65 6e 74 3a 20 53 41 4d   ent: SAM
2002-11-05 22:33:39 [10] DEBUG:   data: 53 55 4e 47 2d 53 47 48   SUNG-SGH
2002-11-05 22:33:39 [10] DEBUG:   data: 2d 52 32 31 30 53 2f 31   -R210S/1
2002-11-05 22:33:39 [10] DEBUG:   data: 2e 30 20 55 50 2f 34 2e   .0 UP/4.
2002-11-05 22:33:39 [10] DEBUG:   data: 31 2e 31 39 6b 0d 0a 41   1.19k..A
2002-11-05 22:33:39 [10] DEBUG:   data: 63 63 65 70 74 2d 4c 61   ccept-La
2002-11-05 22:33:39 [10] DEBUG:   data: 6e 67 75 61 67 65 3a 20   nguage: 
2002-11-05 22:33:39 [10] DEBUG:   data: 65 6e 0d 0a 41 63 63 65   en..Acce
2002-11-05 22:33:39 [10] DEBUG:   data: 70 74 3a 20 69 6d 61 67   pt: imag
2002-11-05 22:33:39 [10] DEBUG:   data: 65 2f 76 6e 64 2e 77 61   e/vnd.wa
2002-11-05 22:33:39 [10] DEBUG:   data: 70 2e 77 62 6d 70 0d 0a   p.wbmp..
2002-11-05 22:33:39 [10] DEBUG:   data: 41 63 63 65 70 74 2d 43   Accept-C
2002-11-05 22:33:39 [10] DEBUG:   data: 68 61 72 73 65 74 3a 20   harset: 
2002-11-05 22:33:39 [10] DEBUG:   data: 75 74 66 2d 38 0d 0a 41   utf-8..A
...
Gateway:
2002-11-05 22:33:39 [10] DEBUG:   data: 0a 58 2d 57 41 50 2d 47   .X-WAP-G
2002-11-05 22:33:39 [10] DEBUG:   data: 61 74 65 77 61 79 3a 20   ateway: 
2002-11-05 22:33:39 [10] DEBUG:   data: 4b 61 6e 6e 65 6c 2f 31   Kannel/1
2002-11-05 22:33:39 [10] DEBUG:   data: 2e 32 2e 31 0d 0a 58 2d   .2.1..X-
2002-11-05 22:33:39 [10] DEBUG:   data: 57 41 50 2d 53 65 73 73   WAP-Sess
2002-11-05 22:33:39 [10] DEBUG:   data: 69 6f 6e 2d 49 44 3a 20   ion-ID: 
2002-11-05 22:33:39 [10] DEBUG:   data: 32 0d 0a 0d 0a            2....
2002-11-05 22:33:39 [10] DEBUG: Octet string dump ends.
##############!! this again :((( !!#########################
2002-11-05 22:33:39 [2] WARNING: WSP PDU with unknown type -1
2002-11-05 22:33:39 [6] DEBUG: Thread 6 (gw/wap-appl.c:main_thread) terminates.
##### :((((((((((((((((((((((((((((((( ######################
2002-11-05 22:33:39 [9] DEBUG: HTTP: Status line: <HTTP/1.0 200 OK>
...
kannel configuration:
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 9201
admin-password = admin
status-password = password
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "10.10.10.10;127.0.0.1"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
wdp-interface-name = "111.111.11.110"
box-deny-ip = "*.*.*.*"
box-allow-ip = "111.111.11.110;127.0.0.1"
unified-prefix = "928,00928,0"
access-log = "/var/log/kannel/access.log"
http-proxy-host=111.111.11.111
http-proxy-port=xxxx

my wapbox configuration:

group = wapbox
bearerbox-host = 111.111.11.110
log-file = "/var/log/kannel/wapbox.log"
force-sar = true
timer-freq = 2
map-url = "*"
log-level = 0

Where I'm wrong? 
Please, help me.

-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"

Reply via email to