linuxserver-archive / docker-openvpn-as

DEPRECATED
GNU General Public License v3.0
231 stars 92 forks source link

SESSION ERROR: SESSION: Your session has expired, please reauthenticate (9007) #116

Closed Hamsterman closed 4 years ago

Hamsterman commented 4 years ago

I have just created a fresh install of version 2.8.3.

I was able to login and change settings but after I restart the container I get this error:

SESSION ERROR: SESSION: Your session has expired, please reauthenticate (9007)

NET_ADMIN is enabled.

j0nnymoe commented 4 years ago

closing as dupe of https://github.com/linuxserver/docker-openvpn-as/issues/113

xionous commented 3 years ago

Found a possible solution to this issue for others who may still be having it.

In the database file located in the docker config folder openvpn-as/etc/db/config_local.db

row 6 "vpn.server.daemon.enable" is set to true, setting this to false gets rid of the session expired error and from what I can tell has no effect on the functionality of the VPN with this setting on false I can connect to my VPN externally with no issues. I am now running the latest version of the docker.

I found this by doing a comparison from an older version of this container 2.7.5-ls22 and in this version the DB variable is already set to false and functions fine with it set to false.

motionrus commented 3 years ago

add to compose network_mode: bridge at the end of file

xionous commented 3 years ago

add to compose network_mode: bridge at the end of file

This was absolutely not my issue, I already have this option on my container.