Skip to content
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

Send BYE packet: Server request #17

Closed
Sahandi81 opened this issue Oct 21, 2022 · 6 comments
Closed

Send BYE packet: Server request #17

Sahandi81 opened this issue Oct 21, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@Sahandi81
Copy link

Sahandi81 commented Oct 21, 2022

Hi.
I watch youtube toturial and config the server step by step.

when I want to connect to the server with openconnect -b [SERVER IP ADDRESS]
i get this :

SSL negotiation with [SERVER IP ADDRESS]
Server certificate verify failed: signer not found

Certificate from VPN server "[SERVER IP ADDRESS]" failed verification.
Reason: signer not found

then ask me if I want to continue or NOT,
after accepting that I enter my username and password and then connected successfully.

everything is ok and I have internet access well. But after a few minutes openconnect failed with :

received server disconnect
Send BYE packet: Server request
Session terminated by server; exiting.

i tried with anyConnect Cisco(ubuntu)/openconnect(ubuntu)/openconnect(android) and give same error.
How can I fix it?

this is the ubuntu 22.04 openconnect client version :

OpenConnect version v8.20-1
Using GnuTLS 3.7.3. Features present: TPMv2, PKCS#11, RSA software token, HOTP software token, TOTP software token, Yubikey OATH, System keys, DTLS, ESP
Supported protocols: anyconnect (default), nc, gp, pulse, f5, fortinet, array
Default vpnc-script (override with --script): /usr/share/vpnc-scripts/vpnc-script

@iw4p
Copy link
Owner

iw4p commented Oct 21, 2022

Hi Sahand.
I don't know it happened from server provider or not but may I know how you configured it? By docker or shell script?
Can you test these solutions?
https://gitlab.com/openconnect/openconnect/-/issues/327

@Sahandi81
Copy link
Author

Thanks.
ocserv configuration by docker.

yes, I test it a few hours ago and I don't get my answer!!

@iw4p
Copy link
Owner

iw4p commented Oct 21, 2022

Unfortunately I'm not able to test it rn; and before the protests, it's fine. Try to change your server provider or change ocserv.conf parameters.

@iw4p iw4p added the bug Something isn't working label Nov 28, 2022
@iw4p iw4p closed this as completed Nov 28, 2022
@smarteist
Copy link

Unfortunately I'm not able to test it rn; and before the protests, it's fine. Try to change your server provider or change ocserv.conf parameters.

Set auth-timeout = 86400 in ocserv.conf

@iw4p
Copy link
Owner

iw4p commented Feb 3, 2023

Unfortunately I'm not able to test it rn; and before the protests, it's fine. Try to change your server provider or change ocserv.conf parameters.

Set auth-timeout = 86400 in ocserv.conf

By doing this, the problem will fix? You make sure of it?

@smarteist
Copy link

Unfortunately I'm not able to test it rn; and before the protests, it's fine. Try to change your server provider or change ocserv.conf parameters.

Set auth-timeout = 86400 in ocserv.conf

By doing this, the problem will fix? You make sure of it?

Yes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants