Unable to download Spring Web components - Green token for Repository Access is not working
search cancel

Unable to download Spring Web components - Green token for Repository Access is not working

book

Article ID: 386378

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

Customer followed doc - Accessing Spring Enterprise Subscription Artifact Repositories to download Spring Web components via below link. However, the Sign in window pop up comes again and again, which indicates that authentication is not working.

Cause

Checking the HAR file, we can found error message "_error": "net::ERR_INVALID_AUTH_CREDENTIALS"" which indicates it's the credential issue.

Also, if clicked the "Copy to Clipboard"button and pasted in the notebook,

we can see it will display the full content (starting from "scope":),

{"scope":"TNZ-SPRING","access_token":"eyJ2ZxxxxU57ng","expires_in":"15638400"}

That's why the ERR_INVALID_AUTH_CREDENTIALS error happened.

Resolution

Step 1. Try to use another browser and see if it works.

Step 2. If issue still occurred, enable Developer Tools of the browser and follow this link https://support.zendesk.com/hc/en-us/articles/4408828867098-Generating-a-HAR-file-for-troubleshooting to collect the HAR file for reviewing.

Step3. If identified that login failure due to ERR_INVALID_AUTH_CREDENTIALS, manually copy the string between double quotes of access_token and paste it in the password.