RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1730666 - [machines] There is no file downloaded after click 'Launch Remote Viewer' button on Edge
Summary: [machines] There is no file downloaded after click 'Launch Remote Viewer' but...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cockpit-appstream
Version: 8.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.4
Assignee: Katerina Koukiou
QA Contact: YunmingYang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-17 10:06 UTC by YunmingYang
Modified: 2021-05-18 15:53 UTC (History)
4 users (show)

Fixed In Version: 236
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:53:08 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description YunmingYang 2019-07-17 10:06:49 UTC
Description of problem:
If using 'Graphics Console in Desktop Viewer', there should be a file downloaded by clicking Launch Remote Viewer' button.When clicking it on Edge, there are no file downloaded, and there is also a warning message shown on the web console.

Version-Release number of selected component (if applicable):
cockpit-machines-196-1.el8.noarch
libvirt-dbus-1.2.0-2.module+el8.1.0+2983+b2ae9c0a.x86_64
Miscrosoft Edge 44.18362.1.0

How reproducible:
100%

Steps to Reproduce:
1. Open cockpit-machines with Edge
2. Click 'Launch Remote Viewer' button of a running VM

Actual results:
There is no file downloaded after click 'Launch Remote Viewer' button on Edge

Expected results:
There should be a file downloaded after clicking 'Launch Remote Viewer' button on edge

Additional info:
The warning message which is shown on the web console:
CSP14309: Unkown directive 'block-all-mixed-content in Content-Security-Policy - directive will be ignored.'

That will also appear in the Edge 42.17134.1.0.

Comment 3 Katerina Koukiou 2021-01-22 12:38:04 UTC
Yunming can you please try to reproduce this bug with a newer version of cockpit-machines?

I just tried with 236 and microsoft-edge-dev-89.0.767.0-1.x86_64.rpm which I downloaded from https://www.microsoftedgeinsider.com/en-us/.

With this combination of newer edge and newer cockpit-machines I can't reproduce this.

Comment 4 YunmingYang 2021-01-25 07:02:41 UTC
Of course, I try it with cockpit-machines-236-1 and microsoft-edge-88.0.705.50(Official building) in a windows VM, and the issue is disappear with the combination.

Comment 5 Katerina Koukiou 2021-01-25 08:19:54 UTC
This was most likely fixed by:

commit 2ab1b5ebd71e3772c6494e25e96b791ab2738c00
Author: Katerina Koukiou <kkoukiou>
Date:   Fri Dec 11 12:23:53 2020 +0100

    machines: Replace DesktopViewer with upstream component from PF4

Comment 6 Katerina Koukiou 2021-01-27 10:47:29 UTC
Note: For the older versions of Edge, which are not based on Chromium this is still an issue. We don't plan to investigate further or fix this bug for the non-chromium based Edge.

Comment 10 YunmingYang 2021-02-07 03:11:09 UTC
Test Versions:
cockpit-machines-237-1.el8.noarch
cockpit-236-1.el8.x86_64
libvirt-dbus-1.3.0-2.module+el8.3.0+6423+e4cb6418.x86_64


Test Steps:
1. Open cockpit-machines with Edge (which is based on chromium)
2. Click 'Launch Remote Viewer' button of a running VM

Test Results:
There is a file downloaded after clicking 'Launch Remote Viewer' button

According to the results, move the status to VERIFIED.

Comment 12 errata-xmlrpc 2021-05-18 15:53:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (cockpit-appstream bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1875


Note You need to log in before you can comment on or make changes to this bug.