Finally got it working ... "\n" was giving issue.... Thanks woo and others too...
On 6/2/10, Krthekeyan Suriyanarayanan <[email protected]> wrote: > One thing I notice is there is a "\n" appeneded to it , could tht > cause an issue . ? not sure .. > > On 6/2/10, Krthekeyan Suriyanarayanan <[email protected]> wrote: >> Thanks woo , >> >> Appreciate your support in getting this working for me . >> >> HTTP/1.1 200 OK >> Date: Wed, 02 Jun 2010 12:33:09 GMT >> Server: Apache-Coyote/1.1 >> Content-Type: text/plain >> Set-Cookie: JSESSIONID=C81CC14BDCBDC28913D2780DCC614871; Path=/i4dweb >> Transfer-Encoding: chunked >> >> "NbJaRepwos2VChFRqkwfG-KZRPawCkH-D1TBfUIZWQ_4MSBlZCswgUQnPo75oNDvloPP77j29RTO4nC5nFZiq0ogqcVZavwIybLPvrATY3Z-ZqA1xwR-bDlFUP5Ij3oZ\n >> " >> >> >> above is is the response which i get when i hurl.it >> >> this is the query . >> http://i4dweb.provesio.com/i4dweb/authhubs.screen?hub.verify_token=krthekeyan&hub.challenge=NbJaRepwos2VChFRqkwfG-KZRPawCkH-D1TBfUIZWQ_4MSBlZCswgUQnPo75oNDvloPP77j29RTO4nC5nFZiq0ogqcVZavwIybLPvrATY3Z-ZqA1xwR-bDlFUP5Ij3oZ&hub.topic=http%3A%2F%2Ffeeds.feedburner.com%2Ffeedburnerstatus%3Fformat%3Dxml&hub.mode=subscribe&hub.lease_seconds=300 >> >> Regards, >> >> >> >> On 6/2/10, Juvenn Woo <[email protected]> wrote: >>> Ok. `grep 409` in the hub source, confirms me, that hub fails to >>> verify your subscriptions. >>> >>> There cases that might cause it: >>> >>> * your callback can not be reached by appengine. Try hurl.it to >>> simulate a verify request to your callback, and show us the response, >>> include headers. >>> >>> * your callback can be reached, but your challenge code does not >>> match. Again try in hurl.it, and check the response. >>> >>> I'm trying to help :) >>> >>> On 6/2/10, Krthekeyan Suriyanarayanan <[email protected]> wrote: >>>> i am basically working with java so have a less chance to work with >>>> php. >>>> >>>> In the body i have the challenge value displayed which was sent by >>>> hub. Is there anything else I could provide . >>>> >>>> GPmYyCwuUD0si4tqE_sJNcmnOlRyBR-nisok8-xJGVqoAMaW5M8pqoNjeN062IOrSGCjsZ7KqO1QPVAMdFERUaiQ-MZf2f7qweZsMqD_qN2btgS453xzxkEwpN6JZT_8 >>>> >>>> this is one of the challenge value sent by hub , which is displayed >>>> on the screen . i.e >>>> >>>> I am not sure , what is going wrong , and unfortunately still not >>>> being able to fig it out by counting 48 hrs and still more to go.. >>>> >>>> On 6/1/10, Juvenn Woo <[email protected]> wrote: >>>>> The hub failed to confirm your subscription. If the problem persists, >>>>> then I guess your http response might be the cause. In the body you >>>>> should only have challenge code, not 'hub.challenge=...' >>>>> >>>>> Could you please show up your response, by simulating a verify request >>>>> to your callback with curl? >>>>> >>>>> On 6/1/10, andy e <[email protected]> wrote: >>>>>> If you haven't already, try downloading the sample hub (see >>>>>> http://code.google.com/p/pubsubhubbub/wiki/DeveloperGettingStartedGuide) >>>>>> and running it locally. >>>>>> >>>>>> I'm still wrasslin' with it a bit, but that helped me do some >>>>>> debugging (I'm new to app engine, but knew enough to add in a few >>>>>> debug statements in main.py). I haven't tried pinging the actual hub >>>>>> yet, so hopefully I don't run into a similar situation after >>>>>> switching >>>>>> from the local hub to the real one. >>>>>> >>>>>> andy >>>>>> >>>>>> On Mon, May 31, 2010 at 7:59 AM, codewriter <[email protected]> >>>>>> wrote: >>>>>>> Hi , >>>>>>> >>>>>>> I am trying to subscribe to feeds in >>>>>>> http://pubsubhubbub.appspot.com/subscribe >>>>>>> , but always receive 409 status , >>>>>>> >>>>>>> String url = "http://pubsubhubbub.appspot.com/subscribe"; >>>>>>> String topic_url = "http://feeds.feedburner.com/ >>>>>>> feedburnerstatus?format=xml"; >>>>>>> String callbackserverurl = >>>>>>> "http://i4dweb.provesio.com/i4dweb/ >>>>>>> authhubs.screen"; >>>>>>> String verifytoken = "karthick"; >>>>>>> String lease_seconds = "300"; >>>>>>> >>>>>>> >>>>>>> and also i am returning 200 status from the callback page and also >>>>>>> echoing back the hub.challenge param , but still not working , >>>>>>> breaking my head since 24hrs , >>>>>>> >>>>>> >>>>> >>>>> -- >>>>> Sent from my mobile device >>>>> >>>>> Best, >>>>> -- >>>>> Juvenn Woo ♫ >>>>> >>>> >>> >>> -- >>> Sent from my mobile device >>> >>> Best, >>> -- >>> Juvenn Woo ♫ >>> >> >
