Latest CVS problems with wap stack (cookie?)

David Chkhartishvili <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization MagtiCom Ltd.
Message-ID <[email protected]>
Hi List,

I've experienced problems accessing wap.sonyericsson.com using SE T68i 
(latest CVS).
While cvs snapshot of June 25 works just fine.
I think, problem is in cookie patch.
wap.sonyericsson.com uses cookie, old version did skip cookie headers 
and loads site without them.

Here is debug for wapbox:

2003-07-18 11:49:04 [2] DEBUG: WSP: machine 116cb8, state CONNECTED, 
event S-MethodResult.req
2003-07-18 11:49:04 [2] DEBUG: WSP: method 2, state PROCESSING, event 
S-MethodResult.req
2003-07-18 11:49:04 [2] DEBUG: WSP 0/2: New method state REPLYING
2003-07-18 11:49:04 [2] DEBUG: WSP 0: New state CONNECTED
2003-07-18 11:49:04 [6] DEBUG: WTP: resp_machine 2, state RESULT_WAIT, 
event TR-Result.req.
2003-07-18 11:49:04 [6] DEBUG: WTP: begin_sar_result(): data len = 181
2003-07-18 11:49:04 [6] DEBUG: WTP: dispath_to_wdp(): psn = 0
2003-07-18 11:49:04 [6] DEBUG: WTP 2: New state RESULT_RESP_WAIT
2003-07-18 11:49:05 [6] DEBUG: WTP: resp_machine 2, state 
RESULT_RESP_WAIT, event RcvAck.
2003-07-18 11:49:05 [6] DEBUG: WTP 2: New state LISTEN
2003-07-18 11:49:05 [6] DEBUG: WTP: Destroying WTPRespMachine 116b58 (2)
2003-07-18 11:49:05 [2] DEBUG: WSP: machine 116cb8, state CONNECTED, 
event TR-Result.cnf
2003-07-18 11:49:05 [2] DEBUG: WSP: method 2, state REPLYING, event 
TR-Result.cnf
2003-07-18 11:49:05 [2] DEBUG: WSP 0/2: New method state NULL_METHOD
2003-07-18 11:49:05 [2] DEBUG: Destroying WSPMethodMachine 2
2003-07-18 11:49:05 [2] DEBUG: WSP 0: New state CONNECTED
2003-07-18 11:49:19 [6] DEBUG: WTP: Created WTPRespMachine 116b58 (3)
2003-07-18 11:49:19 [6] DEBUG: WTP: resp_machine 3, state LISTEN, event 
RcvInvoke.
2003-07-18 11:49:19 [6] DEBUG: WTP 3: New state INVOKE_RESP_WAIT
2003-07-18 11:49:19 [2] DEBUG: WSP: machine 116cb8, state CONNECTED, 
event TR-Invoke.ind
2003-07-18 11:49:19 [2] DEBUG: WSP: method 3, state NULL_METHOD, event 
TR-Invoke.ind
2003-07-18 11:49:19 [2] DEBUG: WSP 0/3: New method state HOLDING
2003-07-18 11:49:19 [2] DEBUG: WSP: method 3, state HOLDING, event Release
2003-07-18 11:49:19 [2] DEBUG: WSP 0/3: New method state REQUESTING
2003-07-18 11:49:19 [2] DEBUG: WSP 0: New state CONNECTED
2003-07-18 11:49:19 [2] DEBUG: WSP: machine 116cb8, state CONNECTED, 
event S-MethodInvoke.res
2003-07-18 11:49:19 [2] DEBUG: WSP: method 3, state REQUESTING, event 
S-MethodInvoke.res
2003-07-18 11:49:19 [2] DEBUG: WSP 0/3: New method state PROCESSING
2003-07-18 11:49:19 [2] DEBUG: WSP 0: New state CONNECTED
2003-07-18 11:49:19 [6] DEBUG: WTP: resp_machine 3, state 
INVOKE_RESP_WAIT, event TR-Invoke.res.
2003-07-18 11:49:19 [6] DEBUG: WTP 3: New state RESULT_WAIT
2003-07-18 11:49:19 [11] DEBUG: HTTP: Opening connection to 
`wap.sonyericsson.com:80' (fd=33).
2003-07-18 11:49:19 [11] DEBUG: Socket connecting
2003-07-18 11:49:20 [10] DEBUG: Get info about connecting socket
2003-07-18 11:49:20 [10] DEBUG: HTTP: Sending request:
2003-07-18 11:49:20 [10] DEBUG: Octet string at 13ed88:
2003-07-18 11:49:20 [10] DEBUG:   len:  851
2003-07-18 11:49:20 [10] DEBUG:   size: 852
2003-07-18 11:49:20 [10] DEBUG:   immutable: 0
2003-07-18 11:49:20 [10] DEBUG:   data: 47 45 54 20 2f 20 48 54 54 50 2f 
31 2e 31 0d 0a   GET / HTTP/1.1..
2003-07-18 11:49:20 [10] DEBUG:   data: 48 6f 73 74 3a 20 77 61 70 2e 73 
6f 6e 79 65 72   Host: wap.sonyer
2003-07-18 11:49:20 [10] DEBUG:   data: 69 63 73 73 6f 6e 2e 63 6f 6d 0d 
0a 41 63 63 65   icsson.com..Acce
2003-07-18 11:49:20 [10] DEBUG:   data: 70 74 3a 20 61 70 70 6c 69 63 61 
74 69 6f 6e 2f   pt: application/
2003-07-18 11:49:20 [10] DEBUG:   data: 76 6e 64 2e 77 61 70 2e 77 6d 6c 
63 2c 20 61 70   vnd.wap.wmlc, ap
2003-07-18 11:49:20 [10] DEBUG:   data: 70 6c 69 63 61 74 69 6f 6e 2f 76 
6e 64 2e 77 61   plication/vnd.wa
2003-07-18 11:49:20 [10] DEBUG:   data: 70 2e 77 62 78 6d 6c 2c 20 61 70 
70 6c 69 63 61   p.wbxml, applica
2003-07-18 11:49:20 [10] DEBUG:   data: 74 69 6f 6e 2f 76 6e 64 2e 77 61 
70 2e 77 6d 6c   tion/vnd.wap.wml
2003-07-18 11:49:20 [10] DEBUG:   data: 73 63 72 69 70 74 63 2c 20 61 70 
70 6c 69 63 61   scriptc, applica
2003-07-18 11:49:20 [10] DEBUG:   data: 74 69 6f 6e 2f 78 68 74 6d 6c 2b 
78 6d 6c 2c 20   tion/xhtml+xml,
2003-07-18 11:49:20 [10] DEBUG:   data: 61 70 70 6c 69 63 61 74 69 6f 6e 
2f 76 6e 64 2e   application/vnd.
2003-07-18 11:49:20 [10] DEBUG:   data: 77 61 70 2e 78 68 74 6d 6c 2b 78 
6d 6c 2c 20 61   wap.xhtml+xml, a
2003-07-18 11:49:20 [10] DEBUG:   data: 70 70 6c 69 63 61 74 69 6f 6e 2f 
76 6e 64 2e 77   pplication/vnd.w
2003-07-18 11:49:20 [10] DEBUG:   data: 61 70 2e 6d 6d 73 2d 6d 65 73 73 
61 67 65 2c 20   ap.mms-message,
2003-07-18 11:49:20 [10] DEBUG:   data: 2a 2f 2a 2c 20 74 65 78 74 2f 76 
6e 64 2e 77 61   */*, text/vnd.wa
2003-07-18 11:49:20 [10] DEBUG:   data: 70 2e 77 6d 6c 2c 20 74 65 78 74 
2f 76 6e 64 2e   p.wml, text/vnd.
2003-07-18 11:49:20 [10] DEBUG:   data: 77 61 70 2e 77 6d 6c 73 63 72 69 
70 74 0d 0a 41   wap.wmlscript..A
2003-07-18 11:49:20 [10] DEBUG:   data: 63 63 65 70 74 2d 4c 61 6e 67 75 
61 67 65 3a 20   ccept-Language:
2003-07-18 11:49:20 [10] DEBUG:   data: 65 6e 0d 0a 41 63 63 65 70 74 2d 
43 68 61 72 73   en..Accept-Chars
2003-07-18 11:49:20 [10] DEBUG:   data: 65 74 3a 20 75 73 2d 61 73 63 69 
69 2c 20 69 73   et: us-ascii, is
2003-07-18 11:49:20 [10] DEBUG:   data: 6f 2d 38 38 35 39 2d 31 2c 20 75 
74 66 2d 38 2c   o-8859-1, utf-8,
2003-07-18 11:49:20 [10] DEBUG:   data: 20 69 73 6f 2d 31 30 36 34 36 2d 
75 63 73 2d 32    iso-10646-ucs-2
2003-07-18 11:49:20 [10] DEBUG:   data: 2c 20 49 53 4f 2d 38 38 35 39 2d 
32 2c 20 49 53   , ISO-8859-2, IS
2003-07-18 11:49:20 [10] DEBUG:   data: 4f 2d 38 38 35 39 2d 33 2c 20 49 
53 4f 2d 38 38   O-8859-3, ISO-88
2003-07-18 11:49:20 [10] DEBUG:   data: 35 39 2d 34 2c 20 49 53 4f 2d 38 
38 35 39 2d 35   59-4, ISO-8859-5
2003-07-18 11:49:20 [10] DEBUG:   data: 2c 20 49 53 4f 2d 38 38 35 39 2d 
36 2c 20 49 53   , ISO-8859-6, IS
2003-07-18 11:49:20 [10] DEBUG:   data: 4f 2d 38 38 35 39 2d 37 2c 20 49 
53 4f 2d 38 38   O-8859-7, ISO-88
2003-07-18 11:49:20 [10] DEBUG:   data: 35 39 2d 38 2c 20 49 53 4f 2d 38 
38 35 39 2d 39   59-8, ISO-8859-9
2003-07-18 11:49:20 [10] DEBUG:   data: 0d 0a 50 72 6f 66 69 6c 65 3a 20 
68 74 74 70 3a   ..Profile: http:
2003-07-18 11:49:20 [10] DEBUG:   data: 2f 2f 77 61 70 2e 73 6f 6e 79 65 
72 69 63 73 73   //wap.sonyericss
2003-07-18 11:49:20 [10] DEBUG:   data: 6f 6e 6d 6f 62 69 6c 65 2e 63 6f 
6d 2f 55 41 70   onmobile.com/UAp
2003-07-18 11:49:20 [10] DEBUG:   data: 72 6f 66 2f 54 36 38 52 32 30 31 
2e 78 6d 6c 0d   rof/T68R201.xml.
2003-07-18 11:49:20 [10] DEBUG:   data: 0a 55 73 65 72 2d 41 67 65 6e 74 
3a 20 53 6f 6e   .User-Agent: Son
2003-07-18 11:49:20 [10] DEBUG:   data: 79 45 72 69 63 73 73 6f 6e 54 36 
38 2f 52 32 30   yEricssonT68/R20
2003-07-18 11:49:20 [10] DEBUG:   data: 31 41 0d 0a 42 65 61 72 65 72 2d 
49 6e 64 69 63   1A..Bearer-Indic
2003-07-18 11:49:20 [10] DEBUG:   data: 61 74 69 6f 6e 3a 20 61 6e 79 5f 
69 70 76 34 0d   ation: any_ipv4.
2003-07-18 11:49:20 [10] DEBUG:   data: 0a 41 63 63 65 70 74 2d 41 70 70 
6c 69 63 61 74   .Accept-Applicat
2003-07-18 11:49:20 [10] DEBUG:   data: 69 6f 6e 3a 20 70 75 73 68 2e 73 
69 61 2c 20 77   ion: push.sia, w
2003-07-18 11:49:20 [10] DEBUG:   data: 6d 6c 2e 75 61 2c 20 6d 6d 73 2e 
75 61 0d 0a 58   ml.ua, mms.ua..X
2003-07-18 11:49:20 [10] DEBUG:   data: 2d 57 41 50 2d 4e 65 74 77 6f 72 
6b 2d 43 6c 69   -WAP-Network-Cli
2003-07-18 11:49:20 [10] DEBUG:   data: 65 6e 74 2d 49 50 3a 20 38 31 2e 
39 35 2e 31 36   ent-IP: 81.95.16
2003-07-18 11:49:20 [10] DEBUG:   data: 30 2e 31 37 34 0d 0a 58 2d 57 41 
50 2d 43 6c 69   0.174..X-WAP-Cli
2003-07-18 11:49:20 [10] DEBUG:   data: 65 6e 74 2d 53 44 55 2d 53 69 7a 
65 3a 20 33 30   ent-SDU-Size: 30
2003-07-18 11:49:20 [10] DEBUG:   data: 30 30 0d 0a 56 69 61 3a 20 57 41 
50 2f 31 2e 31   00..Via: WAP/1.1
2003-07-18 11:49:20 [10] DEBUG:   data: 20 6d 61 69 6c 2e 73 6d 73 2e 6d 
61 67 74 69 67    mail.sms.magtig
2003-07-18 11:49:20 [10] DEBUG:   data: 73 6d 2e 67 65 20 28 4b 61 6e 6e 
65 6c 2f 63 76   sm.ge (Kannel/cv
2003-07-18 11:49:20 [10] DEBUG:   data: 73 2d 32 30 30 33 30 37 31 38 29 
0d 0a 58 2d 57   s-20030718)..X-W
2003-07-18 11:49:20 [10] DEBUG:   data: 41 50 2d 47 61 74 65 77 61 79 3a 
20 4b 61 6e 6e   AP-Gateway: Kann
2003-07-18 11:49:20 [10] DEBUG:   data: 65 6c 2f 63 76 73 2d 32 30 30 33 
30 37 31 38 0d   el/cvs-20030718.
2003-07-18 11:49:20 [10] DEBUG:   data: 0a 58 2d 57 41 50 2d 53 65 73 73 
69 6f 6e 2d 49   .X-WAP-Session-I
2003-07-18 11:49:20 [10] DEBUG:   data: 44 3a 20 30 0d 0a 58 2d 57 41 50 
2d 4e 65 74 77   D: 0..X-WAP-Netw
2003-07-18 11:49:20 [10] DEBUG:   data: 6f 72 6b 2d 43 6c 69 65 6e 74 2d 
4d 53 49 53 44   ork-Client-MSISD
2003-07-18 11:49:20 [10] DEBUG:   data: 4e 3a 20 2b 39 39 35 39 39 31 38 
32 34 31 38 0d   N: +***********.
2003-07-18 11:49:20 [10] DEBUG:   data: 0a 0d 
0a                                          ...
2003-07-18 11:49:20 [10] DEBUG: Octet string dump ends.
2003-07-18 11:49:20 [10] DEBUG: HTTP: Status line: <HTTP/1.1 301 Moved 
Permanently>
2003-07-18 11:49:20 [10] DEBUG: HTTP: Received response:
2003-07-18 11:49:20 [10] DEBUG: Octet string at 13ede8:
2003-07-18 11:49:20 [10] DEBUG:   len:  529
2003-07-18 11:49:20 [10] DEBUG:   size: 530
2003-07-18 11:49:20 [10] DEBUG:   immutable: 0
2003-07-18 11:49:20 [10] DEBUG:   data: 44 61 74 65 3a 20 46 72 69 2c 20 
31 38 20 4a 75   Date: Fri, 18 Ju
2003-07-18 11:49:20 [10] DEBUG:   data: 6c 20 32 30 30 33 20 30 37 3a 34 
39 3a 30 34 20   l 2003 07:49:04
2003-07-18 11:49:20 [10] DEBUG:   data: 47 4d 54 0d 0a 53 65 72 76 65 72 
3a 20 41 70 61   GMT..Server: Apa
2003-07-18 11:49:20 [10] DEBUG:   data: 63 68 65 2f 31 2e 33 2e 32 36 20 
28 55 6e 69 78   che/1.3.26 (Unix
2003-07-18 11:49:20 [10] DEBUG:   data: 29 20 6d 6f 64 5f 73 73 6c 2f 32 
2e 38 2e 31 30   ) mod_ssl/2.8.10
2003-07-18 11:49:20 [10] DEBUG:   data: 20 4f 70 65 6e 53 53 4c 2f 30 2e 
39 2e 36 61 0d    OpenSSL/0.9.6a.
2003-07-18 11:49:20 [10] DEBUG:   data: 0a 4c 6f 63 61 74 69 6f 6e 3a 20 
68 74 74 70 3a   .Location: http:
2003-07-18 11:49:20 [10] DEBUG:   data: 2f 2f 77 77 77 2e 73 6f 6e 79 65 
72 69 63 73 73   //www.sonyericss
2003-07-18 11:49:20 [10] DEBUG:   data: 6f 6e 2e 63 6f 6d 2f 66 75 6e 2f 
0d 0a 54 72 61   on.com/fun/..Tra
2003-07-18 11:49:20 [10] DEBUG:   data: 6e 73 66 65 72 2d 45 6e 63 6f 64 
69 6e 67 3a 20   nsfer-Encoding:
2003-07-18 11:49:20 [10] DEBUG:   data: 63 68 75 6e 6b 65 64 0d 0a 43 6f 
6e 74 65 6e 74   chunked..Content
2003-07-18 11:49:20 [10] DEBUG:   data: 2d 54 79 70 65 3a 20 74 65 78 74 
2f 68 74 6d 6c   -Type: text/html
2003-07-18 11:49:20 [10] DEBUG:   data: 3b 20 63 68 61 72 73 65 74 3d 69 
73 6f 2d 38 38   ; charset=iso-88
2003-07-18 11:49:20 [10] DEBUG:   data: 35 39 2d 31 0d 0a 0d 0a 3c 21 44 
4f 43 54 59 50   59-1....<!DOCTYP
2003-07-18 11:49:20 [10] DEBUG:   data: 45 20 48 54 4d 4c 20 50 55 42 4c 
49 43 20 22 2d   E HTML PUBLIC "-
2003-07-18 11:49:20 [10] DEBUG:   data: 2f 2f 49 45 54 46 2f 2f 44 54 44 
20 48 54 4d 4c   //IETF//DTD HTML
2003-07-18 11:49:20 [10] DEBUG:   data: 20 32 2e 30 2f 2f 45 4e 22 3e 0a 
3c 48 54 4d 4c    2.0//EN">.<HTML
2003-07-18 11:49:20 [10] DEBUG:   data: 3e 3c 48 45 41 44 3e 0a 3c 54 49 
54 4c 45 3e 33   ><HEAD>.<TITLE>3
2003-07-18 11:49:20 [10] DEBUG:   data: 30 31 20 4d 6f 76 65 64 20 50 65 
72 6d 61 6e 65   01 Moved Permane
2003-07-18 11:49:20 [10] DEBUG:   data: 6e 74 6c 79 3c 2f 54 49 54 4c 45 
3e 0a 3c 2f 48   ntly</TITLE>.</H
2003-07-18 11:49:20 [10] DEBUG:   data: 45 41 44 3e 3c 42 4f 44 59 3e 0a 
3c 48 31 3e 4d   EAD><BODY>.<H1>M
2003-07-18 11:49:20 [10] DEBUG:   data: 6f 76 65 64 20 50 65 72 6d 61 6e 
65 6e 74 6c 79   oved Permanently
2003-07-18 11:49:20 [10] DEBUG:   data: 3c 2f 48 31 3e 0a 54 68 65 20 64 
6f 63 75 6d 65   </H1>.The docume
2003-07-18 11:49:20 [10] DEBUG:   data: 6e 74 20 68 61 73 20 6d 6f 76 65 
64 20 3c 41 20   nt has moved <A
2003-07-18 11:49:20 [10] DEBUG:   data: 48 52 45 46 3d 22 68 74 74 70 3a 
2f 2f 77 77 77   HREF="http://www
2003-07-18 11:49:20 [10] DEBUG:   data: 2e 73 6f 6e 79 65 72 69 63 73 73 
6f 6e 2e 63 6f   .sonyericsson.co
2003-07-18 11:49:20 [10] DEBUG:   data: 6d 2f 66 75 6e 2f 22 3e 68 65 72 
65 3c 2f 41 3e   m/fun/">here</A>
2003-07-18 11:49:20 [10] DEBUG:   data: 2e 3c 50 3e 0a 3c 48 52 3e 0a 3c 
41 44 44 52 45   .<P>.<HR>.<ADDRE
2003-07-18 11:49:20 [10] DEBUG:   data: 53 53 3e 41 70 61 63 68 65 2f 31 
2e 33 2e 32 36   SS>Apache/1.3.26
2003-07-18 11:49:20 [10] DEBUG:   data: 20 53 65 72 76 65 72 20 61 74 20 
77 61 70 2e 73    Server at wap.s
2003-07-18 11:49:20 [10] DEBUG:   data: 6f 6e 79 65 72 69 63 73 73 6f 6e 
2e 63 6f 6d 20   onyericsson.com
2003-07-18 11:49:20 [10] DEBUG:   data: 50 6f 72 74 20 38 30 3c 2f 41 44 
44 52 45 53 53   Port 80</ADDRESS
2003-07-18 11:49:20 [10] DEBUG:   data: 3e 0a 3c 2f 42 4f 44 59 3e 3c 2f 
48 54 4d 4c 3e   >.</BODY></HTML>
2003-07-18 11:49:20 [10] DEBUG:   data: 
0a                                                .
2003-07-18 11:49:20 [10] DEBUG: Octet string dump ends.
2003-07-18 11:49:20 [8] WARNING: WSP: Content type <text/html> not 
supported by client, deleting body.
2003-07-18 11:49:20 [8] WARNING: WSP: content-type text/plain not supported
2003-07-18 11:49:20 [2] DEBUG: WSP: machine 116cb8, state CONNECTED, 
event S-MethodResult.req
2003-07-18 11:49:20 [2] DEBUG: WSP: method 3, state PROCESSING, event 
S-MethodResult.req
2003-07-18 11:49:20 [6] DEBUG: WTP: resp_machine 3, state RESULT_WAIT, 
event TR-Result.req.
2003-07-18 11:49:20 [6] DEBUG: WTP: begin_sar_result(): data len = 98
2003-07-18 11:49:20 [6] DEBUG: WTP: dispath_to_wdp(): psn = 0
2003-07-18 11:49:20 [6] DEBUG: WTP 3: New state RESULT_RESP_WAIT
2003-07-18 11:49:20 [2] DEBUG: WSP 0/3: New method state REPLYING
2003-07-18 11:49:20 [2] DEBUG: WSP 0: New state CONNECTED
2003-07-18 11:49:21 [6] DEBUG: WTP: resp_machine 3, state 
RESULT_RESP_WAIT, event RcvAck.
2003-07-18 11:49:21 [6] DEBUG: WTP 3: New state LISTEN
2003-07-18 11:49:21 [6] DEBUG: WTP: Destroying WTPRespMachine 116b58 (3)
2003-07-18 11:49:21 [2] DEBUG: WSP: machine 116cb8, state CONNECTED, 
event TR-Result.cnf
2003-07-18 11:49:21 [2] DEBUG: WSP: method 3, state REPLYING, event 
TR-Result.cnf
2003-07-18 11:49:21 [2] DEBUG: WSP 0/3: New method state NULL_METHOD
2003-07-18 11:49:21 [2] DEBUG: Destroying WSPMethodMachine 3
2003-07-18 11:49:21 [2] DEBUG: WSP 0: New state CONNECTED

-- 
David Chkhartishvili
Tel: 995 99 182418
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.