Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-137586

cockpit-ws: received request from bad Origin: http://[::1]:9090

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.1
    • cockpit
    • None
    • None
    • Moderate
    • rhel-cockpit
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      ISSUE
      Unable to access Cockpit UI using IPv6 loopback address.
      [https://[::1]:9090|https://[::1]:9090/]
      [https://[fe80::5054:ff:fe53:8f88]:9090|https://[fe80::5054:ff:fe53:8f88]:9090/]

       

      ENVIRONMENT

      OS : RHEL10.1

      Package version :
      cockpit-bridge-344-1.el10.noarch
      cockpit-system-344-1.el10.noarch
      cockpit-ws-selinux-344-1.el10.x86_64
      cockpit-ws-344-1.el10.x86_64
      cockpit-storaged-344-1.el10.noarch
      cockpit-packagekit-344-1.el10.noarch
      cockpit-344-1.el10.x86_64
      cockpit-podman-111-1.el10.noarch
      subscription-manager-cockpit-9-1.el10_1.noarch

      REPRODUCER

       [1] Install the cockpit version mentioned above and try to access the cockpit UI 

       

      WORKAROUND

      [1] To access the UI using IPv6 add mentioned parameter to the cockpit.conf file 

      1. cat /etc/cockpit/cockpit.conf
        [WebService]
        Origins = *

         

      NOTE : The issue is also reproducible on Fedora 42 here is the information.

       

      $ cat /etc/os-release 
      NAME="Fedora Linux"
      VERSION="42 (KDE Plasma Desktop Edition)"
      $ rpm -qa | grep cockpit
      cockpit-bridge-336.2-1.fc42.noarch
      cockpit-system-336.2-1.fc42.noarch
      cockpit-networkmanager-351-1.fc42.noarch
      cockpit-storaged-351-1.fc42.noarch
      cockpit-packagekit-351-1.fc42.noarch
      cockpit-ws-selinux-351-1.fc42.x86_64
      cockpit-ws-351-1.fc42.x86_64
      cockpit-351-1.fc42.x86_64
      cockpit-debugsource-351-1.fc42.x86_64
      cockpit-debuginfo-351-1.fc42.x86_64
      

       

      The same issue has been reported on upstream -
      https://github.com/cockpit-project/cockpit/issues/22333

       

      Commits which I suspect is causing issue:

      https://github.com/cockpit-project/cockpit/pull/22281
      https://github.com/cockpit-project/cockpit/pulls?q=ipv6

      {+}ATTACHMENT
      {+}cockpit-ws coredump
      https://drive.google.com/file/d/1ULtynHZXyVkTx6UppuoQWq7dGuVVcbZA/view

              jira-bugzilla-migration RH Bugzilla Integration
              rhn-support-shjadhav Shailesh Jadhav
              RH Bugzilla Integration RH Bugzilla Integration
              Jan Scotka Jan Scotka
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: