Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-58331

[release-4.19] console-telemetry-plugin: unable to track usage: Forbidden

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • 4.19.z
    • 4.19
    • Dev Console
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • Rejected
    • ODC Sprint 3276, ODC Sprint 3277
    • 2
    • Done
    • Bug Fix
    • Hide
      Before this update, the `/metrics/usage` endpoint was updated to include authentication and Cross-Site Request Forgery (CSRF) protections. Because of this, requests to this endpoint started failing with a "forbidden" error message because the requests lacked the necessary CSRF token in the request cookie. With this release, a CSRF token was added to the `/metrics/usage` request cookie, resolving the “forbidden” error message. (link:https://issues.redhat.com/browse/OCPBUGS-58331[OCPBUGS-58331])
      Show
      Before this update, the `/metrics/usage` endpoint was updated to include authentication and Cross-Site Request Forgery (CSRF) protections. Because of this, requests to this endpoint started failing with a "forbidden" error message because the requests lacked the necessary CSRF token in the request cookie. With this release, a CSRF token was added to the `/metrics/usage` request cookie, resolving the “forbidden” error message. (link: https://issues.redhat.com/browse/OCPBUGS-58331 [ OCPBUGS-58331 ])
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-52835. The following is the description of the original issue:

      Description of problem:

      We see console-telemetry-plugin: unable to track usage: Forbidden error in latest 4.19 nightly

      Version-Release number of selected component (if applicable):

      4.19.0-0.nightly-2025-03-09-063419    

      How reproducible:

      Always    

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              rh-ee-jonjacks Jon Jackson
              openshift-crt-jira-prow OpenShift Prow Bot
              None
              None
              Sanket Pathak Sanket Pathak
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: