cancel
Showing results for 
Search instead for 
Did you mean: 
Oresivi-3
Cadet
Cadet
  • 932 Views

Cannot login in RedHat Openshift webUI

Jump to solution

In Chapter 1.Introduction to Kubernetes and Openshift, I am trying to navigate the Openshift webconsole (first Guided exercise), I verify cluster state successfully, run the whoami cmd

Oresivi3_0-1753700873873.png

but when I try to login the URL 

https://console-openshift-console.apps.ocp4.example.com

I always fail, with error: This site can't be reached (DNS_PROBE_FINISHED_NXDOMAIN).

I cleared cache, tried both GC and Firefox browsers, stop/delete/start the lab environment, always fail to open the web console in order proceed to the next exercises.

Please, for your support. Thank you in advance.

1 Solution

Accepted Solutions
ARoumiantsev
Flight Engineer
Flight Engineer
  • 869 Views

Hi @Oresivi-3 

Please avoid typical issue: Do not use local browser, but ONLY workstation browser!

Good luck  

View solution in original post

11 Replies
ARoumiantsev
Flight Engineer
Flight Engineer
  • 870 Views

Hi @Oresivi-3 

Please avoid typical issue: Do not use local browser, but ONLY workstation browser!

Good luck  

Oresivi-3
Cadet
Cadet
  • 861 Views

That made it! Thanks for the fast response!

Chetan_Tiwary_
Community Manager
Community Manager
  • 866 Views

@Oresivi-3 Go to workstation VM console and use the firefox browser to login to the OCP web console. 

0 Kudos
mitoribi
Mission Specialist
Mission Specialist
  • 261 Views

Hi, good day.

How it was resolved?Im facing the same problem. 

I have tried with firefox within the workstation and it is not stable, Im getting continuous messages "Wait/Force Quiting" so I finally need to stop that firefox. I have also tried some SSH tunnel options without sucess.

Appreciate any help.

Thanks so much.

TudorRaduta
Community Manager
Community Manager
  • 259 Views

@mitoribi if the issue continues, I’d recommend opening a support case so our support team can check it directly in your lab and help you fix it.

0 Kudos
Chetan_Tiwary_
Community Manager
Community Manager
  • 242 Views

@mitoribi There is no  bug or issue with the lab as I am unable to reproduce this issue in our labs. 

You can check if your OCP cluster is up or not before you try to login to the console. 

If you are unable to get past this issue - please raise a support case so that we can check it in your lab.

0 Kudos
mitoribi
Mission Specialist
Mission Specialist
  • 232 Views

Hi, 

I managed to sort it out by following this procedure:

I set this in my /etc/hosts:
192.168.XX.YY console-openshift-console.apps.ocp4.example.com
192.168.XX.YY oauth-openshift.apps.ocp4.example.com
 
And then open a SSL tunnel in my latptop:
sshuttle -r student@172.25.XX.YY --ssh-cmd "ssh -i /home/myuser/.ssh/rht_classroom.rsa -J cloud-user@public_ip:22022 -p 53009" 0.0.0.0/0
 
And then in the browser:

Thanks so much

0 Kudos
Travis
Moderator
Moderator
  • 230 Views

@mitoribi -

Yes, most people don't have SSH access so you were hit by the DNS not working since you were attempting to launch the WebUI over your home computer instead of workstation's copy of Firefox. Keep in mind, apps that you deploy with Routes/Services also won't be able to come up and if you are using the /etc/hosts file trick, you will need to add those FQDNs there to the same IPs so that you can get to the app. For example, if you are doing an APP called helloworld, and you let the route be created, it might be ...

192.168.XX.YY helloworld.apps.ocp4.example.com
 
That needs added. Whatever the OCP Route is where it gives you the URL, it will be the same IP address as the console.
Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training
mitoribi
Mission Specialist
Mission Specialist
  • 220 Views

Thanks so much for the information @Travis 

What is the procedure to leverage the workstation's copy of Firefox?

When I tried that through a SSH tunnel (ssh -Y or -X), the workstation Firefox browser was not stable and i got continuous messages "Force to quit" or "Wait" and I was unable to paste the web console URL in that browser.

Thanks.

0 Kudos
Join the discussion
You must log in to join this conversation.