question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fails to Authenticate with Pivotal CF UAA

See original GitHub issue

Frontend Deployment type

  • Cloud Foundry Application (cf push)
  • Kubernetes, using a helm chart
  • Docker, single container deploying all components
  • npm run start
  • Other (please specify below)

Backend (Jet Stream) Deployment type

  • Cloud Foundry Application (cf push)
  • Kubernetes, using a helm chart
  • Docker, single container deploying all components
  • Other (please specify below)

Expected behaviour

Expected to be able to connect to UAA endpoint to authenticate from Docker all-in-one container.

Actual behaviour

Fails to authenticate.

Steps to reproduce the behavior

Point at uaa for cloud foundry instance. I am using the UAA -> Admin client_id and secret for that part of the handshake from Ops Manager. I am using admin user credentials (my own) for the user id and password.

Log output covering before error and any error statements

ERRO[Tue Jun 30 22:28:48 UTC 2020] Error decoding response: invalid character '<' looking for beginning of value 
ERRO[Tue Jun 30 22:28:48 UTC 2020] Failed to authenticate with UAA due to getUAAToken Decode: invalid character '<' looking for beginning of value 
{"time":"2020-06-30T22:28:48.675262064Z","level":"ERROR","prefix":"echo","file":"main.go","line":"1071","message":"code=400, message={\"error\":\"Failed to authenticate with UAA - check Client ID, Secret and credentials\"}"}
Request: [2020-06-30T22:28:48Z] Remote-IP:"172.17.0.1" Method:"POST" Path:"/pp/v1/setup/check" Status:400 Latency:382.636119ms Bytes-In:199 Bytes-Out:85

I’m not sure if I’m using the wrong UAA creds, pointing to the wro

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:18 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
azizabahcommented, Jul 24, 2020

@richard-cox Looks great. Thanks again for all the assistance with troubleshooting. Have a good one.

0reactions
richard-coxcommented, Jul 24, 2020

Wonderful! Glad it’s sorted. To register endpoints in Stratos when it’s pushed to CF you’ll need to bind Stratos to a CF database service. This will allow endpoint data to persist over restage and provide a central point of data when scaling app instances. Once bound and the app restarted the Endpoints page should become available. We’ve got some docs on this here and some general docs on pushing to cf here (in particular setting your own session store secret).

Read more comments on GitHub >

github_iconTop Results From Across the Web

UAA failed to authenticate LDAP account with ...
When enabling User Account and Authentication (UAA) as an OpenID Connect (OIDC) provider with Lightweight Directory Access Protocol (LDAP) ...
Read more >
Unable to logging UAA Admin PCF - CloudBees Documentation
After successful installation, we are unable to login to the UI using UAA admin credentials. It throws the following error on the screen....
Read more >
User Account and Authentication (UAA) Server
In collaboration with the login server, UAA can authenticate users with their Cloud Foundry credentials, ... git clone git://github.com/cloudfoundry/uaa.git.
Read more >
Enabling User Account and Authentication for Pivotal Cloud ...
You can use User Account and Authentication (UAA) to authenticate the user with their Cloud Foundry user credential to access the application monitoring ......
Read more >
CF Login - Google Groups
2. http://uaa.nttcf.com shows unstyled login page. ... Server error, status code: 500, error code: 10001, message: An unknown error occurred. ... Server error, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found