iw4p / OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv

[Script and Docker 🐳] OpenConnect (Cisco AnyConnect) VPN Server (OCServ) script one key easy configurator and installer
255 stars 133 forks source link

Session terminated by server; exiting #18

Closed sinashan closed 1 year ago

sinashan commented 1 year ago

Hi,

Thank you for this great and easy-to-setup guide. I successfully created an openconnect connection using your guide and everything seems to be fine. However, my connection gets terminated by the server after roughly about 4 minutes. I tried tampering with dpd and keepalive variables as I thought something had to do with them but nothing changed. Every time I get this message at the end of the connection.

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

Any ideas on how this can be fixed?

Thx

iw4p commented 1 year ago

Hello, Thank you. I think the server provider restricted your server. Some people also opened an issue, and they are looking for a solution. You can check other issues. And try other ways. Try to transfer your traffic trough ws.

sinashan commented 1 year ago

Oh I just saw that issue 🤦🏻‍♂️ I'm gonna ask the server provider because whatever is happening seems to be on the server side.

iw4p commented 1 year ago

Also try both ways to configure ocserv, docker and bash script.