Re: Fw: Re: Assertion failed in PPG
Aarno Syvänen <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
What machine are you using and what is your configuration file ? Aarno On Friday, May 23, 2003, at 03:49 PM, Yury Mikhienko wrote: > And what I should to do? > >> Exactly same as mine. >> >>> my SL.xml: >>> <?xml version="1.0"?> >>> <!DOCTYPE sl PUBLIC "-//WAPFORUM//DTD SL 1.0//EN" >>> "http://www.wapforum.org/DTD/sl.dtd"> >>> <sl href="http://wap.mobicomk.ru/mobicomk" >>> action="execute-high"> >>> </sl> >>> >>>> I still cannot reproduce (with MacOS X and PowerPC). What was your >>>> sl content ? >>>> >>>> Aarno >>>> >>>> On Wednesday, May 21, 2003, at 05:28 PM, Yury Mikhienko wrote: >>>> >>>>> I use the following call syntax: >>>>> ./test_ppg -c sl >>>>> "http://10.10.5.11:8080/cgi-bin/wap- >>>>> push.cgi?username=ppgu&password=bar" "SL.xml" "PAP.xml" >>>>> my PAP.xml: >>>>> <?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="2003-05-20T00:00:00Z" >>>>> deliver-after-timestamp="2003-05-10T00:00:00Z" >>>>> progress-notes-requested="true"> >>>>> >>>>> <address >>>>> >>>>> address-value="WAPPUSH=+79282010199/[email protected]"> >>>>> </address> >>>>> >>>>> <quality-of-service >>>>> priority="low" >>>>> delivery-method="unconfirmed" >>>>> network-required="true" >>>>> network="GSM" >>>>> bearer-required="true" >>>>> bearer="SMS"/> >>>>> >>>>> </push-message> >>>>> </pap> >>>>> >>>>>> What was your command line ? >>>>>> >>>>>> Aarno >>>>>> >>>>>> On Wednesday, May 21, 2003, at 03:06 PM, Yury Mikhienko wrote: >>>>>> >>>>>>> Yes. >>>>>>> >>>>>>>> How did you send sl. With test_ppg ? >>>>>>>> >>>>>>>> Aarno >>>>>>>> >>>>>>>> On Tuesday, May 20, 2003, at 01:22 PM, Yury Mikhienko wrote: >>>>>>>> >>>>>>>>> >>>>>>>>> I have the some problem (if try send the SL message), and get >>>>>>>>> the >>>>>>>>> following assertion: >>>>>>>>> ************************************* >>>>>>>>> 2003-05-14 11:34:50 [14] PANIC: gwlib/octstr.c:2146: >>>>>>>>> seems_valid_real: >>>>>>>>> Assertion `ostr->data[ostr->len] == '\0'' failed. (Called from >>>>>>>>> gwlib/octstr.c:247:octstr_destroy.) >>>>>>>>> ************************************ >>>>>>>>> I use the latest cvs version of kannel on SunOS. >>>>>>>>> >>>>>>>>>> Hi, all. >>>>>>>>>> I don't know is it problem in PPG or something else but if I >>>>>>>>>> try >>>>>>>>>> to >>>>>>>>>> send >>>>>>>>>> push from not allowed ip, I get assertion failed and wapbox >>>>>>>>>> restarted. >>>>>>>>>> >>>>>>>>>> Wapbox log file: >>>>>>>>>> 2003-05-20 13:14:02 [11] DEBUG: HTTP: Creating HTTPClient for >>>>>>>>>> `10.20.8.13'. >>>>>>>>>> 2003-05-20 13:14:02 [14] WARNING: did not found ip from any of >>>>>>>>>> core >>>>>>>>>> lists, deny it >>>>>>>>>> 2003-05-20 13:14:02 [14] ERROR: Request >>>>>>>>>> </cgi-bin/wap-push.cgi> >>>>>>>>>> from >>>>>>>>>> <10.20.8.13>: ip forbidden, closing the client >>>>>>>>>> 2003-05-20 13:14:02 [14] DEBUG: HTTP: Destroying HTTPClient >>>>>>>>>> area >>>>>>>>>> 0x8154308. >>>>>>>>>> 2003-05-20 13:14:02 [14] DEBUG: HTTP: Destroying HTTPClient >>>>>>>>>> for >>>>>>>>>> `10.20.8.13'. >>>>>>>>>> 2003-05-20 13:14:02 [14] PANIC: gwlib/octstr.c:2138: >>>>>>>>>> seems_valid_real: Assertion >>>>>>>>>> `ostr->len + 1 <= ostr->size' failed. (Called from >>>>>>>>>> gwlib/octstr.c:247:octstr_destroy.) >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> From configuration file: >>>>>>>>>> >>>>>>>>>> group = ppg >>>>>>>>>> ppg-url = /cgi-bin/wap-push.cgi >>>>>>>>>> ppg-port = 8091 >>>>>>>>>> concurrent-pushes = 100 >>>>>>>>>> # ignore all security restrictions; only for test!!! >>>>>>>>>> trusted-pi = false >>>>>>>>>> users = 1024 >>>>>>>>>> global-sender = xxxxxxx >>>>>>>>>> ppg-allow-ip = 127.0.0.1;10.30.40.6;10.10.253.4 >>>>>>>>>> #ssl-server-cert-file = >>>>>>>>>> "/home/aarno/kannelcvs/gateway/gw/cert.pem" >>>>>>>>>> #ssl-server-key-file = >>>>>>>>>> "/home/aarno/kannelcvs/gateway/gw/key.pem" >>>>>>>>>> #ppg-port-ssl = no >>>>>>>>>> default-smsc = cimd2 >>>>>>>>>> >>>>>>>>>> # PPG USER SETUP, for authorizing a specific push user >>>>>>>>>> >>>>>>>>>> group = wap-push-user >>>>>>>>>> wap-push-user = xxxxxx >>>>>>>>>> ppg-username = xxxxxx >>>>>>>>>> ppg-password = xxxxxx >>>>>>>>>> #allowed-prefix = 40;60;70 >>>>>>>>>> #denied-prefix = 50 >>>>>>>>>> #white-list = http://localhost:8082/whitelist >>>>>>>>>> #black-list = http://localhost:8082/blacklist >>>>>>>>>> allow-ip = 127.0.0.1;10.30.40.6;10.10.253.4 >>>>>>>>>> deny-ip = 194.100.32.82 >>>>>>>>>> default-smsc = cimd2 >>>>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> Best regards, >>>>>>> Yury Mikhienko. >>>>>>> IT engineer, ZAO "Mobicom-Kavkaz" >>>>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> Best regards, >>>>> Yury Mikhienko. >>>>> IT engineer, ZAO "Mobicom-Kavkaz" >>>>> >>> >>> >>> -- >>> >>> Best regards, >>> Yury Mikhienko. >>> IT engineer, ZAO "Mobicom-Kavkaz" >>> > > > -- > > Best regards, > Yury Mikhienko. > IT engineer, ZAO "Mobicom-Kavkaz" >