Forums

×

Warning

JUser: :_load: Unable to load user with ID: 379061
Resolved
0 votes
I can connect to OpenVPN with no errors, but after a couple of minutes, the connection drops - again no error shown in /var/log/messages. Then the OpenVPN prompt asks me to login again after about 5 minutes.

The only error I have found is this in /var/log/secure:

gateway openvpn: pam_unix(openvpn:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=jthomann


I am on OpenVPN 2.4.6

EDIT: I guess the issue was that I couldn't be logged into the VPN on more than one pc.
In VPN
Thursday, August 01 2019, 11:17 PM
Share this post:
Responses (5)
  • Accepted Answer

    Tuesday, January 23 2024, 08:18 AM - #Permalink
    Resolved
    0 votes
    Examine the OpenVPN logs for any additional error messages or warnings. The logs are typically located in /var/log/openvpn.log or /var/log/syslog. Look for clues as to why the connection is dropping.wordle
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 02 2023, 03:03 AM - #Permalink
    Resolved
    0 votes
    A warning would appear in the connection logs, as well as frequent disconnects. geometry dash scratch
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 31 2023, 08:38 AM - #Permalink
    Resolved
    0 votes
    Continue to monitor your log files for any additional error messages or details. These logs can provide valuable information for troubleshooting.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, October 09 2023, 09:07 AM - #Permalink
    Resolved
    0 votes
    And there would be a warning in the connection logs as well as frequent disconnects. It is possible to circumvent it by adding an extra parameter to the /etc/openvpn/clients.conf file, however doing so is not often advised and will cause issues if you do. When you're on the go, utilize a mobile device like a phone with it. With OpenVPN, your IP address will continually changing, and if you have open files, the server may lock them because it believes another device has opened them. Retro Bowl College
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 02 2019, 07:52 AM - #Permalink
    Resolved
    1 votes
    Yes that would cause frequent disconnects and a warning in the connection logs. It is possible to get round it with an extra parameter in the /etc/openvpn/clients.conf but is not generally recommended and will give problems if you ever use it use it with a mobile device such a as a cell phone when on the move. You will keep getting a new IP address from OpenVPN and if you have open documents you will end up with file locks as the server thinks they have been opened by a different device.
    The reply is currently minimized Show
Your Reply