vlaci / openconnect-sso

Wrapper script for OpenConnect supporting Azure AD (SAMLv2) authentication to Cisco SSL-VPNs
GNU General Public License v3.0
300 stars 131 forks source link

Broken in Fedora 35 - Blank browser #69

Open LP0101 opened 3 years ago

LP0101 commented 3 years ago

I updated my workstation from Fedora 33 to Fedora 35. The program worked fine on 33, however on 35, the browser window that opens is completely blank. Resizing the window or trying keyboard shortcuts doesn't seem fix anything, and the debug logs are stuck on "Waiting for browser".

I've tested this with python versions 3.6-3.10, it's all the same issue.

LP0101 commented 3 years ago

I've downgraded to Fedora 34, and it's working here. So whatever broke happened between 34 and 35.

Also, to confirm it's not my config, I tried running this on a Fedora 35 live USB, same issue.

chrispoupart commented 3 years ago

Can confirm this on a fresh Fedora 35 installation. Happy to provide any testing or debugging as required.

22RC commented 3 years ago

Try to type, before start vpn

$ export QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox"

it work for me.

LP0101 commented 3 years ago

@22RC That works, thank you!

nickurak commented 2 years ago

Same here, running export QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox" allowed it to connect fine after upgrading for F34 to F35.

benjamin-kirkbride commented 2 years ago

This fix is needed for Debian unstable as well.

tleveille commented 1 year ago

export QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox"

I applied that and can login successfully, sadly all I get is this on the browser window: You are disconnected. You may now close this browser tab.

rapgro commented 1 year ago

Still reproducible with Fedora 37 or 38 Beta? If no, I'd consider to build an official package for repository.

m3nowak commented 1 year ago

@rapgro yes, it is.

pm-jpodolski commented 1 year ago

@tleveille

export QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox"

I applied that and can login successfully, sadly all I get is this on the browser window: You are disconnected. You may now close this browser tab.

Did you ever get anywhere with this? I'm trying this on a vanilla Ubuntu 22.04 and it enters the credentials ok, I input the MFA and get the "you are disconnected. you may now close this browser tab" message and the VPN fails to connect.

pm-jpodolski commented 1 year ago

@tleveille

export QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox"

I applied that and can login successfully, sadly all I get is this on the browser window: You are disconnected. You may now close this browser tab.

Did you ever get anywhere with this? I'm trying this on a vanilla Ubuntu 22.04 and it enters the credentials ok, I input the MFA and get the "you are disconnected. you may now close this browser tab" message and the VPN fails to connect.

I was looking at other similar issues raise and it looks to be related to the auto-fill and auto click of user/password: https://github.com/vlaci/openconnect-sso/issues/93#issuecomment-1272710134 Disabling that allowed the connection to be established.