Comments (6)
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.
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.
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.
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.
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.
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)
- Cannot find/resolve intranet site HOT 2
- Saving certificates causes app to hang HOT 3
- Opennconnect-gui crash on Mac after connect to a Jupiter connect HOT 1
- Program fail to run after upgrading system to Mac OS Mojave HOT 3
- Feature request: showing bit rates in addition to the amount of data received and transmitted
- Login prompts come up but PWs are invalid HOT 1
- vpnc-script adds an invalid route to Windows routing table
- Should disable system-wide proxy when connected
- version numbers broken on macOS
- Able to connect more than one connection at the time. HOT 1
- DNS Leak on Windows 10 HOT 7
- Windows 10 DNS option isn't reverted back to default after disconnecting.
- Hide from doc on macOS HOT 1
- An error occurred installing the TAP device driver HOT 4
- Does Your Product/Program Use a Certification named "srv-build-cd"? HOT 3
- crash after connection established on Mac OS HOT 7
- read the wrong CA cert form local when connecting to server
- Always need to type password to get root privileges when startup HOT 2
- Using --no-dtls HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openconnect-gui.