Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Bad apiUrl ex handling and fix for tekton dashboard URL #188

Merged
merged 9 commits into from
May 6, 2020

Conversation

davco01a
Copy link
Contributor

@davco01a davco01a commented May 6, 2020

Bad apiUrl ex handling and fix for tekton dashboard URL

@davco01a
Copy link
Contributor Author

davco01a commented May 6, 2020

also issue: #187

@@ -96,7 +96,12 @@ public Properties login(Properties args) {
} catch (KabaneroSecurityException e) {
return returnError(e.getStatusCode(), "An error occurred during authentication for user ", e);
} catch (Exception e) {
System.out.println(returnError(500, "An error occurred during authentication for user", e));
if (e.getMessage().contains("Unexpected char 60 at")) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try to reflect apiUrl problem back to the client

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works back to client now

@davco01a
Copy link
Contributor Author

davco01a commented May 6, 2020

Davids-MBP:~ dacohen@us.ibm.com$ kabanero login kabanero-cli-kabanero.apps.oheightoh.os.fyre.ibm.com -u davco01a
Password:
login failed, you may want to check your authorization configuration. Double check the apiUrl: in your github: configuraton in the Kabanero CR document to make sure it's correct
Davids-MBP:~ dacohen@us.ibm.com$

@davco01a
Copy link
Contributor Author

davco01a commented May 6, 2020

Davids-MBP:~ dacohen@us.ibm.com$ kabanero onboard davco01a
Please go to the tekton dashboard at https://tekton-dashboard-tekton-pipelines.apps.oheightoh.os.fyre.ibm.com in your browser and manually configure the webhook for gituser: davco01a

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants