yuezk / GlobalProtect-openconnect

A GlobalProtect VPN client for Linux, written in Rust, based on OpenConnect and Tauri, supports SSO with MFA, Yubikey, and client certificate authentication, etc.
GNU General Public License v3.0
1.37k stars 153 forks source link

can't login into my server #414

Open AstritTola opened 2 months ago

AstritTola commented 2 months ago

Describe the bug I am trying to enter utdvpn but it does not allow me, it says 'got invalid token'

Expected behavior I expect to connect to vpn, it is urgent

Screenshots If applicable, add screenshots to help explain your problem.

Logs

Environment:

Additional context Add any other context about the problem here.

yuezk commented 2 months ago

What’s the detailed logs?

AstritTola commented 2 months ago

I tried the command given, but it seems I have no permission, 'Permission denied'. I do not to get them in any other way

yuezk commented 2 months ago

Run sudo gpclient connect <portal> and collect the outputs.

AstritTola commented 2 months ago

Hello, these are the information I got from running the command:

[2024-09-02T02:27:01Z INFO gpclient::cli] gpclient started: 2.3.7 (2024-08-16) [2024-09-02T02:27:01Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T02:27:01Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T02:27:01Z INFO gpauth::cli] gpauth started: 2.3.7 (2024-08-16)

AstritTola commented 2 months ago

This is the full output: 2024-09-02T02:27:01Z INFO gpclient::cli] gpclient started: 2.3.7 (2024-08-16) [2024-09-02T02:27:01Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T02:27:01Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T02:27:01Z INFO gpauth::cli] gpauth started: 2.3.7 (2024-08-16) [2024-09-02T02:27:26Z INFO gpauth::auth_window] Open auth window, user_agent: PAN GlobalProtect [2024-09-02T02:27:26Z INFO gpauth::auth_window] Auth window user agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15 [2024-09-02T02:27:26Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T02:27:27Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T02:27:27Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T02:27:27Z INFO gpauth::auth_window] No headers found in response [2024-09-02T02:27:27Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T02:27:27Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T02:27:27Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T02:27:27Z INFO gpauth::auth_window] Raise window in 1 second(s) [2024-09-02T02:27:27Z INFO gpauth::auth_window] Raise window cancelled [2024-09-02T02:27:27Z WARN gpauth::auth_window] Failed to load uri: https://i**********u/idp/profile/SAML2/POST/SSO with error: UNKNOWN_CA, cert: TlsCertificate [2024-09-02T02:27:27Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO [2024-09-02T02:27:27Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T02:27:27Z WARN gpauth::auth_window] Failed to send auth event: channel closed [2024-09-02T02:27:27Z INFO gpclient::connect] Failed to connect portal with prelogin: TLS error: certificate verify failed

Error: TLS error: certificate verify failed

Re-run it with the --ignore-tls-errors option to ignore the certificate error, e.g.:

gpclient --ignore-tls-errors connect utdvpn.utdallas.edu

yuezk commented 2 months ago

@AstritTola did you run it with the --ignore-tls-errors connect parameter?

AstritTola commented 2 months ago

I just tried it, still I couldn't enter, it says invalid token. Below is the output:

2024-09-02T03:24:11Z INFO gpclient::cli] gpclient started: 2.3.7 (2024-08-16) [2024-09-02T03:24:11Z INFO gpclient::cli] TLS errors will be ignored [2024-09-02T03:24:11Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:11Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:11Z INFO gpauth::cli] gpauth started: 2.3.7 (2024-08-16) [2024-09-02T03:24:11Z INFO gpauth::cli] TLS errors will be ignored [2024-09-02T03:24:11Z INFO gpauth::auth_window] Open auth window, user_agent: PAN GlobalProtect [2024-09-02T03:24:11Z INFO gpauth::auth_window] Auth window user agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15 [2024-09-02T03:24:11Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:11Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:11Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:11Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:11Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:11Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:11Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:11Z INFO gpauth::auth_window] Raise window in 1 second(s) [2024-09-02T03:24:11Z INFO gpauth::auth_window] Raise window cancelled [2024-09-02T03:24:12Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO?execution=e**********1 [2024-09-02T03:24:12Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:12Z INFO gpauth::auth_window] No saml-auth-status header found [2024-09-02T03:24:12Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:12Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:12Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:12Z INFO gpauth::auth_window] Raise window in 1 second(s) [2024-09-02T03:24:14Z INFO gpapi::utils::window] Window not raised: Failed to raise window: GlobalProtect Login [2024-09-02T03:24:35Z INFO gpauth::auth_window] Loaded uri: https://a**********m/frame/frameless/v4/auth?sid=f**********1&tx=e**********A&req-trace-group=b**********6 [2024-09-02T03:24:35Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:35Z INFO gpauth::auth_window] No saml-auth-status header found [2024-09-02T03:24:35Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:35Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:35Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:36Z INFO gpauth::auth_window] Loaded uri: https://a**********m/frame/v4/preauth/healthcheck?sid=f**********1 [2024-09-02T03:24:36Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:36Z INFO gpauth::auth_window] No saml-auth-status header found [2024-09-02T03:24:36Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:36Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:36Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:37Z WARN gpauth::auth_window] Failed to load uri: https://a**********m/frame/v4/return?sid=f**********1 with error: Load request cancelled [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: https://a**********m/frame/v4/return?sid=f**********1 [2024-09-02T03:24:37Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:37Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:37Z WARN gpauth::auth_window] Failed to load uri: https://a**********m/frame/v4/return?sid=f**********1 with error: Load request cancelled [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: https://a**********m/frame/v4/return?sid=f**********1 [2024-09-02T03:24:37Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:37Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:37Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:37Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:37Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:37Z WARN gpauth::auth_window] Failed to load uri: https://i**********u/idp/profile/SAML2/POST/SSO with error: Load request cancelled [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO [2024-09-02T03:24:37Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:37Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:37Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:37Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:37Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:37Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:37Z WARN gpauth::auth_window] Failed to load uri: https://i**********u/idp/profile/SAML2/POST/SSO with error: Load request cancelled [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO [2024-09-02T03:24:37Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:37Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:37Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:37Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:37Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:37Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:37Z WARN gpauth::auth_window] Failed to load uri: https://i**********u/idp/profile/SAML2/POST/SSO with error: Load request cancelled [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO [2024-09-02T03:24:37Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:37Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:37Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:37Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:37Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:37Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:37Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:37Z WARN gpauth::auth_window] Failed to load uri: https://i**********u/idp/profile/SAML2/POST/SSO with error: Load request cancelled [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO [2024-09-02T03:24:37Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:37Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:37Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:37Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:37Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:37Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:37Z WARN gpauth::auth_window] Failed to load uri: https://i**********u/idp/profile/SAML2/POST/SSO with error: Load request cancelled [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO [2024-09-02T03:24:37Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:37Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:37Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:37Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:37Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:37Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:37Z WARN gpauth::auth_window] Failed to load uri: https://i**********u/idp/profile/SAML2/POST/SSO with error: Load request cancelled [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO [2024-09-02T03:24:37Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:37Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:37Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:37Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:37Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:37Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:37Z WARN gpauth::auth_window] Failed to load uri: https://i**********u/idp/profile/SAML2/POST/SSO?execution=e**********1 with error: Load request cancelled [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO?execution=e**********1 [2024-09-02T03:24:37Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:37Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:37Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:37Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:37Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:37Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:37Z WARN gpauth::auth_window] Failed to load uri: https://i**********u/idp/profile/SAML2/POST/SSO with error: Load request cancelled [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO [2024-09-02T03:24:37Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:37Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:37Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:37Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:37Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:37Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:37Z WARN gpauth::auth_window] Failed to load uri: https://i**********u/idp/profile/SAML2/POST/SSO?execution=e**********1 with error: Load request cancelled [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO?execution=e**********1 [2024-09-02T03:24:37Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:37Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:37Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:37Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:37Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:37Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:37Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:37Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:38Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:38Z WARN gpauth::auth_window] Failed to load uri: https://i**********u/idp/profile/SAML2/POST/SSO with error: Load request cancelled [2024-09-02T03:24:38Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO [2024-09-02T03:24:38Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:38Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:38Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:38Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:38Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:38Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:38Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:38Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:38Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:38Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:38Z WARN gpauth::auth_window] Failed to load uri: https://i**********u/idp/profile/SAML2/POST/SSO with error: Load request cancelled [2024-09-02T03:24:38Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO [2024-09-02T03:24:38Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:38Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:38Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:38Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:38Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:38Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:38Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:38Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:38Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:38Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:38Z WARN gpauth::auth_window] Failed to load uri: https://i**********u/idp/profile/SAML2/POST/SSO with error: Load request cancelled [2024-09-02T03:24:38Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO [2024-09-02T03:24:38Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:38Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:38Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:38Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:38Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:38Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:38Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:38Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:38Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:38Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:38Z WARN gpauth::auth_window] Failed to load uri: https://i**********u/idp/profile/SAML2/POST/SSO?execution=e**********1 with error: Load request cancelled [2024-09-02T03:24:38Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO?execution=e**********1 [2024-09-02T03:24:38Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:38Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:38Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:38Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:38Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:38Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:38Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:38Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:38Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:38Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:38Z WARN gpauth::auth_window] Failed to load uri: https://i**********u/idp/profile/SAML2/POST/SSO with error: Load request cancelled [2024-09-02T03:24:38Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO [2024-09-02T03:24:38Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:38Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:38Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:38Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:38Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:38Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:38Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:38Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:38Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:38Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:38Z WARN gpauth::auth_window] Failed to load uri: https://i**********u/idp/profile/SAML2/POST/SSO?execution=e**********1 with error: Load request cancelled [2024-09-02T03:24:38Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO?execution=e**********1 [2024-09-02T03:24:38Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:38Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:38Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:38Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:38Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:38Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:38Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:38Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:38Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:38Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:38Z WARN gpauth::auth_window] Failed to load uri: https://i**********u/idp/profile/SAML2/POST/SSO?execution=e**********1 with error: Load request cancelled [2024-09-02T03:24:38Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO?execution=e**********1 [2024-09-02T03:24:38Z INFO gpauth::auth_window] No response found in main resource [2024-09-02T03:24:38Z INFO gpauth::auth_window] Got invalid auth data, retrying... [2024-09-02T03:24:38Z INFO gpapi::portal::prelogin] Portal prelogin with user_agent: PAN GlobalProtect [2024-09-02T03:24:38Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:38Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:38Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:38Z INFO gpapi::portal::prelogin] Perform prelogin, user_agent: PAN GlobalProtect [2024-09-02T03:24:38Z INFO gpauth::auth_window] Injected loading element successfully [2024-09-02T03:24:38Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:38Z INFO gpauth::auth_window] Load the SAML request as HTML... [2024-09-02T03:24:38Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO?execution=e**********1 [2024-09-02T03:24:38Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:38Z INFO gpauth::auth_window] No saml-auth-status header found [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:38Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:38Z INFO gpauth::auth_window] Loaded uri: about:blank [2024-09-02T03:24:38Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:38Z INFO gpauth::auth_window] No headers found in response [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:38Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint [2024-09-02T03:24:38Z INFO gpauth::auth_window] Loaded uri: https://i**********u/idp/profile/SAML2/POST/SSO?execution=e**********1 [2024-09-02T03:24:38Z INFO gpauth::auth_window] Trying to read auth data from response headers... [2024-09-02T03:24:38Z INFO gpauth::auth_window] No saml-auth-status header found [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found in headers, trying to read from body... [2024-09-02T03:24:38Z INFO gpauth::auth_window] Failed to read auth data from body: No auth data found [2024-09-02T03:24:38Z INFO gpauth::auth_window] No auth data found, it may not be the /SAML20/SP/ACS endpoint

yuezk commented 2 months ago

@AstritTola you can try using the external browser for the authentication. sudo gpclient --ignore-tls-errors connect --default-browser <portal>