Skip to content

auth: error contacting auth provider (retrying in 2s): request to OAuth issuer endpoint https://openshift-authentication-openshift-authentication.apps.test.tt.testing/oauth/token failed:  #1382

Closed

Description

@anildhingra

Version

$ openshift-install version
0.14 / 0.13 /0.12 & current master repo
tried all above same everytime
# Platform (aws|libvirt|openstack):
libvirt
Enter text here.

# What happened?
openshift-console  containers are not starting due to auth issue

[root@test-78rj4-master-0 ~]# oc get pods --all-namespaces -o wide | grep -i consol
openshift-console-operator                    console-operator-7d54c6dd8d-vlgmx                              1/1     Running            3          9m26s   10.128.0.67      test-78rj4-master-0         <none>
openshift-console                             console-c78447c84-2pr9q                                        0/1     Running            2          8m28s   10.128.0.76      test-78rj4-master-0         <none>
openshift-console                             console-c78447c84-qdt46                                        0/1     Running            2          8m28s   10.128.0.75      test-78rj4-master-0         <none>

[root@test-78rj4-master-0 ~]# oc logs -n openshift-console console-c78447c84-2pr9q
2019/03/6 05:36:00 cmd/main: cookies are secure!
2019/03/6 05:36:00 auth: error contacting auth provider (retrying in 2s): discovery through endpoint https://172.30.0.1:443/.well-known/oauth-authorization-server failed: 404 Not Found
2019/03/6 05:36:02 auth: error contacting auth provider (retrying in 4s): discovery through endpoint https://172.30.0.1:443/.well-known/oauth-authorization-server failed: 404 Not Found

after few min

[root@test-78rj4-master-0 ~]# oc logs -n openshift-console console-c78447c84-2pr9q
2019/03/6 05:41:40 cmd/main: cookies are secure!
2019/03/6 05:41:40 auth: error contacting auth provider (retrying in 2s): request to OAuth issuer endpoint https://openshift-authentication-openshift-authentication.apps.test.tt.testing/oauth/token failed: Head https://openshift-authentication-openshift-authentication.apps.test.tt.testing: dial tcp: lookup openshift-authentication-openshift-authentication.apps.test.tt.testing on 172.30.0.10:53: no such host


# What you expected to happen?

Enter text here.

# How to reproduce it (as minimally and precisely as possible)?

<!--
Please list the full steps required to reproduce the issue.
-->

```console
$ your-commands-here

Anything else we need to know?

Enter text here.

References

  • enter text here.

Activity

  1. anildhingra commented on Mar 10, 2019

    @anildhingra
    Author

    Hi,

    I solved this problem by configuring a zone in bind to "apps.test1.tt.testing" by listening on ip 192.168.126.1 and started the service with systemctl restart named and point the * .apps.test1.tt.testing to host listening to the router

    Please, do that workaround on the physical server where kvm / libvirt runs

    Best Regards,
    Fábio Sbano

    please share , as per libvirt doc , who are using NetworkManager for dnsmasq which entries they can make or a DNS server is required on physical machine

  2. praveenkumar commented on Mar 25, 2019

    @praveenkumar
    Contributor

    @anildhingra since #1371 solves this for you, can we close this or you are still facing this one?

  3. anildhingra commented on Mar 25, 2019

    @anildhingra
    Author

    Thanks praveen Yes can close this

  4. praveenkumar commented on Mar 25, 2019

    @praveenkumar
    Contributor

    @anildhingra since you created this issue, you have permission to close it :) I don't have that right now.

  5. AvRajath commented on Oct 27, 2020

    @AvRajath

    @anildhingra @ssbano im facing the same issue. May i know what can be done to solve this issue??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions