dlenski / gp-saml-gui

Interactively authenticate to GlobalProtect VPNs that require SAML
GNU General Public License v3.0
301 stars 70 forks source link

After successful login screen stuck out #103

Open mitnagarro01 opened 3 months ago

mitnagarro01 commented 3 months ago

1

dlenski commented 3 months ago
  1. Add -vv to get additional detailed logging.
  2. Exactly which version/commit are you using?
pipoprods commented 2 days ago

Hi,

Same issue here with version 0.0~git20220831-1 from Debian stable (12) repository.

Here are the -vv logs:

Looking for SAML auth tags in response to https://vpn.provider.tld/ssl-vpn/prelogin.esp...
/usr/lib/python3/dist-packages/urllib3/connectionpool.py:1048: InsecureRequestWarning: Unverified HTTPS request is being made to host 'vpn.provider.tld'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(
Got SAML REDIRECT, opening browser...
/usr/bin/gp-saml-gui:49: DeprecationWarning: WebKit2.WebContext.set_tls_errors_policy is deprecated
  self.ctx.set_tls_errors_policy(WebKit2.TLSErrorsPolicy.IGNORE)
[REQUEST] GET for resource https://auth.provider.tld/saml/singleSignOn?SAMLRequest=...
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/bootstrap/dist/css/bootstrap.min.css
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/font-awesome/css/font-awesome.min.css
[REQUEST] GET for resource https://auth.provider.tld/static/bootstrap/css/styles.min.css
[REQUEST] GET for resource https://auth.provider.tld/index.fcgi/portal.css
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/jquery/dist/jquery.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/jquery-ui/jquery-ui.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/jquery.cookie/jquery.cookie.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/bootstrap/js/skin.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/common/js/portal.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/bootstrap/dist/js/bootstrap.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/common/logos/logo_horizontal.png
[REQUEST] GET for resource https://auth.provider.tld/index.fcgi/psgi.js
[RECEIVE] 2087 bytes of text/html for resource GET https://auth.provider.tld/saml/singleSignOn?SAMLRequest=...
[RECEIVE] 24186 bytes of text/css for resource GET https://auth.provider.tld/static/bwr/bootstrap/dist/css/bootstrap.min.css
[RECEIVE] 7053 bytes of text/css for resource GET https://auth.provider.tld/static/bwr/font-awesome/css/font-awesome.min.css
[RECEIVE] 1014 bytes of text/css for resource GET https://auth.provider.tld/static/bootstrap/css/styles.min.css
[RECEIVE] 138 bytes of text/css for resource GET https://auth.provider.tld/index.fcgi/portal.css
[RECEIVE] 30362 bytes of text/javascript for resource GET https://auth.provider.tld/static/bwr/jquery/dist/jquery.min.js
[RECEIVE] 0 bytes of text/javascript for resource GET https://auth.provider.tld/static/bwr/jquery-ui/jquery-ui.min.js
[RECEIVE] 769 bytes of text/javascript for resource GET https://auth.provider.tld/static/bwr/jquery.cookie/jquery.cookie.min.js
[RECEIVE] 752 bytes of text/javascript for resource GET https://auth.provider.tld/static/bootstrap/js/skin.min.js
[RECEIVE] 3952 bytes of text/javascript for resource GET https://auth.provider.tld/static/common/js/portal.min.js
[RECEIVE] 15319 bytes of text/javascript for resource GET https://auth.provider.tld/static/bwr/bootstrap/dist/js/bootstrap.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0
[RECEIVE] 136 bytes of application/javascript for resource GET https://auth.provider.tld/index.fcgi/psgi.js
[RECEIVE] 10947 bytes of image/png for resource GET https://auth.provider.tld/static/common/logos/logo_horizontal.png
[RECEIVE] 0 bytes of font/woff2 for resource GET https://auth.provider.tld/static/bwr/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0
[REQUEST] GET for resource https://auth.provider.tld/static/languages/fr.json
[PAGE   ] Finished loading page https://auth.provider.tld/saml/singleSignOn?SAMLRequest=...
[RECEIVE] 6584 bytes of application/json for resource GET https://auth.provider.tld/static/languages/fr.json
[REQUEST] POST for resource https://auth.provider.tld/saml/singleSignOn?SAMLRequest=...
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/bootstrap/dist/css/bootstrap.min.css
[RECEIVE] 24186 bytes of text/css for resource GET https://auth.provider.tld/static/bwr/bootstrap/dist/css/bootstrap.min.css
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/font-awesome/css/font-awesome.min.css
[RECEIVE] 7053 bytes of text/css for resource GET https://auth.provider.tld/static/bwr/font-awesome/css/font-awesome.min.css
[REQUEST] GET for resource https://auth.provider.tld/static/bootstrap/css/styles.min.css
[RECEIVE] 1014 bytes of text/css for resource GET https://auth.provider.tld/static/bootstrap/css/styles.min.css
[REQUEST] GET for resource https://auth.provider.tld/index.fcgi/portal.css
[RECEIVE] 138 bytes of text/css for resource GET https://auth.provider.tld/index.fcgi/portal.css
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/jquery/dist/jquery.min.js
[RECEIVE] 30362 bytes of text/javascript for resource GET https://auth.provider.tld/static/bwr/jquery/dist/jquery.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/jquery-ui/jquery-ui.min.js
[RECEIVE] 0 bytes of text/javascript for resource GET https://auth.provider.tld/static/bwr/jquery-ui/jquery-ui.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/jquery.cookie/jquery.cookie.min.js
[RECEIVE] 769 bytes of text/javascript for resource GET https://auth.provider.tld/static/bwr/jquery.cookie/jquery.cookie.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/bootstrap/js/skin.min.js
[RECEIVE] 752 bytes of text/javascript for resource GET https://auth.provider.tld/static/bootstrap/js/skin.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/common/js/portal.min.js
[RECEIVE] 3952 bytes of text/javascript for resource GET https://auth.provider.tld/static/common/js/portal.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/bootstrap/dist/js/bootstrap.min.js
[RECEIVE] 15319 bytes of text/javascript for resource GET https://auth.provider.tld/static/bwr/bootstrap/dist/js/bootstrap.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/common/logos/logo_horizontal.png
[RECEIVE] 10947 bytes of image/png for resource GET https://auth.provider.tld/static/common/logos/logo_horizontal.png
[REQUEST] GET for resource https://auth.provider.tld/index.fcgi/psgi.js
[RECEIVE] 136 bytes of application/javascript for resource GET https://auth.provider.tld/index.fcgi/psgi.js
[REQUEST] GET for resource https://auth.provider.tld/static/languages/fr.json
[RECEIVE] 6584 bytes of application/json for resource GET https://auth.provider.tld/static/languages/fr.json
[PAGE   ] Finished loading page https://auth.provider.tld/saml/singleSignOn?SAMLRequest=...
[RECEIVE] 1825 bytes of text/html for resource POST https://auth.provider.tld/saml/singleSignOn?SAMLRequest=...
[REQUEST] POST for resource https://auth.provider.tld/totp2fcheck
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/bootstrap/dist/css/bootstrap.min.css
[RECEIVE] 24186 bytes of text/css for resource GET https://auth.provider.tld/static/bwr/bootstrap/dist/css/bootstrap.min.css
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/font-awesome/css/font-awesome.min.css
[RECEIVE] 7053 bytes of text/css for resource GET https://auth.provider.tld/static/bwr/font-awesome/css/font-awesome.min.css
[REQUEST] GET for resource https://auth.provider.tld/static/bootstrap/css/styles.min.css
[RECEIVE] 1014 bytes of text/css for resource GET https://auth.provider.tld/static/bootstrap/css/styles.min.css
[REQUEST] GET for resource https://auth.provider.tld/index.fcgi/portal.css
[RECEIVE] 138 bytes of text/css for resource GET https://auth.provider.tld/index.fcgi/portal.css
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/jquery/dist/jquery.min.js
[RECEIVE] 30362 bytes of text/javascript for resource GET https://auth.provider.tld/static/bwr/jquery/dist/jquery.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/jquery-ui/jquery-ui.min.js
[RECEIVE] 0 bytes of text/javascript for resource GET https://auth.provider.tld/static/bwr/jquery-ui/jquery-ui.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/jquery.cookie/jquery.cookie.min.js
[RECEIVE] 769 bytes of text/javascript for resource GET https://auth.provider.tld/static/bwr/jquery.cookie/jquery.cookie.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/bootstrap/js/skin.min.js
[RECEIVE] 752 bytes of text/javascript for resource GET https://auth.provider.tld/static/bootstrap/js/skin.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/common/js/portal.min.js
[RECEIVE] 3952 bytes of text/javascript for resource GET https://auth.provider.tld/static/common/js/portal.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/bwr/bootstrap/dist/js/bootstrap.min.js
[RECEIVE] 15319 bytes of text/javascript for resource GET https://auth.provider.tld/static/bwr/bootstrap/dist/js/bootstrap.min.js
[REQUEST] GET for resource https://auth.provider.tld/static/common/logos/logo_horizontal.png
[RECEIVE] 10947 bytes of image/png for resource GET https://auth.provider.tld/static/common/logos/logo_horizontal.png
[REQUEST] GET for resource https://auth.provider.tld/static//common/js/redirect.min.js
[REQUEST] GET for resource https://auth.provider.tld/index.fcgi/psgi.js
[RECEIVE] 136 bytes of application/javascript for resource GET https://auth.provider.tld/index.fcgi/psgi.js
[RECEIVE] 6673 bytes of text/html for resource POST https://auth.provider.tld/saml
[RECEIVE] 233 bytes of text/javascript for resource GET https://auth.provider.tld/static//common/js/redirect.min.js
[PAGE   ] Finished loading page https://auth.provider.tld/saml
[REQUEST] POST for resource https://vpn.provider.tld/SAML20/SP/ACS
[PAGE   ] Finished loading page https://vpn.provider.tld/SAML20/SP/ACS
[RECEIVE] 332 bytes of text/html; charset=UTF-8 for resource POST https://vpn.provider.tld/SAML20/SP/ACS
pipoprods commented 2 days ago

I get the same behavior when using network-manager-openconnect-gnome so the issue is probably outside the scope of gp-saml-gui