Lab 13 web-ui connection to the rest-backend service not working
@spgreenberg still on lab 13, I ran into another issue. I am not able to verify the web-ui connection to the rest-backend service. I created the rest-back-end service with the credentials of my roster app. However when I bind the web-ui to that service and launch the route to the web UI I get the follow error when I hit the view people button: Please connect your app to the rest data service
Any thoughts on what I am missing?
Comments
-
Can you post the output of
cf env web-ui? Also make sure you have restarted the web-ui after you bound the service instance.0 -
This is the output, I'm not seeing what its missing:
System-Provided:
{
"VCAP_SERVICES": {
"user-provided": [
{
"binding_name": null,
"credentials": {
"URL": "https://roster-shy-badger.cfapps.io"
},
"instance_name": "rest-backend",
"label": "user-provided",
"name": "rest-backend",
"syslog_drain_url": "",
"tags": [],
"volume_mounts": []
}
]
}
}{
"VCAP_APPLICATION": {
"application_id": "2bef69b6-bc63-41f4-870b-e7f50b171c1b",
"application_name": "web-ui",
"application_uris": [
"web-ui-spontaneous-emu.cfapps.io"
],
"application_version": "830b1c1d-020f-4571-94f2-969410cf712e",
"cf_api": "https://api.run.pivotal.io",
"limits": {
"disk": 1024,
"fds": 16384,
"mem": 128
},
"name": "web-ui",
"organization_id": "f2d1c7a9-6a58-4daa-9b30-cb8d3ad68691",
"organization_name": "mtomlinson-org",
"process_id": "2bef69b6-bc63-41f4-870b-e7f50b171c1b",
"process_type": "web",
"space_id": "83fd6ce4-c509-4769-b3f5-267bf78ea886",
"space_name": "development",
"uris": [
"web-ui-spontaneous-emu.cfapps.io"
],
"users": null,
"version": "830b1c1d-020f-4571-94f2-969410cf712e"
}
}No user-defined env variables have been set
No running env variables have been set
No staging env variables have been set
0 -
the parameter of the user provided service is case sensitive. the name needs to be
urland you should also drop thehttps://as the value should just be the route of the rest data service. Make those updates, restart the web-ui and it should work.0 -
@spgreenberg , that was the issue. Thanks for your help.
0 -
Excellent! Happy to help.
0
Categories
- All Categories
- 176 LFX Mentorship
- 176 LFX Mentorship: Linux Kernel
- 750 Linux Foundation IT Professional Programs
- 373 Cloud Engineer IT Professional Program
- 169 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 4 DevOps & GitOps IT Professional Program
- 99 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 1 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 3 Cloud & Containers Training
- 1 Cybersecurity Training
- 1 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 1 Open Source Best Practice Training
- 1 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 768 Linux Distributions
- 81 Debian
- 67 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 950 Programming and Development
- 310 Kernel Development
- 622 Software Development
- 982 Software
- 374 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class 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)