GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — storage get_blob very frequent exception '503 Service Unavailable' · Issue #3072 · googleapis/google-cloud-python

storage get_blob very frequent exception '503 Service Unavailable' #3072

New issue
Copy link
New issue
Copy link
Closed
Closed
storage get_blob very frequent exception '503 Service Unavailable'#3072
Copy link
Assignees
daspecster
Labels
api: storageIssues related to the Cloud Storage API.

Description

@VelizarVESSELINOV
VelizarVESSELINOV
opened on Feb 25, 2017
Issue body actions

If you can provide us with as much of the following information as possible it
will help us identify the cause of your issue more quickly.

  1. GCP VM: Linux ptk-parsing2 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
  2. Python: 3.5.2
  3. google-cloud-python version 0.23.0
  4. Stacktrace:
blob = bucket.get_blob(file_name)
  File "/home/vvesselinov/.local/lib/python3.5/site-packages/google/cloud/storage/bucket.py", line 233, in get_blob
    method='GET', path=blob.path, _target_object=blob)
  File "/home/vvesselinov/.local/lib/python3.5/site-packages/google/cloud/_http.py", line 335, in api_request
    error_info=method + ' ' + url)
google.cloud.exceptions.ServiceUnavailable: 503 Service Unavailable (GET https://www.googleapis.com/storage/v1/b/xxx/yyy.zzz)
  1. Steps to reproduce: create a program that is reading a lot of files (e.g. 100'000) and writing them back with some transformation, randomly the program is crashing

https://cloud.google.com/storage/docs/json_api/v1/status-codes

Suggestion to follow the GCP recommendations:
https://cloud.google.com/storage/docs/exponential-backoff

Activity

  1. VelizarVESSELINOV commented on Feb 26, 2017

    @VelizarVESSELINOV
    VelizarVESSELINOV
    on Feb 26, 2017
    Author
    More actions

    Same for InternalServerError. It will be nice if you can catch your internal errors and retry instead to propagate the error to the external user of the library

  2. daspecster
    added
    api: storageIssues related to the Cloud Storage API.
    on Feb 27, 2017
  3. daspecster commented on Feb 27, 2017

    @daspecster
    daspecster
    on Feb 27, 2017
    Contributor
    More actions

    @VelizarVESSELINOV thanks for the report!

    I referenced this issue in #2694. I'm going to close this for now and track over there unless you feel the need to open it again.

  4. daspecster
    closed this as completedon Feb 27, 2017
  5. JustinBeckwith
    assigned
    daspecster
    on Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @daspecster
    daspecster

Labels

api: storageIssues related to the Cloud Storage API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.