Bug 1772509

Summary: iOS 13 errors after visiting Pod > Logs
Product: OpenShift Container Platform Reporter: Robb Hamilton <rhamilto>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: aos-bugs, jokerman, yanpzhan
Target Milestone: ---   
Target Release: 4.3.0   
Hardware: Unspecified   
OS: Other   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-23 11:12:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Error
none
Download link?
none
eventerror
none
logerror none

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