Bug 1772509 - iOS 13 errors after visiting Pod > Logs
Summary: iOS 13 errors after visiting Pod > Logs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.3.0
Hardware: Unspecified
OS: Other
unspecified
medium
Target Milestone: ---
: 4.3.0
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-14 14:23 UTC by Robb Hamilton
Modified: 2020-01-23 11:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-23 11:12:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Error (491.85 KB, image/png)
2019-11-14 14:23 UTC, Robb Hamilton
no flags Details
Download link? (510.65 KB, image/png)
2019-11-14 14:24 UTC, Robb Hamilton
no flags Details
eventerror (86.73 KB, image/jpeg)
2019-11-19 02:31 UTC, Yanping Zhang
no flags Details
logerror (89.50 KB, image/jpeg)
2019-11-19 02:31 UTC, Yanping Zhang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 3399 0 'None' 'closed' 'Bug 1772509: Add missing `screenful.enabled` check' 2019-11-19 01:53:42 UTC
Red Hat Product Errata RHBA-2020:0062 0 None None None 2020-01-23 11:13:06 UTC

Description Robb Hamilton 2019-11-14 14:23:57 UTC
Created attachment 1636146 [details]
Error

Description of problem: iOS 13 users get an error after navigating to Pod > Logs and then navigating to any other Pod tab (see attached).


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

How reproducible: Always


Steps to Reproduce:
1.  Visit Pod > Logs using iOS 13 (mobile Safari 13) for any pod
2.  Visit Pod > Events for the same pod
3.  Note the error: "Oh no!  Something went wrong."

Actual results:  A React error is displayed.


Expected results:  The Events for the pod are displayed.


Additional info:  Does it make sense to display the "Download" link for logs on mobile (see attached).

Comment 1 Robb Hamilton 2019-11-14 14:24:41 UTC
Created attachment 1636147 [details]
Download link?

Comment 2 Samuel Padgett 2019-11-14 14:30:41 UTC
Related to https://github.com/sindresorhus/screenfull.js/issues/153

I suspect we're missing a `screenful.enabled` check

Comment 4 Yanping Zhang 2019-11-19 02:29:30 UTC
Checked on ocp 4.3 on iOS13, when navigator from pod log tab to other tab, the page will not go to error state, but when check under pod log tab and event tab, logs and events could not be retrieved. Pls refer to screenshots.

Comment 5 Yanping Zhang 2019-11-19 02:30:23 UTC
Payload info: 4.3.0-0.nightly-2019-11-18-175710

Comment 6 Yanping Zhang 2019-11-19 02:31:14 UTC
Created attachment 1637461 [details]
eventerror

Comment 7 Yanping Zhang 2019-11-19 02:31:50 UTC
Created attachment 1637463 [details]
logerror

Comment 8 Samuel Padgett 2019-11-19 13:26:51 UTC
WebSockets won't work on iOS without a trusted certificate. Both of these features require WebSockets. It looks like the certificate is not trusted.

Moving back to ON_QA since this is a configuration problem and not related to the original error.

Comment 9 Yanping Zhang 2019-11-20 02:44:52 UTC
According to Comment 4 and Comment 8 , the original bug is fixed, so move it to Verified.

Comment 11 errata-xmlrpc 2020-01-23 11:12:49 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, 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-2020:0062


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