-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WARN gpgui::portal_connector] Failed to connect to the portal: Prelogin error: Invalid prelogin response #357
Comments
It seems that the portal pre-login endpoint returns an invalid XML response. What's the response of |
Looks like Success:
|
Hi @keisner can you help try this to see if it works for you.
Please provide the full logs if it still fails. |
I have done this a few times and switched portals. This did not work at allOn May 7, 2024, at 11:56 AM, Kevin Yue ***@***.***> wrote:
Hi @keisner can you help try this to see if it works for you.
Click the top left menu, select Clear Credentials
Click the icon of the portal input
image.png (view on web)
Select the Portal Server
image.png (view on web)
Connect it again.
Please provide the full logs if it still fails.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Have this client ever worked for you? |
Yes. When I was version 9On May 7, 2024, at 12:12 PM, Kevin Yue ***@***.***> wrote:
Have this client ever worked for you?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
What do you mean by version 9? Version 2.0.0-beta9? |
Panos9
…On Tue, May 7, 2024 at 9:13 PM Kevin Yue ***@***.***> wrote:
Yes. When I was version 9
What do you mean by version 9? Version 2.0.0-beta9?
—
Reply to this email directly, view it on GitHub
<#357 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALMD4QZFNTVIE5LO7O3XNVTZBF33PAVCNFSM6AAAAABHJQYDRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJZGU2DSNRTGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @keisner I can reproduce a similar error using this prelogin response. Have you tried using the official client on macOS/Windows to connect this portal? Do they work for you? |
The windows one does work. I even tested a known working version in the
configuration.
…On Wed, May 8, 2024 at 9:25 PM Kevin Yue ***@***.***> wrote:
Looks like Success:
<prelogin-response>
<status>Success</status>
<ccusername/>
<autosubmit>false</autosubmit>
<msg/>
<newmsg/>
<authentication-message>Enter login credentials</authentication-message>
<username-label/>
<password-label/>
<panos-version>1</panos-version>
<saml-default-browser>yes</saml-default-browser>
<auth-api>no</auth-api>
<region>US</region>
</prelogin-response>
Hi @keisner <https://github.com/keisner> I can reproduce a similar error
using this prelogin response.
Have you tried using the official client on macOS/Windows to connect this
portal? Do they work for you?
—
Reply to this email directly, view it on GitHub
<#357 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALMD4QY6ML24DIJQNE5M4L3ZBLGBFAVCNFSM6AAAAABHJQYDRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBRG42TSMBWGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I guess the official client asked you to input the username and password. Is that right? If yes, the reason might be that the prelogin response doesn't have values for |
Yes you are correct. My username and password had to be entered.
Is there anything I can attempt to do on my end to assist in testing?
…On Wed, May 8, 2024 at 9:53 PM Kevin Yue ***@***.***> wrote:
I guess the official client asked you to input the username and password.
Is that right? If yes, the reason might be that the prelogin response
doesn't have values for username-label and password-label, this could
fail parsing the prelogin response. I can use the fallback value for them.
—
Reply to this email directly, view it on GitHub
<#357 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALMD4Q7B6BFB2VQDCVT4DQ3ZBLJIHAVCNFSM6AAAAABHJQYDRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBRG44DONZYGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I will provide a test package later today, you can give it a try. |
Okay thanks!
…On Wed, May 8, 2024 at 10:02 PM Kevin Yue ***@***.***> wrote:
I will provide a test package later today, you can give it a try.
—
Reply to this email directly, view it on GitHub
<#357 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALMD4Q5NJ2JSEQJ4JX2DBI3ZBLKLVAVCNFSM6AAAAABHJQYDRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBRG44TKOJUGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@keisner, you can try the test package from https://github.com/yuezk/GlobalProtect-openconnect/releases/tag/snapshot. Remember to uninstall the |
I tried with no success:
[2024-05-09T14:18:36Z INFO gpgui::handlers::subscription] Sent the init
event to client: main
[2024-05-09T14:18:41Z INFO gpgui::handlers::subscription] Sending the init
event to client: settings
[2024-05-09T14:18:41Z INFO gpgui::handlers::subscription] Sent the init
event to client: settings
[2024-05-09T14:52:40Z INFO gpgui::handlers::subscription] Sending the init
event to client: main
[2024-05-09T14:52:40Z INFO gpgui::handlers::subscription] Sent the init
event to client: main
[2024-05-09T14:53:01Z INFO gpgui::handlers::subscription] Sending the init
event to client: settings
[2024-05-09T14:53:01Z INFO gpgui::handlers::subscription] Sent the init
event to client: settings
[2024-05-09T15:06:42Z INFO gpgui::handlers::subscription] Sending the init
event to client: main
[2024-05-09T15:06:42Z INFO gpgui::handlers::subscription] Sent the init
event to client: main
[2024-05-09T15:07:13Z INFO gpgui::portal_connector] Connecting to the
portal: v**********m...
[2024-05-09T15:07:13Z INFO gpgui::portal_connector] Trying to connect the
gateway directly...
[2024-05-09T15:07:13Z INFO gpgui::portal_connector] Failed to connect the
gateway directly: No portal connection found
[2024-05-09T15:07:13Z INFO gpgui::portal_connector] Trying to connect
portal with cached credential...
[2024-05-09T15:07:13Z INFO gpgui::portal_connector] Failed to connect
portal with cached credential: No cached credential found for the portal
[2024-05-09T15:07:13Z INFO gpgui::portal_connector] Trying to connect the
portal with prelogin...
[2024-05-09T15:07:13Z INFO gpgui::portal_connector] Performing portal
prelogin...
[2024-05-09T15:07:13Z INFO gpapi::portal::prelogin] Portal prelogin with
user_agent: PAN GlobalProtect/5.2.6 (Microsoft Windows 11 Pro , 64-bit)
[2024-05-09T15:07:20Z WARN gpapi::portal::prelogin] Parse response error,
response: <?xml version="1.0" encoding="UTF-8" ?>
[2024-05-09T15:07:20Z INFO gpgui::portal_connector] Failed to connect the
portal with prelogin: Prelogin error: Invalid prelogin response
[2024-05-09T15:07:20Z INFO gpgui::portal_connector] Trying to connect the
portal as a gateway...
[2024-05-09T15:07:20Z INFO gpgui::portal_connector] Gateway prelogin,
gateway: v**********m...
[2024-05-09T15:07:20Z INFO gpapi::portal::prelogin] Gateway prelogin with
user_agent: PAN GlobalProtect/5.2.6 (Microsoft Windows 11 Pro , 64-bit)
[2024-05-09T15:07:20Z WARN gpapi::portal::prelogin] Parse response error,
response: <?xml version="1.0" encoding="UTF-8" ?>
[2024-05-09T15:07:20Z WARN gpgui::portal_connector] Failed to connect to
the portal: Prelogin error: Invalid prelogin response
[2024-05-09T15:07:42Z INFO gpgui::handlers::subscription] Sending the init
event to client: settings
[2024-05-09T15:07:42Z INFO gpgui::handlers::subscription] Sent the init
event to client: settings
…On Thu, May 9, 2024 at 6:14 AM Kevin Yue ***@***.***> wrote:
@keisner <https://github.com/keisner>, you can try the test package from
https://github.com/yuezk/GlobalProtect-openconnect/releases/tag/snapshot.
Remember to uninstall the globalprotect-openconnect package before
installing the test package.
—
Reply to this email directly, view it on GitHub
<#357 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALMD4Q3N5XM3HKWCUNZQMB3ZBND7ZAVCNFSM6AAAAABHJQYDRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBSGM3TEMZXGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @keisner would you mind send me your portal address via email [email protected]? So I can investigate it. The credentials are not needed. |
I emailed you
…On Thu, May 9, 2024 at 12:10 PM Kevin Yue ***@***.***> wrote:
Hi @keisner <https://github.com/keisner> would you mind send me your
portal address via email ***@***.***? So I can investigate it. The
credentials are not needed.
—
Reply to this email directly, view it on GitHub
<#357 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALMD4Q4PUO263PIA3BNQUKDZBONYBAVCNFSM6AAAAABHJQYDRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBSHE3TENZTGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @keisner, it works for me with your VPN portal. I'm afraid this is related to the installation process. What's your OS and how did you install the old client? Anyway, you can try these steps to see if it works for you:
|
That seems to have worked! I think it was just needing line 3. Thanks so
much for your help!
…On Thu, May 9, 2024 at 9:16 PM Kevin Yue ***@***.***> wrote:
Hi @keisner <https://github.com/keisner>, it works for me with your VPN
portal. I'm afraid this is related to the installation process. What's your
OS and how did you install the old client?
Anyway, you can try these steps to see if it works for you:
1. Quit the client
2. Remove the package from your system.
3. Run sudo rm -f /usr/bin/gpgui to ensure the old gpgui binary is
removed.
4. Install the test package from
https://github.com/yuezk/GlobalProtect-openconnect/releases/tag/snapshot
5. Launch the GUI client, which will download the snapshot gpgui
dynamically.
6. Check if it works for you.
—
Reply to this email directly, view it on GitHub
<#357 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALMD4Q7B7FCCM435IGOD5NDZBQNXLAVCNFSM6AAAAABHJQYDRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBTGY3TQMZQGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Glad it worked for you. I will release the fix in v2.2.2 |
Thanks so much!
…On Wed, May 15, 2024 at 1:40 AM Kevin Yue ***@***.***> wrote:
Glad it worked for you. I will release the fix in v2.2.2
—
Reply to this email directly, view it on GitHub
<#357 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALMD4Q2JZYHL73XTBAGJVOTZCLYM5AVCNFSM6AAAAABHJQYDRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJRGYZDMNRYGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Released in 2.3.0, closing. |
I continue to get the error Invalid prelogin response. I have tried changing most of the settings in the client, along with the "Versioning". Please see logs below:
Location: /home/cooljoe51/.local/share/gpclient/gpclient.log
The text was updated successfully, but these errors were encountered: