{"action":"created","issue":{"url":"https://api.github.com/repos/pritunl/pritunl/issues/158","labels_url":"https://api.github.com/repos/pritunl/pritunl/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/pritunl/pritunl/issues/158/comments","events_url":"https://api.github.com/repos/pritunl/pritunl/issues/158/events","html_url":"https://github.com/pritunl/pritunl/issues/158","id":105418014,"number":158,"title":"Server stopped unexpectedly","user":{"login":"zachhuff386","id":1305774,"avatar_url":"https://avatars.githubusercontent.com/u/1305774?v=3","gravatar_id":"","url":"https://api.github.com/users/zachhuff386","html_url":"https://github.com/zachhuff386","followers_url":"https://api.github.com/users/zachhuff386/followers","following_url":"https://api.github.com/users/zachhuff386/following{/other_user}","gists_url":"https://api.github.com/users/zachhuff386/gists{/gist_id}","starred_url":"https://api.github.com/users/zachhuff386/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachhuff386/subscriptions","organizations_url":"https://api.github.com/users/zachhuff386/orgs","repos_url":"https://api.github.com/users/zachhuff386/repos","events_url":"https://api.github.com/users/zachhuff386/events{/privacy}","received_events_url":"https://api.github.com/users/zachhuff386/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pritunl/pritunl/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2015-09-08T16:23:45Z","updated_at":"2015-09-30T11:51:08Z","closed_at":null,"body":"**Fixed in v1.5.743.11**\r\n\r\nThere have been a few reports of servers stopping unexpectedly. If you are experiencing the issue include the information listed below.\r\n\r\n**For log/server output and any multi-line output from system info place *```* before and after the output. Example:**\r\n\r\n*```*\r\nMultiple\r\nOutput\r\nLines\r\n*```*\r\n\r\n### Setup Info\r\n\r\n**Use case for vpn:**\r\n\r\n### Server Settings\r\n\r\nOpen the server settings and click *Advanced* at the top right then fill in the settings below:\r\n\r\n**Protocol:**\r\n**Network:**\r\n**DNS Server:**\r\n**Mode:**\r\n**Allow Multiple Devices:**\r\n**Enable Two-Step Authentication:**\r\n**DH Param Bits:**\r\n**Encryption Cipher:**\r\n**DNS Search Domain:**\r\n**Ping Interval:**\r\n**Ping Timeout:**\r\n**Max Clients:**\r\n**Inter-Client Communication:**\r\n\r\n### Server Output\r\n\r\nInclude the output and any errors shown on the server output in the web console on the servers page.\r\n\r\n### Server Logs\r\n\r\nConnect to the server with ssh and run the command `pritunl logs --limit=1000` and include any errors. The full stack trace will need to be included if it is shown with the error, including the log message that occurs after the error so that there are two lines showing a name and timestamp. Below is an example error:\r\n\r\n```\r\n[evening-fields-8187][2015-09-08 12:13:27,863][ERROR] Exception on /status [GET]\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/site-packages/flask/app.py\", line 1817, in wsgi_app\r\n    response = self.full_dispatch_request()\r\n  File \"/usr/lib/python2.7/site-packages/flask/app.py\", line 1477, in full_dispatch_request\r\n    rv = self.handle_user_exception(e)\r\n  File \"/usr/lib/python2.7/site-packages/flask/app.py\", line 1381, in handle_user_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"/usr/lib/python2.7/site-packages/flask/app.py\", line 1475, in full_dispatch_request\r\n    rv = self.dispatch_request()\r\n  File \"/usr/lib/python2.7/site-packages/flask/app.py\", line 1461, in dispatch_request\r\n    return self.view_functions[rule.endpoint](**req.view_args)\r\n  File \"/media/server/ssd/github/pritunl/pritunl/auth/app.py\", line 9, in _wrapped\r\n    return call(*args, **kwargs)\r\n  File \"/media/server/ssd/github/pritunl/pritunl/handlers/status.py\", line 13, in status_get\r\n    raise Exception('test')\r\nException: test\r\n[evening-fields-8187][2015-09-08 12:14:01,486][INFO] 127.0.0.1 - - [08/Sep/2015 12:14:01] \"GET /status HTTP/1.1\" 500 \r\n```\r\n\r\n### System Info\r\n\r\nThe following system info will be needed:\r\n\r\n**Hosting provider:**\r\n**Linux distribution and release version:**\r\n**Output of `pritunl version`:**\r\n**Output of `openvpn --version`:**\r\n**Output of `free -h`:**\r\n**Output of `dh -h`:**\r\n**Output of `cat /etc/*-release`:**"},"comment":{"url":"https://api.github.com/repos/pritunl/pritunl/issues/comments/144373355","html_url":"https://github.com/pritunl/pritunl/issues/158#issuecomment-144373355","issue_url":"https://api.github.com/repos/pritunl/pritunl/issues/158","id":144373355,"user":{"login":"dcplaya","id":1105320,"avatar_url":"https://avatars.githubusercontent.com/u/1105320?v=3","gravatar_id":"","url":"https://api.github.com/users/dcplaya","html_url":"https://github.com/dcplaya","followers_url":"https://api.github.com/users/dcplaya/followers","following_url":"https://api.github.com/users/dcplaya/following{/other_user}","gists_url":"https://api.github.com/users/dcplaya/gists{/gist_id}","starred_url":"https://api.github.com/users/dcplaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcplaya/subscriptions","organizations_url":"https://api.github.com/users/dcplaya/orgs","repos_url":"https://api.github.com/users/dcplaya/repos","events_url":"https://api.github.com/users/dcplaya/events{/privacy}","received_events_url":"https://api.github.com/users/dcplaya/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T11:51:08Z","updated_at":"2015-09-30T11:51:08Z","body":"```\r\n[root@pritunl ~]# pritunl log\r\nTraceback (most recent call last):\r\n  File \"/bin/pritunl\", line 9, in <module>\r\n    load_entry_point('pritunl==1.6.747.62', 'console_scripts', 'pritunl')()\r\n  File \"/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/__main__.py\", line 117, in main\r\n    raise ValueError('Invalid command')\r\nValueError: Invalid command\r\n```\r\n\r\nWhile the VPN server logs end up repeating this constantly\r\n\r\n```\r\n[restless-thunder-1483] Wed Sep 30 07:50:14 2015   push \"route 192.168.0.0 255.255.0.0\"\r\n[restless-thunder-1483] Options error: In [CMD-LINE]:1: Error opening configuration file: /tmp/pritunl_7e222a543cb249d183b7417f2c73713d/3861e8ed476144bcb8fc5a20d97e231f/openvpn.conf\r\n[restless-thunder-1483] Use --help for more information.\r\n[restless-thunder-1483] Wed Sep 30 07:50:26 2015 ERROR Management socket exception\r\n```"}}