Closed plajjan closed 4 years ago
I have seen this before. Does resizing the window force it to refresh?
No, doesn't seem that way :( Resizing the window just resizes the border - the content is still lacking.
kll@ThinkYoga:~$ time openconnect-sso
[info ] Authenticating to VPN endpoint [openconnect_sso.app] address=ams-vpn-cluster.cisco.com/ssl name=UNNAMED
[info ] Response received [openconnect_sso.authenticator] id=main message=Please complete the authentication process in the AnyConnect Login window. title=Login
[info ] Browser started [webengine] startup_info=StartupInfo(url='https://aer01-hda2-vpn-cluster-2.cisco.com/+CSCOE+/saml/sp/login?tgname=SSL_Profile&acsamlcap=v2', credentials=None)
[info ] Loading page [webengine] url=https://aer01-hda2-vpn-cluster-2.cisco.com/+CSCOE+/saml/sp/login?tgname=SSL_Profile&acsamlcap=v2
[warning ] Connection terminated with browser [openconnect_sso.browser.browser]
[warning ] Browser window terminated, exiting [openconnect_sso.app]
[warning ] Connection terminated with browser [openconnect_sso.browser.browser] [warning ] Browser window terminated, exiting [openconnect_sso.app]
real 0m4.756s
user 0m2.648s
sys 0m1.077s
kll@ThinkYoga:~$
It seems to die in about 4-7 seconds.
Have you installed with the embedded qt version (openconnect-sso[full]
) or without? Could you try the other way?
I did the pipx install "openconnect-sso[full]"
install at first, now since you asked I also tried installing using pip3 install openconnect-sso
- I can see it won't start due to lacking pyqt5 and so I installed that using apt install python3-pyqt5 python3-pyqt5.qtwebengine
. I seem to get the same result, it starts the browser window so I can see the frame but no content. Resizing makes no difference.
Which of the dependencies are likely to cause this? Should I try to pin some version?
I think it is related to pyqt or pyqtwebengine somehow.
It worked for me in a fresh VM, the following packages are installed for me:
I have installed a base desktop system with xfce and python3-pyqt5
package to pull in the qt related dependencies. Then installed openconnect-sso[full]
.
Sorry for late feedback - been on vacation.
I did a apt update && upgrade today and a fresh install of openconnect-sso[full] using pipx like I did before and it is now working. I have not compared exact versions pulled in of various dependencies but will assume that something is different. It's now working and so I'm happy. Closing issue.
If it reappears I'll reopen this issue and spend some more time looking at versions but until then, thanks for the help! :)
If anyone is currently having this issue in Debian, it is almost certainly related to https://github.com/vlaci/openconnect-sso/issues/69
I am successfully using openconnect-sso on Debian stable (10/buster) on multiple computers doing SSO. However, on Debian testing when I'm trying to connect the web browser window opens up but is empty - it simply fails to render anything. I get an empty windows, like I just see the window border but no content at all.
I'm running debian testing with xmonad window manager. I am following the install instructions with pipx install etc.
How do I start debugging this? What dependencies are used to display the browser window - I guess I could try pinning some version or similar. Thankful for any pointers!