Hi,
i´ve been trying to send wap push messages, but it
seems that i´m missing something in my configuration, i allready have working
the Wap Gateway and the SMS gateway, and teh PPG seems to be up ok. Right know
i´m kust using the test_ppg command to verify that the PPG is working fine, but
i´m getting this error..
If you have any hints, i will really appreciate
it..
Mauricio.
005-02-23 15:53:44 [2] DEBUG: data: 61
73 66 2d 2d 0d 0a asf--..
2005-02-23 15:53:44 [2] DEBUG: Octet string dump ends. 2005-02-23 15:53:44 [2] DEBUG: HTTP: Status line: <HTTP/1.1 202 Foo> 2005-02-23 15:53:44 [1] DEBUG: TEST_PPG: push 0 done: reply from, http://192.168.32.20:8080/wappush?username=foo&password=bar 2005-02-23 15:53:44 [1] DEBUG: PAP COMPILER: doing semantic analysis for address type unknown address 2005-02-23 15:53:44 [1] DEBUG: using defaults instead of anys 2005-02-23 15:53:44 [1] DEBUG: TEST_PPG: and type bad message response 2005-02-23 15:53:44 [1] INFO: TEST_PPG: In thread 1 1 succeeded, 0 failed 2005-02-23 15:53:44 [1] DEBUG: Thread 1 (test/test_ppg.c:push_thread) terminates. 2005-02-23 15:53:44 [0] INFO: TEST_PPG: 1 requests in 0.000000 seconds, inf requests per second 2005-02-23 15:53:44 [0] DEBUG: Waiting for 3 (gwlib/http.c:write_request_thread) to terminate 2005-02-23 15:53:44 [3] DEBUG: Thread 3 (gwlib/http.c:write_request_thread) terminates. 2005-02-23 15:53:44 [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) terminates. this is what i get in the wapbox
log..
2005-02-23 15:53:30 [0] DEBUG: HTTP: Opening server
at port 8080.
2005-02-23 15:53:30 [0] DEBUG: Started thread 10 (gwlib/fdset.c:poller) 2005-02-23 15:53:30 [0] DEBUG: Started thread 11 (gwlib/http.c:server_thread) 2005-02-23 15:53:30 [0] DEBUG: Started thread 12 (gw/wap_push_ppg.c:ota_read_thread) 2005-02-23 15:53:30 [0] DEBUG: Started thread 13 (gw/wap_push_ppg.c:http_read_thread) 2005-02-23 15:53:30 [0] DEBUG: Started thread 14 (gw/wap_push_ppg.c:pap_request_thread) 2005-02-23 15:53:31 [0] INFO: Connected to bearerbox at localhost port 9201. 2005-02-23 15:53:31 [0] DEBUG: Started thread 15 (gw/heartbeat.c:heartbeat_thread) 2005-02-23 15:53:44 [11] DEBUG: HTTP: Creating HTTPClient for `192.168.32.20'. 2005-02-23 15:53:44 [14] INFO: PPG: Accept request </wappush> from <192.168.32.20> 2005-02-23 15:53:44 [14] DEBUG: PPG: http_read_thread: pap multipart accepted 2005-02-23 15:53:44 [14] INFO: client address was <+571585****>, accepted 2005-02-23 15:53:44 [14] WARNING: no such network 2005-02-23 15:53:44 [14] DEBUG: PPG: send_bad_message_response: telling pi 2005-02-23 15:53:44 [14] DEBUG: HTTP: Resetting HTTPClient for `192.168.32.20'. 2005-02-23 15:53:44 [14] WARNING: PPG: pap control entity erroneous, the request unacceptable 2005-02-23 15:53:44 [10] DEBUG: HTTP: Destroying HTTPClient area 0x8117ee0. 2005-02-23 15:53:44 [10] DEBUG: HTTP: Destroying HTTPClient for `192.168.32.20'. and this is my configuration..
# PPG CORE SETUP, for defining the push request
interface
group = ppg
ppg-url = "">ppg-port = 8080 #ppg-ssl-port = 8081 concurrent-pushes = 100 trusted-pi = true users = 1024 #ppg-deny-ip = "*.*.*.*" ppg-allow-ip = "*.*.*.*" #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" # PPG USER SETUP, for authorizing a specific push
user
group = wap-push-user
wap-push-user = foo ppg-username = foo ppg-password = bar country-prefix = +571 #allowed-prefix = "40;60;70" #denied-prefix = 50 #white-list = http://localhost:8082/whitelist #black-list = http://localhost:8082/blacklist #deny-ip = "*.*.*.*" allow-ip = "*.*.*.*" and the files i´m sending..
<?xml version="1.0"?>
<!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN" "http://www.wapforum.org/DTD/si.dtd"> <si> <indication href=""http://wap.iobox.fi">http://wap.iobox.fi" si-id="[EMAIL PROTECTED]" action="" created="2004-06-25T15:23:15Z" si-expires="2006-06-30T00:00:00Z"> Want to test a fetch? </indication> </si> <?xml version="1.0"?>
<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP//EN" "http://www.wapforum.org/DTD/pap_1.0.dtd"> <pap> <push-message push-id="[EMAIL PROTECTED]" deliver-before-timestamp="2005-02-23T16:45:38Z" deliver-after-timestamp="2005-02-16T15:29:51Z" progress-notes-requested="false"> <address address-value="WAPPUSH=+571585****/[EMAIL PROTECTED]"/> </address> <quality-of-service priority="low" delivery-method="confirmed" network="" network-required="false" bearer="SMS" bearer-required="true"/> </push-message> </pap> |
- Wap PUSH Problem Mauricio Reyes
- Re: Wap PUSH Problem Aarno Syvänen
- Re: Wap PUSH Problem Mauricio Reyes