Skip to content

Generic GCloudError thrown by psqworker #1672

Description

@ddaws

I am unsure if this is a problem with gcloud-python or with psq though I am receiving an error when attempting occasionally when running the psqworker.

The error thrown :

Traceback (most recent call last):
  File "/home/dawsonreid/.envs/fb_utm_sync/bin/psqworker", line 11, in <module>
    sys.exit(main())
  File "/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/psq/psqworker.py", line 92, in main
    worker.listen()
  File "/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/psq/worker.py", line 79, in listen
    super(MultiprocessWorker, self).listen()
  File "/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/psq/worker.py", line 38, in listen
    block=True)
  File "/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/psq/queue.py", line 94, in dequeue
    return_immediately=not block, max_messages=max)
  File "/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/gcloud/pubsub/subscription.py", line 210, in pull
    method='POST', path='%s:pull' % (self.path,), data=data)
  File "/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/gcloud/connection.py", line 343, in api_request
    error_info=method + ' ' + url)
gcloud.exceptions.GCloudError

psqworker will run properly for sometime before erroring out.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions