Are using a phone or a simulator for confirmed push ?

Aarno

On Monday, February 10, 2003, at 10:05 AM, sunil baburaoji wrote:

Hi users,

I am facing problem in confirmed push data. Did anybody tried this
before ? If so please tell me the solution for this. Warning is coming
like

PPG: handle_push_message: wrong app id for confirmed push session
creation

What application id i need to give in pap.xml ????
I had attached wapbox and test_ppg program output. Please reply at
the earliest.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~
~~~~~~~~~~~~~
test_ppg output:

sunilb@heman:~/gateway-1.3.0/test> ./test_ppg -q
"http://localhost:8080/wappush?username=foo&password=bar"; si.xml pap.xml
2003-02-10 14:31:55 [0] INFO: an input without a configuration file
assumed
2003-02-10 14:31:55 [0] DEBUG: using si.xml as a content file
2003-02-10 14:31:55 [0] DEBUG: using pap.xml as a control file
2003-02-10 14:31:55 [0] DEBUG: Started thread 1
(test/test_ppg.c:push_thread)
2003-02-10 14:31:55 [1] DEBUG: TEST_PPG: starting to push job 0
2003-02-10 14:31:55 [1] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2003-02-10 14:31:55 [1] DEBUG: Started thread 3
(gwlib/http.c:write_request_thread)
2003-02-10 14:31:55 [1] DEBUG: push done
2003-02-10 14:32:15 [3] DEBUG: HTTP: Opening connection to
`localhost:8080' (fd=13).
2003-02-10 14:32:15 [3] DEBUG: Socket connecting
2003-02-10 14:32:15 [2] DEBUG: Get info about connecting socket
2003-02-10 14:32:15 [2] DEBUG: HTTP: Sending request:
2003-02-10 14:32:15 [2] DEBUG: Octet string at 0x80efe40:
2003-02-10 14:32:15 [2] DEBUG: len: 1246
2003-02-10 14:32:15 [2] DEBUG: size: 1247
2003-02-10 14:32:15 [2] DEBUG: immutable: 0
2003-02-10 14:32:15 [2] DEBUG: data: 50 4f 53 54 20 2f 77 61 POST
/wa
2003-02-10 14:32:15 [2] DEBUG: data: 70 70 75 73 68 3f 75 73
ppush?us
2003-02-10 14:32:15 [2] DEBUG: data: 65 72 6e 61 6d 65 3d 66
ername=f
2003-02-10 14:32:15 [2] DEBUG: data: 6f 6f 26 70 61 73 73 77
oo&passw
2003-02-10 14:32:15 [2] DEBUG: data: 6f 72 64 3d 62 61 72 20 ord=bar
2003-02-10 14:32:15 [2] DEBUG: data: 48 54 54 50 2f 31 2e 31
HTTP/1.1
2003-02-10 14:32:15 [2] DEBUG: data: 0d 0a 48 6f 73 74 3a 20 ..Host:
2003-02-10 14:32:15 [2] DEBUG: data: 6c 6f 63 61 6c 68 6f 73
localhos
2003-02-10 14:32:15 [2] DEBUG: data: 74 3a 38 30 38 30 0d 0a
t:8080..
2003-02-10 14:32:15 [2] DEBUG: data: 43 6f 6e 74 65 6e 74 2d
Content-
2003-02-10 14:32:15 [2] DEBUG: data: 54 79 70 65 3a 20 6d 75 Type:
mu
2003-02-10 14:32:15 [2] DEBUG: data: 6c 74 69 70 61 72 74 2f
ltipart/
2003-02-10 14:32:15 [2] DEBUG: data: 72 65 6c 61 74 65 64 3b
related;
2003-02-10 14:32:15 [2] DEBUG: data: 20 62 6f 75 6e 64 61 72
boundar
2003-02-10 14:32:15 [2] DEBUG: data: 79 3d 61 73 64 6c 66 6b
y=asdlfk
2003-02-10 14:32:15 [2] DEBUG: data: 6a 69 75 72 77 67 68 61
jiurwgha
2003-02-10 14:32:15 [2] DEBUG: data: 73 66 3b 20 74 79 70 65 sf;
type
2003-02-10 14:32:15 [2] DEBUG: data: 3d 22 61 70 70 6c 69 63
="applic
2003-02-10 14:32:15 [2] DEBUG: data: 61 74 69 6f 6e 2f 78 6d
ation/xm
2003-02-10 14:32:15 [2] DEBUG: data: 6c 22 0d 0a 58 2d 57 41
l"..X-WA
2003-02-10 14:32:15 [2] DEBUG: data: 50 2d 41 70 70 6c 69 63
P-Applic
2003-02-10 14:32:15 [2] DEBUG: data: 61 74 69 6f 6e 2d 49 64
ation-Id
2003-02-10 14:32:15 [2] DEBUG: data: 3a 20 68 74 74 70 3a 2f :
http:/
2003-02-10 14:32:15 [2] DEBUG: data: 2f 77 77 77 2e 77 69 72
/www.wir
2003-02-10 14:32:15 [2] DEBUG: data: 61 6c 2e 63 6f 6d 3a 77
al.com:w
2003-02-10 14:32:15 [2] DEBUG: data: 6d 6c 2e 75 61 0d 0a 43
ml.ua..C
2003-02-10 14:32:15 [2] DEBUG: data: 6f 6e 74 65 6e 74 2d 4c
ontent-L
2003-02-10 14:32:15 [2] DEBUG: data: 65 6e 67 74 68 3a 20 31 ength:
1
2003-02-10 14:32:15 [2] DEBUG: data: 30 31 35 0d 0a 0d 0a 0d
015.....
2003-02-10 14:32:15 [2] DEBUG: data: 0a 2d 2d 61 73 64 6c 66
.--asdlf
2003-02-10 14:32:15 [2] DEBUG: data: 6b 6a 69 75 72 77 67 68
kjiurwgh
2003-02-10 14:32:15 [2] DEBUG: data: 61 73 66 0d 0a 43 6f 6e
asf..Con
2003-02-10 14:32:15 [2] DEBUG: data: 74 65 6e 74 2d 54 79 70
tent-Typ
2003-02-10 14:32:15 [2] DEBUG: data: 65 3a 20 61 70 70 6c 69 e:
appli
2003-02-10 14:32:15 [2] DEBUG: data: 63 61 74 69 6f 6e 2f 78
cation/x
2003-02-10 14:32:15 [2] DEBUG: data: 6d 6c 0d 0a 3c 3f 78 6d
ml..<?xm
2003-02-10 14:32:15 [2] DEBUG: data: 6c 20 76 65 72 73 69 6f l
versio
2003-02-10 14:32:15 [2] DEBUG: data: 6e 3d 22 31 2e 30 22 3f
n="1.0"?
2003-02-10 14:32:15 [2] DEBUG: data: 3e 0a 3c 21 44 4f 43 54
.<!DOCT
2003-02-10 14:32:15 [2] DEBUG: data: 59 50 45 20 70 61 70 20 YPE pap
2003-02-10 14:32:15 [2] DEBUG: data: 50 55 42 4c 49 43 20 22 PUBLIC
"
2003-02-10 14:32:15 [2] DEBUG: data: 2d 2f 2f 57 41 50 46 4f
-//WAPFO
2003-02-10 14:32:15 [2] DEBUG: data: 52 55 4d 2f 2f 44 54 44
RUM//DTD
2003-02-10 14:32:15 [2] DEBUG: data: 20 50 41 50 2f 2f 45 4e
PAP//EN
2003-02-10 14:32:15 [2] DEBUG: data: 22 0a 09 22 68 74 74 70
".."http
2003-02-10 14:32:15 [2] DEBUG: data: 3a 2f 2f 77 77 77 2e 77
://www.w
2003-02-10 14:32:15 [2] DEBUG: data: 61 70 66 6f 72 75 6d 2e
apforum.
2003-02-10 14:32:15 [2] DEBUG: data: 6f 72 67 2f 44 54 44 2f
org/DTD/
2003-02-10 14:32:15 [2] DEBUG: data: 70 61 70 5f 31 2e 30 2e
pap_1.0.
2003-02-10 14:32:15 [2] DEBUG: data: 64 74 64 22 3e 0a 0a 3c
dtd">..<
2003-02-10 14:32:15 [2] DEBUG: data: 70 61 70 3e 0a 20 20 3c pap>.
<
2003-02-10 14:32:15 [2] DEBUG: data: 70 75 73 68 2d 6d 65 73
push-mes
2003-02-10 14:32:15 [2] DEBUG: data: 73 61 67 65 20 0a 09 70 sage
..p
2003-02-10 14:32:15 [2] DEBUG: data: 75 73 68 2d 69 64 3d 22
ush-id="
2003-02-10 14:32:15 [2] DEBUG: data: 39 66 6a 65 6f 33 39 6a
9fjeo39j
2003-02-10 14:32:15 [2] DEBUG: data: 66 30 38 34 40 70 69 2e
f084@pi.
2003-02-10 14:32:15 [2] DEBUG: data: 63 6f 6d 22 0a 09 64 65
com"..de
2003-02-10 14:32:15 [2] DEBUG: data: 6c 69 76 65 72 2d 62 65
liver-be
2003-02-10 14:32:15 [2] DEBUG: data: 66 6f 72 65 2d 74 69 6d
fore-tim
2003-02-10 14:32:15 [2] DEBUG: data: 65 73 74 61 6d 70 3d 22
estamp="
2003-02-10 14:32:15 [2] DEBUG: data: 32 30 30 33 2d 30 34 2d
2003-04-
2003-02-10 14:32:15 [2] DEBUG: data: 30 34 54 30 36 3a 34 35
04T06:45
2003-02-10 14:32:15 [2] DEBUG: data: 3a 30 30 5a 22 20 0a 09 :00Z"
..
2003-02-10 14:32:15 [2] DEBUG: data: 64 65 6c 69 76 65 72 2d
deliver-
2003-02-10 14:32:15 [2] DEBUG: data: 61 66 74 65 72 2d 74 69
after-ti
2003-02-10 14:32:15 [2] DEBUG: data: 6d 65 73 74 61 6d 70 3d
mestamp=
2003-02-10 14:32:15 [2] DEBUG: data: 22 32 30 30 30 2d 30 32
"2000-02
2003-02-10 14:32:15 [2] DEBUG: data: 2d 32 37 54 30 36 3a 34
-27T06:4
2003-02-10 14:32:15 [2] DEBUG: data: 35 3a 30 30 5a 22 20 0a 5:00Z"
.
2003-02-10 14:32:15 [2] DEBUG: data: 09 70 72 6f 67 72 65 73
.progres
2003-02-10 14:32:15 [2] DEBUG: data: 73 2d 6e 6f 74 65 73 2d
s-notes-
2003-02-10 14:32:15 [2] DEBUG: data: 72 65 71 75 65 73 74 65
requeste
2003-02-10 14:32:15 [2] DEBUG: data: 64 3d 22 66 61 6c 73 65
d="false
2003-02-10 14:32:15 [2] DEBUG: data: 22 0a 09 3e 0a 0a 09 3c
"..>...<
2003-02-10 14:32:15 [2] DEBUG: data: 61 64 64 72 65 73 73 20 address
2003-02-10 14:32:15 [2] DEBUG: data: 0a 09 09 61 64 64 72 65
...addre
2003-02-10 14:32:15 [2] DEBUG: data: 73 73 2d 76 61 6c 75 65
ss-value
2003-02-10 14:32:15 [2] DEBUG: data: 3d 22 57 41 50 50 55 53
="WAPPUS
2003-02-10 14:32:15 [2] DEBUG: data: 48 3d 31 39 32 2e 31 36
H=192.16
2003-02-10 14:32:15 [2] DEBUG: data: 38 2e 31 2e 31 39 2f 54
8.1.19/T
2003-02-10 14:32:15 [2] DEBUG: data: 59 50 45 3d 49 50 76 34
YPE=IPv4
2003-02-10 14:32:15 [2] DEBUG: data: 40 70 70 67 2e 63 61 72
@ppg.car
2003-02-10 14:32:15 [2] DEBUG: data: 72 69 65 72 2e 63 6f 6d
rier.com
2003-02-10 14:32:15 [2] DEBUG: data: 22 0a 09 09 3e 0a 09 3c
"...>..<
2003-02-10 14:32:15 [2] DEBUG: data: 2f 61 64 64 72 65 73 73
/address
2003-02-10 14:32:15 [2] DEBUG: data: 3e 0a 0a 09 3c 71 75 61
...<qua
2003-02-10 14:32:15 [2] DEBUG:   data: 6c 69 74 79 2d 6f 66 2d
lity-of-
2003-02-10 14:32:15 [2] DEBUG:   data: 73 65 72 76 69 63 65 0a
service.
2003-02-10 14:32:15 [2] DEBUG:   data: 09 09 70 72 69 6f 72 69
..priori
2003-02-10 14:32:15 [2] DEBUG:   data: 74 79 3d 22 6c 6f 77 22
ty="low"
2003-02-10 14:32:15 [2] DEBUG:   data: 0a 09 09 64 65 6c 69 76
...deliv
2003-02-10 14:32:15 [2] DEBUG:   data: 65 72 79 2d 6d 65 74 68
ery-meth
2003-02-10 14:32:15 [2] DEBUG:   data: 6f 64 3d 22 63 6f 6e 66
od="conf
2003-02-10 14:32:15 [2] DEBUG:   data: 69 72 6d 65 64 22 0a 09
irmed"..
2003-02-10 14:32:15 [2] DEBUG:   data: 09 6e 65 74 77 6f 72 6b
.network
2003-02-10 14:32:15 [2] DEBUG:   data: 2d 72 65 71 75 69 72 65
-require
2003-02-10 14:32:15 [2] DEBUG:   data: 64 3d 22 66 61 6c 73 65
d="false
2003-02-10 14:32:15 [2] DEBUG:   data: 22 0a 09 09 62 65 61 72
"...bear
2003-02-10 14:32:15 [2] DEBUG:   data: 65 72 2d 72 65 71 75 69
er-requi
2003-02-10 14:32:15 [2] DEBUG:   data: 72 65 64 3d 22 66 61 6c
red="fal
2003-02-10 14:32:15 [2] DEBUG:   data: 73 65 22 0a 09 09 3e 0a
se"...>.
2003-02-10 14:32:15 [2] DEBUG:   data: 09 3c 2f 71 75 61 6c 69
.</quali
2003-02-10 14:32:15 [2] DEBUG:   data: 74 79 2d 6f 66 2d 73 65
ty-of-se
2003-02-10 14:32:15 [2] DEBUG:   data: 72 76 69 63 65 3e 0a 0a
rvice>..
2003-02-10 14:32:15 [2] DEBUG:   data: 20 20 3c 2f 70 75 73 68
</push
2003-02-10 14:32:15 [2] DEBUG:   data: 2d 6d 65 73 73 61 67 65
-message
2003-02-10 14:32:15 [2] DEBUG:   data: 3e 0a 3c 2f 70 61 70 3e
.</pap>
2003-02-10 14:32:15 [2] DEBUG: data: 0a 0d 0a 2d 2d 61 73 64
...--asd
2003-02-10 14:32:15 [2] DEBUG: data: 6c 66 6b 6a 69 75 72 77
lfkjiurw
2003-02-10 14:32:15 [2] DEBUG: data: 67 68 61 73 66 0d 0a 43
ghasf..C
2003-02-10 14:32:15 [2] DEBUG: data: 6f 6e 74 65 6e 74 2d 54
ontent-T
2003-02-10 14:32:15 [2] DEBUG: data: 79 70 65 3a 20 74 65 78 ype:
tex
2003-02-10 14:32:15 [2] DEBUG: data: 74 2f 76 6e 64 2e 77 61
t/vnd.wa
2003-02-10 14:32:15 [2] DEBUG: data: 70 2e 73 69 0d 0a 3c 3f
p.si..<?
2003-02-10 14:32:15 [2] DEBUG: data: 78 6d 6c 20 76 65 72 73 xml
vers
2003-02-10 14:32:15 [2] DEBUG: data: 69 6f 6e 3d 22 31 2e 30
ion="1.0
2003-02-10 14:32:15 [2] DEBUG: data: 22 3f 3e 0a 3c 21 44 4f
"?>.<!DO
2003-02-10 14:32:15 [2] DEBUG: data: 43 54 59 50 45 20 73 69 CTYPE
si
2003-02-10 14:32:15 [2] DEBUG: data: 20 50 55 42 4c 49 43 20 PUBLIC
2003-02-10 14:32:15 [2] DEBUG: data: 22 2d 2f 2f 57 41 50 46
"-//WAPF
2003-02-10 14:32:15 [2] DEBUG: data: 4f 52 55 4d 2f 2f 44 54
ORUM//DT
2003-02-10 14:32:15 [2] DEBUG: data: 44 20 53 49 20 31 2e 30 D SI
1.0
2003-02-10 14:32:15 [2] DEBUG: data: 2f 2f 45 4e 22 0a 09 22
//EN".."
2003-02-10 14:32:15 [2] DEBUG: data: 68 74 74 70 3a 2f 2f 77
http://w
2003-02-10 14:32:15 [2] DEBUG: data: 77 77 2e 77 61 70 66 6f
ww.wapfo
2003-02-10 14:32:15 [2] DEBUG: data: 72 75 6d 2e 6f 72 67 2f
rum.org/
2003-02-10 14:32:15 [2] DEBUG: data: 44 54 44 2f 73 69 2e 64
DTD/si.d
2003-02-10 14:32:15 [2] DEBUG: data: 74 64 22 3e 0a 20 0a 3c td">.
.<
2003-02-10 14:32:15 [2] DEBUG: data: 73 69 3e 20 0a 20 3c 69 si> .
<i
2003-02-10 14:32:15 [2] DEBUG: data: 6e 64 69 63 61 74 69 6f
ndicatio
2003-02-10 14:32:15 [2] DEBUG: data: 6e 20 0a 09 61 63 74 69 n
..acti
2003-02-10 14:32:15 [2] DEBUG: data: 6f 6e 3d 22 73 69 67 6e
on="sign
2003-02-10 14:32:15 [2] DEBUG: data: 61 6c 2d 68 69 67 68 22
al-high"
2003-02-10 14:32:15 [2] DEBUG: data: 0a 09 68 72 65 66 3d 22
..href="
2003-02-10 14:32:15 [2] DEBUG: data: 68 74 74 70 3a 2f 2f 77
http://w
2003-02-10 14:32:15 [2] DEBUG: data: 77 77 2e 61 79 67 2e 63
ww.ayg.c
2003-02-10 14:32:15 [2] DEBUG: data: 6f 6d 22 0a 09 63 72 65
om"..cre
2003-02-10 14:32:15 [2] DEBUG: data: 61 74 65 64 3d 22 32 30
ated="20
2003-02-10 14:32:15 [2] DEBUG: data: 30 32 2d 30 35 2d 30 31
02-05-01
2003-02-10 14:32:15 [2] DEBUG: data: 54 31 32 3a 30 30 3a 30
T12:00:0
2003-02-10 14:32:15 [2] DEBUG: data: 30 5a 22 0a 09 73 69 2d
0Z"..si-
2003-02-10 14:32:15 [2] DEBUG: data: 65 78 70 69 72 65 73 3d
expires=
2003-02-10 14:32:15 [2] DEBUG: data: 22 32 30 30 33 2d 30 35
"2003-05
2003-02-10 14:32:15 [2] DEBUG: data: 2d 30 32 54 31 32 3a 30
-02T12:0
2003-02-10 14:32:15 [2] DEBUG: data: 30 3a 30 30 5a 22 0a 09
0:00Z"..
2003-02-10 14:32:15 [2] DEBUG: data: 3e 0a 09 0a 09 54 68 69
....Thi
2003-02-10 14:32:15 [2] DEBUG: data: 73 20 6d 65 73 73 61 67 s
messag
2003-02-10 14:32:15 [2] DEBUG: data: 65 20 69 73 20 63 72 65 e is
cre
2003-02-10 14:32:15 [2] DEBUG: data: 61 74 65 64 20 62 79 20 ated by
2003-02-10 14:32:15 [2] DEBUG: data: 73 75 6e 69 6c 2e 0a 20 sunil..
2003-02-10 14:32:15 [2] DEBUG: data: 0a 20 3c 2f 69 6e 64 69 .
</indi
2003-02-10 14:32:15 [2] DEBUG: data: 63 61 74 69 6f 6e 3e 0a
cation>.
2003-02-10 14:32:15 [2] DEBUG: data: 3c 2f 73 69 3e 0a 0d 0a
</si>...
2003-02-10 14:32:15 [2] DEBUG: data: 2d 2d 61 73 64 6c 66 6b
--asdlfk
2003-02-10 14:32:15 [2] DEBUG: data: 6a 69 75 72 77 67 68 61
jiurwgha
2003-02-10 14:32:15 [2] DEBUG: data: 73 66 2d 2d 0d 0a sf--..
2003-02-10 14:32:15 [2] DEBUG: Octet string dump ends.
2003-02-10 14:32:15 [2] DEBUG: HTTP: Status line: <HTTP/1.1 202 Foo>
2003-02-10 14:32:15 [1] DEBUG: TEST_PPG: push 0 done: reply from,
http://localhost:8080/wappush?username=foo&password=bar
2003-02-10 14:32:15 [1] DEBUG: PAP COMPILER: doing semantic analysis for
address type unknown address
2003-02-10 14:32:15 [1] DEBUG: using defaults instead of anys
2003-02-10 14:32:15 [1] DEBUG: TEST_PPG: and type push response
2003-02-10 14:32:15 [1] INFO: TEST_PPG: In thread 1 1 succeeded, 0
failed
2003-02-10 14:32:15 [1] DEBUG: Thread 1 (test/test_ppg.c:push_thread)
terminates.
2003-02-10 14:32:15 [0] INFO: TEST_PPG: 1 requests in 20.000000 seconds,
0.050000 requests per second
2003-02-10 14:32:15 [0] DEBUG: Waiting for 3
(gwlib/http.c:write_request_thread) to terminate
2003-02-10 14:32:15 [3] DEBUG: Thread 3
(gwlib/http.c:write_request_thread) terminates.
2003-02-10 14:32:15 [2] DEBUG: Thread 2 (gwlib/fdset.c:poller)
terminates.
2003-02-10 14:32:15 [0] DEBUG: Immutable octet strings: 41.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~
~~~~~~~~~~~~~
wapbox output:

2003-02-10 14:32:15 [14] INFO: PPG: Accept request </wappush> from
<127.0.0.1>
2003-02-10 14:32:15 [14] DEBUG: PPG: http_read_thread: pap multipart
accepted
2003-02-10 14:32:15 [14] INFO: client address was <192.168.1.19>,
accepted
2003-02-10 14:32:15 [14] DEBUG: PAP COMPILER: doing semantic analysis
for address type a IPv4 address
2003-02-10 14:32:15 [14] DEBUG: PAP COMPILER: network or bearer missing,
reverting to GSM+CSD
2003-02-10 14:32:15 [14] INFO: reverting to default bearer and network
2003-02-10 14:32:15 [14] DEBUG: PPG: http_read_thread: pap control
entity compiled ok
2003-02-10 14:32:15 [14] DEBUG: PPG: transform_message: push message
content and headers valid
2003-02-10 14:32:15 [14] DEBUG: PPG: push machine 2 created
2003-02-10 14:32:15 [14] DEBUG: PPG: store_push_data: push machine 2
appended to push list of sm machine 0
2003-02-10 14:32:15 [14] DEBUG: PPG: send_push_response: telling pi
2003-02-10 14:32:15 [14] DEBUG: HTTP: Resetting HTTPClient for
`127.0.0.1'.
2003-02-10 14:32:15 [14] INFO: PPG: handle_push_message: push message
accepted for processing
2003-02-10 14:32:15 [14] WARNING: PPG: handle_push_message: wrong app id
for confirmed push session creation
2003-02-10 14:32:15 [14] DEBUG: PPG: send_push_response: telling pi
2003-02-10 14:32:15 [10] DEBUG: HTTP: Destroying HTTPClient area
0x813c148.
2003-02-10 14:32:15 [10] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~
~~~~~~~~~~~~~

Rgds
sunil


Reply via email to