on 2022 Nov 16 7:21 PM
I have 2 environments, "Production" and "Development". For the past 2-4 weeks we have not had any issues deploying code from BAS. Recently we've been running into the below issue only in our "Development" space.
As some background, the file that is throwing errors is generated when we login to CF - an .env file gets instantiated and is where the error below is coming from.
We've tried reformatting the "VCAP_SERVICES..." to be a correct JSON or change the file from ".env" to "default-env.json" with no luck.
Additionally, our "Production" space continues to work with no issues.
Any help here would be greatly appreciated.
Request clarification before answering.
Hi Bruce,
Could you logon to the CF space and check the environment variables from CLI?
https://docs.cloudfoundry.org/devguide/deploy-apps/environment-variable.html#VCAP-SERVICES
For example
cf env html5userapi-srv
Getting env variables for app html5userapi-srv in org c801ae3dtrial / space dev as ...
System-Provided:
VCAP_SERVICES: {
"connectivity": [
{
"binding_guid": "5d3b605c-baa2-44bd-930d-18b27af05150",
"binding_name": null,
"credentials": {
...
Best regards,
Antal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
15 | |
12 | |
7 | |
7 | |
4 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.