Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved messages for self-signed cert issues #15951

Merged
merged 5 commits into from
Feb 14, 2020
Merged

Improved messages for self-signed cert issues #15951

merged 5 commits into from
Feb 14, 2020

Conversation

olexii4
Copy link
Contributor

@olexii4 olexii4 commented Feb 6, 2020

Signed-off-by: Oleksii Orel oorel@redhat.com

What does this PR do?

Improved messages for the self-signed cert issue.
Screenshot from 2020-02-12 09-34-18

What issues does this PR fix or reference?

#15298

Release Notes

Docs PR

@che-bot
Copy link
Contributor

che-bot commented Feb 6, 2020

Can one of the admins verify this patch?

@che-bot che-bot added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/bug Outline of a bug - must adhere to the bug report template. labels Feb 6, 2020
@che-bot
Copy link
Contributor

che-bot commented Feb 6, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@che-bot
Copy link
Contributor

che-bot commented Feb 6, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@che-bot
Copy link
Contributor

che-bot commented Feb 6, 2020

E2E tests of Eclipse Che Multiuser on OCP has been successful:

@che-bot
Copy link
Contributor

che-bot commented Feb 6, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@sleshchenko
Copy link
Member

@l0rd @beaumorley Could you please validate the error message we provide. Maybe you have some suggestions.

@sleshchenko

This comment has been minimized.

@sleshchenko
Copy link
Member

sleshchenko commented Feb 6, 2020

Well, there is no easy way to get CA by the end-user. It makes me think that it would be great if Che Server serves CA and gives users an ability to download it as a file. But I'm not sure if it's really secure thing to do.
@mmorhun @skabashnyuk @skryzhny WDYT?

@che-bot
Copy link
Contributor

che-bot commented Feb 6, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@beaumorley
Copy link

beaumorley commented Feb 6, 2020

One simple thing I'd suggest is to change the text color on the error. The orange on black is hard to read. If you want to keep some orange to indicate that it is an important error, possibly just keep the headline orange? If this is a product wide convention to use orange, we may want to address it more holistically later but just wanted to bring it up.

** current error copy **
Unknown Error

Probably, one of Che hosts is signed with a self-signed certificate. Possible solutions would be:
1.) Import CA info your browser, you an find instructions how to do it by documentation
Open the link in a new tab and add an exclusion for this host and refresh Dashboard.

Click here to reload page.

** first stab at suggested improvements to error copy ***
Certificate Error

Your Che host may be signed with a self-signed certificate. To resolve this issue, try these possible solutions:
1.) Import CA info into your browser. You can find instructions on how to do this in your [Che documentation] (link).
2.) Open [the link for your Che host] (link) in a new tab and add an exclusion.

After trying each of these solutions, [refresh your Dashboard] (link) to see if the problem has been resolved
**

If I have some of the troubleshooting wrong, let me know and I can try and tweak this.

@che-bot
Copy link
Contributor

che-bot commented Feb 6, 2020

E2E tests of Eclipse Che Multiuser on OCP has been successful:

@olexii4
Copy link
Contributor Author

olexii4 commented Feb 12, 2020

Screenshot from 2020-02-12 09-34-18
@beaumorley WDYT?

@che-bot
Copy link
Contributor

che-bot commented Feb 12, 2020

E2E tests of Eclipse Che Multiuser on OCP has failed:

@che-bot
Copy link
Contributor

che-bot commented Feb 12, 2020

❌ E2E Happy path tests failed ❗

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

⚠️ https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

ℹ️ Use comment "crw-ci-test" to rerun happy path E2E test.

@che-bot
Copy link
Contributor

che-bot commented Feb 12, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@beaumorley
Copy link

This looks great. Very clear and easy to read. Thanks!

@beaumorley
Copy link

Just had a thought on this new design. We need a close button or an X at the top right of the screen (next to the Certificate Error title). If the user does not want to do any of the suggested options they should have a way to just cancel. Sorry I missed this. I think it is pretty important to add.

Signed-off-by: Oleksii Orel <oorel@redhat.com>
@olexii4
Copy link
Contributor Author

olexii4 commented Feb 13, 2020

Screenshot from 2020-02-13 21-28-32
done

@che-bot
Copy link
Contributor

che-bot commented Feb 13, 2020

E2E tests of Eclipse Che Multiuser on OCP has failed:

@che-bot
Copy link
Contributor

che-bot commented Feb 13, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@che-bot
Copy link
Contributor

che-bot commented Feb 14, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@che-bot
Copy link
Contributor

che-bot commented Feb 14, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@che-bot
Copy link
Contributor

che-bot commented Feb 14, 2020

E2E tests of Eclipse Che Multiuser on OCP has failed:

@che-bot
Copy link
Contributor

che-bot commented Feb 14, 2020

❌ E2E Happy path tests failed ❗

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

⚠️ https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

ℹ️ Use comment "crw-ci-test" to rerun happy path E2E test.

@olexii4
Copy link
Contributor Author

olexii4 commented Feb 14, 2020

crw-ci-test

@che-bot
Copy link
Contributor

che-bot commented Feb 14, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@che-bot
Copy link
Contributor

che-bot commented Feb 14, 2020

E2E tests of Eclipse Che Multiuser on OCP has failed:

@che-bot
Copy link
Contributor

che-bot commented Feb 14, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@olexii4 olexii4 merged commit 24da259 into master Feb 14, 2020
@olexii4 olexii4 deleted the CHE-15298 branch February 14, 2020 17:13
@che-bot che-bot removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Feb 14, 2020
@che-bot che-bot added this to the 7.9.0 milestone Feb 14, 2020
@che-bot
Copy link
Contributor

che-bot commented Feb 14, 2020

E2E tests of Eclipse Che Multiuser on OCP has been successful:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants