Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-5895

500 Internal Error when logging to Dashboard

XMLWordPrintable

    • False
    • None
    • False
    • Testable
    • No
    • No
    • No
    • Pending
    • None

      Description of problem:

      Trying to log in Dashboard, we get 500 Internal Error. It is happening with RHODS Self-Managed

      The logs of oauth-proxy reports the following error:

       

      2022/11/14 13:21:20 provider.go:587: Performing OAuth discovery against https://172.30.0.1/.well-known/oauth-authorization-server
      2022/11/14 13:21:20 provider.go:627: 200 GET https://172.30.0.1/.well-known/oauth-authorization-server {
        "issuer": "https://oauth-openshift.apps.rhods-02.rhods.ccitredhat.com",
        "authorization_endpoint": "https://oauth-openshift.apps.rhods-02.rhods.ccitredhat.com/oauth/authorize",
        "token_endpoint": "https://oauth-openshift.apps.rhods-02.rhods.ccitredhat.com/oauth/token",
        "scopes_supported": [
          "user:check-access",
          "user:full",
          "user:info",
          "user:list-projects",
          "user:list-scoped-projects"
        ],
        "response_types_supported": [
          "code",
          "token"
        ],
        "grant_types_supported": [
          "authorization_code",
          "implicit"
        ],
        "code_challenge_methods_supported": [
          "plain",
          "S256"
        ]
      }
      2022/11/14 13:21:20 oauthproxy.go:656: error redeeming code (client:10.131.0.1:39314): got 400 from "https://oauth-openshift.apps.rhods-02.rhods.ccitredhat.com/oauth/token" {"error":"unauthorized_client","error_description":"The client is not authorized to request a token using this method."}
      2022/11/14 13:21:20 oauthproxy.go:445: ErrorPage 500 Internal Error Internal Error

      full logs for oauth-container: rhods-dashboard-698895d979-x7tq2-oauth-proxy.log

      full logs for rhods-dashboard container: rhods-dashboard-698895d979-x7tq2-rhods-dashboard.log

      Prerequisites (if any, like setup, operators/versions):

      Install RHODS Self-managed 1.19.0-14

      Steps to Reproduce

      1. Log In RHODS Dashboard

      Actual results:

      log in fails with 500 Intern Error

      Expected results:

      Log in is successful

      Reproducibility (Always/Intermittent/Only Once):

      Always on PSI

      To be tested on a different cluster type..

      Build Details:

      RHODS v1.19.0-14

      Workaround:

      Unknown at the time of writing

      Additional info:

       

       

       

       

              Unassigned Unassigned
              rhn-support-bdattoma Berto D'Attoma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: