Hi Mikel,

Polling works on a cron, which doesn't run with the dev_appserver.  You can
manually hit http://localhost:8080/work/poll_bootstrap from a web browser to
trigger a polling run, or you can set it up via curl from your crontab.

Hope that helps.
Steve

On Tue, Jun 14, 2011 at 12:19 PM, Mikel <[email protected]> wrote:

> Hey all,
>
> Im a little bit newbie with PuSH so forgive me if im asking something
> stupid. The issue is that I'm trying out my own application that uses
> PuSH but due to some firewall issues I have to use the hub locally in
> my computer. So far everything goes smoothly and subscriptions are
> verified perfectly (Using Java application as subscriber), but
> whenever I subscribe to a new source, it just does no polling at all!
>
> I've checked several times this post here:
>
>
> http://groups.google.com/group/pubsubhubbub/browse_thread/thread/19543b10d238e673#
>
> But still no success. This is the log I get in the Hub's console:
>
> pubsubhubbub on port 8080: http://localhost:8080
> /home/fingolion/inplementazioa/google_appengine/google/appengine/tools/
> dev_appserver.py:1798: DeprecationWarning:
> google.appengine.api.labs.taskqueue is deprecated, please use
> google.appengine.api.taskqueue
>  description)
> /home/fingolion/inplementazioa/google_appengine/google/appengine/tools/
> dev_appserver.py:1798: DeprecationWarning: the md5 module is
> deprecated; use hashlib instead
>  description)
> DEBUG    2011-06-14 16:13:12,999 main.py:1941] Attempting to confirm
> subscribe for topic = u'http://api.flickr.com/services/feeds/
> photos_public.gne?id=58624204@N07', callback = u'http://localhost:8081/
> tabasco/sioc-broker/hub', verify_token = u'token', secret = None,
> lease_seconds = 432000
> DEBUG    2011-06-14 16:13:13,008 urlfetch_stub.py:200] Making HTTP
> request: host = localhost:8081, url =
>
> http://localhost:8081/tabasco/sioc-broker/hub?hub.verify_token=token&hub.challenge=EELWB44QmsRV5m9s1-iQ0AcVKmvrEdq8ayrRsuNi_LjI8abgrlkntq83TrW2HlrE8R_7ktO9QBipp_gJckgDPkieb24vVm4dO8U1ZwipBORsU9lsU8JTLnhc1ZDmJ2X_&hub.topic=http%3A%2F%2Fapi.flickr.com%2Fservices%2Ffeeds%2Fphotos_public.gne%3Fid%3D58624204%40N07&hub.mode=subscribe&hub.lease_seconds=432000
> ,
> payload = None, headers = {'Host': 'localhost:8081', 'Accept-
> Encoding': 'gzip', 'User-Agent': 'AppEngine-Google; (+http://
> code.google.com/appengine)'}
> INFO     2011-06-14 16:13:13,099 main.py:1984] Subscription action
> verified, callback = http://localhost:8081/tabasco/sioc-broker/hub,
> topic =
> http://api.flickr.com/services/feeds/photos_public.gne?id=58624204@N07:
> subscribe
> INFO     2011-06-14 16:13:13,141 dev_appserver.py:3317] "POST /
> subscribe HTTP/1.1" 204 -
> INFO     2011-06-14 16:13:13,260 dev_appserver_index.py:212] Updating /
> home/fingolion/pubsubhubbub-read-only/hub/index.yaml
> INFO     2011-06-14 16:13:13,434 dev_appserver.py:3317] "POST /work/
> record_feeds HTTP/1.1" 200 -
>
> I will be very grateful if you can help me with this!
>

Reply via email to