Bug 1396450 - [atomic registry] Chrome cannot login to registry console when system proxy is set
Summary: [atomic registry] Chrome cannot login to registry console when system proxy i...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Dominik Perpeet
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-18 10:42 UTC by Xingxing Xia
Modified: 2016-11-23 10:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-23 10:08:29 UTC
Target Upstream Version:


Attachments (Terms of Use)
Set-system-proxy-step1 (131.48 KB, image/png)
2016-11-18 11:05 UTC, Xingxing Xia
no flags Details
Origin WS failure (37.00 KB, image/png)
2016-11-22 16:57 UTC, Peter
no flags Details

Description Xingxing Xia 2016-11-18 10:42:59 UTC
Description of problem:
Chrome cannot login to registry console when System system proxy is set. Unset system proxy, it can login. The Chrome used is ver 54.
For Firefox, a bit complex, see more info below
See related attachments

As comparsion, console such as openshift console does not have the issue.

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

registry.ops..../openshift3/registry-console 3.3  f8a757a055c5  10 days ago    223.8 MB

How reproducible:
Always

Steps to Reproduce:
1. Set OS system proxy
2. Login to registry console with Chrome, input user/password.


Actual results:
2. A circle is spinning a while, then the login fails and page returns "Reconnect".

Expected results:
2. Should login successfully

Additional info:
For Firefox (version used is 49), in its Network setting:
If check the option "Manual proxy configuration", input proxy, the problem does not occur, Firefox can login to registry console.

If check the option "Use system proxy settings", and set OS system proxy, the problem occurs, Firefox can not login.

Comment 2 Xingxing Xia 2016-11-18 11:05:02 UTC
Created attachment 1221817 [details]
Set-system-proxy-step1

Comment 8 Dominik Perpeet 2016-11-22 08:13:14 UTC
Did your last attempt use a build with cockpit >= 122-3?

Does your proxy support WebSockets?

Comment 10 Peter 2016-11-22 16:57:01 UTC
I think the proxy you are using doesn't support websockets. How are you testing the openshift console? Unlike cockpit only some parts of the openshift console use websockets, so you have to navigate around.

In my testing with your proxy settings, both cockpit and the parts of openshift that use websockets failed. You can see the failures in the network tab of chrome dev tools (see screen shot)

Comment 11 Peter 2016-11-22 16:57:47 UTC
Created attachment 1222797 [details]
Origin WS failure

Comment 12 Xingxing Xia 2016-11-23 02:56:52 UTC
Tried Origin websocket, got WS failure too. So seems the problem reported is not cockpit issue. May close it?

Comment 13 Dominik Perpeet 2016-11-23 10:08:29 UTC
Thanks for verifying. I will close this as it's not a bug in Cockpit.


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