On Lab 13, Getting error after deploying web-ui and binding to upsi.

Error is Please connect your ap
p to the rest-data-service
cf env web-ui
Getting env variables for app web-ui in org asomachud.org / space test as [email protected]
OK
System-Provided:
{
"VCAP_SERVICES": {
"user-provided": [
{
"binding_name": null,
"credentials": {
"url": "roster-sleepy-manatee.cfapps.io"
},
"instance_name": "roster-backend",
"label": "user-provided",
"name": "roster-backend",
"syslog_drain_url": "",
"tags": [],
"volume_mounts": []
},
{
"binding_name": null,
"credentials": {
"uri": "roster-sleepy-manatee.cfapps.io"
},
"instance_name": "rest-backend",
"label": "user-provided",
"name": "rest-backend",
"syslog_drain_url": "",
"tags": [],
"volume_mounts": []
}
]
}
}
{
"VCAP_APPLICATION": {
"application_id": "e2af598e-22a8-4a64-bef7-dcdd7fb104b2",
"application_name": "web-ui",
"application_uris": [
"web-ui-kind-hartebeest.cfapps.io"
],
"application_version": "bf834d13-90a2-4e3a-8d26-0c57916d856a",
"cf_api": "https://api.run.pivotal.io",
"limits": {
"disk": 1024,
"fds": 16384,
"mem": 128
},
"name": "web-ui",
"organization_id": "e9964132-7156-46bf-a465-98483e68cfca",
"organization_name": "asomachud.org",
"process_id": "e2af598e-22a8-4a64-bef7-dcdd7fb104b2",
"process_type": "web",
"space_id": "ef05da9b-455b-4438-be46-841171878add",
"space_name": "test",
"uris": [
"web-ui-kind-hartebeest.cfapps.io"
],
"users": null,
"version": "bf834d13-90a2-4e3a-8d26-0c57916d856a"
}
}
No user-defined env variables have been set
No running env variables have been set
No staging env variables have been set
Comments
-
The service name is incorrect. It should be
rest-backend
notroster-backend
0 -
Fixed it and still getting the same error
Getting env variables for app web-ui in org asomachud.org / space test as [email protected]
OKSystem-Provided:
{
"VCAP_SERVICES": {
"user-provided": [
{
"binding_name": null,
"credentials": {
"uri": "roster-sleepy-manatee.cfapps.io"
},
"instance_name": "rest-backend",
"label": "user-provided",
"name": "rest-backend",
"syslog_drain_url": "",
"tags": [],
"volume_mounts": []
}
]
}
}{
"VCAP_APPLICATION": {
"application_id": "e2af598e-22a8-4a64-bef7-dcdd7fb104b2",
"application_name": "web-ui",
"application_uris": [
"web-ui-kind-hartebeest.cfapps.io"
],
"application_version": "9fa65e89-ebe3-4190-9642-410ff4513db7",
"cf_api": "https://api.run.pivotal.io",
"limits": {
"disk": 1024,
"fds": 16384,
"mem": 128
},
"name": "web-ui",
"organization_id": "e9964132-7156-46bf-a465-98483e68cfca",
"organization_name": "asomachud.org",
"process_id": "e2af598e-22a8-4a64-bef7-dcdd7fb104b2",
"process_type": "web",
"space_id": "ef05da9b-455b-4438-be46-841171878add",
"space_name": "test",
"uris": [
"web-ui-kind-hartebeest.cfapps.io"
],
"users": null,
"version": "9fa65e89-ebe3-4190-9642-410ff4513db7"
}
}No user-defined env variables have been set
No running env variables have been set
No staging env variables have been set
0
Categories
- 10.2K All Categories
- 36 LFX Mentorship
- 89 LFX Mentorship: Linux Kernel
- 506 Linux Foundation Boot Camps
- 279 Cloud Engineer Boot Camp
- 104 Advanced Cloud Engineer Boot Camp
- 49 DevOps Engineer Boot Camp
- 41 Cloud Native Developer Boot Camp
- 2 Express Training Courses
- 2 Express Courses - Discussion Forum
- 1.8K Training Courses
- 17 LFC110 Class Forum
- 5 LFC131 Class Forum
- 20 LFD102 Class Forum
- 148 LFD103 Class Forum
- 13 LFD121 Class Forum
- 61 LFD201 Class Forum
- LFD210 Class Forum
- 1 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum
- 23 LFD254 Class Forum
- 570 LFD259 Class Forum
- 100 LFD272 Class Forum
- 1 LFD272-JP クラス フォーラム
- 1 LFS145 Class Forum
- 23 LFS200 Class Forum
- 739 LFS201 Class Forum
- 1 LFS201-JP クラス フォーラム
- 1 LFS203 Class Forum
- 46 LFS207 Class Forum
- 298 LFS211 Class Forum
- 53 LFS216 Class Forum
- 46 LFS241 Class Forum
- 41 LFS242 Class Forum
- 37 LFS243 Class Forum
- 10 LFS244 Class Forum
- 27 LFS250 Class Forum
- 1 LFS250-JP クラス フォーラム
- 131 LFS253 Class Forum
- 999 LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 87 LFS260 Class Forum
- 126 LFS261 Class Forum
- 31 LFS262 Class Forum
- 79 LFS263 Class Forum
- 15 LFS264 Class Forum
- 10 LFS266 Class Forum
- 17 LFS267 Class Forum
- 17 LFS268 Class Forum
- 21 LFS269 Class Forum
- 201 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- 213 LFW211 Class Forum
- 154 LFW212 Class Forum
- 899 Hardware
- 217 Drivers
- 74 I/O Devices
- 44 Monitors
- 115 Multimedia
- 208 Networking
- 101 Printers & Scanners
- 85 Storage
- 749 Linux Distributions
- 88 Debian
- 64 Fedora
- 14 Linux Mint
- 13 Mageia
- 24 openSUSE
- 133 Red Hat Enterprise
- 33 Slackware
- 13 SUSE Enterprise
- 355 Ubuntu
- 473 Linux System Administration
- 38 Cloud Computing
- 69 Command Line/Scripting
- Github systems admin projects
- 94 Linux Security
- 77 Network Management
- 108 System Management
- 49 Web Management
- 63 Mobile Computing
- 22 Android
- 27 Development
- 1.2K New to Linux
- 1.1K Getting Started with Linux
- 528 Off Topic
- 127 Introductions
- 213 Small Talk
- 20 Study Material
- 796 Programming and Development
- 264 Kernel Development
- 498 Software Development
- 923 Software
- 258 Applications
- 182 Command Line
- 2 Compiling/Installing
- 76 Games
- 316 Installation
- 54 All In Program
- 54 All In Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)