Skip to content

VCAP_Services Error #33

@movinglightspeed

Description

@movinglightspeed

https://github.com/IBM-Cloud/get-started-python/blob/master/hello.py

Waiting for app to start...
Start unsuccessful

TIP: use 'cf.exe logs myapp --recent' for more information
FAILED

ibmcloud cf logs myapp --recent
2021-01-12T06:02:32.28-0600 [CELL/0] OUT Starting health monitoring of container
2021-01-12T06:02:39.91-0600 [APP/PROC/WEB/0] ERR Traceback (most recent call last):
2021-01-12T06:02:39.91-0600 [APP/PROC/WEB/0] OUT Found VCAP_SERVICES
2021-01-12T06:02:39.94-0600 [APP/PROC/WEB/0] ERR File "hello.py", line 19, in
2021-01-12T06:02:39.94-0600 [APP/PROC/WEB/0] ERR password = creds['password']
2021-01-12T06:02:39.94-0600 [APP/PROC/WEB/0] ERR KeyError: 'password'
2021-01-12T06:02:40.43-0600 [APP/PROC/WEB/0] OUT Exit status 1
2021-01-12T06:02:40.49-0600 [CELL/SSHD/0] OUT Exit status 0

From GUI
TypeInstanceLogsTime
APP/PROC/WEB0Traceback (most recent call last):

Jan 12, 2021, 05:42:07 AM

APP/PROC/WEB0 File "hello.py", line 19, in

Jan 12, 2021, 05:42:07 AM
APP/PROC/WEB0 password = creds['password']

Jan 12, 2021, 05:42:07 AM
APP/PROC/WEB0KeyError: 'password'

Jan 12, 2021, 05:42:07 AM

Metadata

Metadata

Assignees

No one assigned

    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