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 — Environment Variable `GAE_APPENGINE_HOSTNAME` not working · Issue #2477 · googleapis/google-cloud-python

Environment Variable GAE_APPENGINE_HOSTNAME not working #2477

New issue
Copy link
New issue
Copy link
Closed
Closed
Environment Variable GAE_APPENGINE_HOSTNAME not working#2477
Copy link
Assignees
dhermes

Description

@travisoneill
travisoneill
opened on Oct 1, 2016
Issue body actions

Points to an empty string not your-app-id.appspot.com as stated in the docs: https://cloud.google.com/appengine/docs/flexible/python/runtime#environment_variables

Activity

  1. tseaver commented on Oct 1, 2016

    @tseaver
    tseaver
    on Oct 1, 2016
    Contributor
    More actions

    @travisoneill Thanks for the report. Where do you see the docs for google-cloud-python referring to that environment variable?

    $ cd ~/path/to/google-cloud-python
    $ git grep GAE_
    $ git grep appspot

    Is this from the docs for the gcloud command-line tool? If so, this library is not that thing.

  2. travisoneill commented on Oct 2, 2016

    @travisoneill
    travisoneill
    on Oct 2, 2016
    Author
    More actions

    @tseaver It's from the App Engine docs linked above my previous comment for the Python flexible environment runtime:

    https://cloud.google.com/appengine/docs/flexible/python/runtime#environment_variables
    The following environment variables are set by the runtime environment:
    
    PORT is set to the port that will receive HTTP requests.
    GAE_LONG_APP_ID is set to the Project ID associated with your application, which is visible in the Google Cloud Platform Console.
    GAE_MODULE_NAME is set to the module name specified in your application's app.yaml, or default.
    GAE_APPENGINE_HOSTNAME is set to the hostname for your application, typically your-app-id.appspot.com.
    

    When I print os.environ the key is there 'GAE_APPENGINE_HOSTNAME': '' but just an empty string value. If this is, in fact, intended behavior, I think the docs should be clarified on that point, as they seem to suggest it is available by default.

    The other environment variables listed appear to be working.

  3. dhermes
    added
    invalid
    on Oct 3, 2016
  4. dhermes commented on Oct 3, 2016

    @dhermes
    dhermes
    on Oct 3, 2016
    Contributor
    More actions

    @travisoneill This project is not App Engine related (though most / all of our code can be used in an App Engine project). This is a library for interacting with Google Cloud APIs in Python.

    The App Engine issue tracker is here: https://code.google.com/p/googleappengine/issues/list

    Sorry we couldn't be more help.

  5. dhermes
    closed this as completedon Oct 3, 2016
  6. theacodes commented on Oct 3, 2016

    @theacodes
    theacodes
    on Oct 3, 2016
    Contributor
    More actions

    To be slightly more helpful, we are changing some of the environment variables in GAE flexible, so we'll update the documentation shortly. :)

  7. JustinBeckwith
    assigned
    dhermes
    on Feb 1, 2021
  8. parthea
    added a commit that references this issue on Nov 24, 2025

    fix: drop packaging and pkg_resources (#2477)

    d9a2b48
  9. parthea
    added 2 commits that reference this issue on Apr 1, 2026

    docs: Fix recall_score doc example (#2477)

    660ba94

    chore: librarian release pull request: 20260303T181914Z (#2489)

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

Metadata

Metadata

Assignees

  • @dhermes
    dhermes

Labels

No labels
No labels

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.