Giter Club home page Giter Club logo

Comments (6)

rawIce avatar rawIce commented on June 2, 2024 2

hi horar,
i got feedback on gitlab and they basically say everything is working as expected.

This is expected behaviour. OpenConnect creates one VPN connection, and lasts for as long as that VPN session does. When the session expires — which seems to have happened in this case, because the login cookie stopped working — you need to log in again with the original username/password/OTP/certificate/etc.
To do that, you initiate a new connection with OpenConnect.
I think what you're really asking for is a feature request for openconnect-gui which would automatically connect and authenticate, having saved the password somewhere?
https://gitlab.com/openconnect/openconnect/issues/29

So could we add that simple change in behavior as a feature request? I think that might help a lot of users. Thanks a lot in advance!

from openconnect-gui.

horar avatar horar commented on June 2, 2024

Thanks for report. Could you please try it with bundled console client? (in admin terminal) - just to identify the source of problem (gui or library). Thanks.

from openconnect-gui.

rawIce avatar rawIce commented on June 2, 2024

thanks for your response. I just tested inside command prompt, the result looks similar.

Route configuration done.
...
DTLS Dead Peer Detection detected dead peer!
SSL read error: Error in the pull function.; reconnecting.
...
Failed to reconnect to host some.host.de: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
sleep 60s, remaining timeout 750s
Failed to reconnect to host some.host.de: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
sleep 70s, remaining timeout 690s
SSL negotiation with some.host.de
Connected to HTTPS on some.host.de
Got inappropriate HTTP CONNECT response: HTTP/1.1 401 Unauthorized
Cookie is no longer valid, ending session
Reconnect failed
...
Cookie was rejected on reconnection; exiting.

from openconnect-gui.

horar avatar horar commented on June 2, 2024

looks like openconnect library issue. Could you please try the last openconnect-gui snapshot (2019.01.18) from here:
https://github.com/openconnect/openconnect-gui/blob/develop/docs/snapshots.md

if it will not help, then please raise issue in openconnect library project:
https://gitlab.com/openconnect/openconnect/issues

from openconnect-gui.

rawIce avatar rawIce commented on June 2, 2024

with that build I am able to pipe the password into command line (probably due to fix in version 8.00 - an other issue I have not mentioned so far) but the issue I have reported here regarding reconnection stays the same.

Send CSTP DPD
Got CSTP DPD response
Send CSTP DPD
Send CSTP DPD
SSL read error: Error in the pull function.; reconnecting.
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
...
Failed to reconnect to host some.host.de: A connection attempt failed beca
use the connected party did not properly respond after a period of time, or esta
blished connection failed because connected host has failed to respond.
sleep 70s, remaining timeout 690s
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
.
SSL negotiation with some.host.de
Connected to HTTPS on some.host.de
Got inappropriate HTTP CONNECT response: HTTP/1.1 401 Unauthorized
Cookie is no longer valid, ending session
Reconnect failed
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
.
Cookie was rejected on reconnection; exiting.

from openconnect-gui.

horar avatar horar commented on June 2, 2024

thanks for update; pls. report/discuss this with openconnect maintainer; issue looks to be outside of GUI (this project is only smal gui on top of mentioned library/tool)

from openconnect-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.