Open mohsh86 opened 1 month ago
That means that something in the environment is missing and Access Server backend cannot function correctly without it. So the web interface may be up but it's unable to function correctly and then it gets stuck at the first screen where it actually really needs to do something.
You could open a command prompt to the Docker instance and go through the log file at /var/log/openvpnas.log to see if there are errors there. What I'm kind of suspecting here is that there will be errors related to iptables-restore and such not being able to load because the host doesn't offer that. And Access Server does really need that. If whatever errors are reported in that log file are resolved, the web interface should then function normally.
Since log files can contain sensitive data you may instead want to open a support ticket at https://support.openvpn.net/ as you can securely share log file data there, instead of posting it here on github in public.
For Synology there is also the alternative to run Access Server as a virtual machine on a Linux OS like Ubuntu 24.04 LTS or such using 'Virtual Machine Manager'. That's a little bit heavier than Docker but has the advantage of being a full OS so it should come with everything necessary to run Access Server, whereas the OS in Synology might be lacking something important that Access Server really needs.
I am running OpenVPN within the Synology Suite "VPN Server". But I wanted to create another OpenVPN instance to be over SSL/TLS in order to avoid DPI in workplace firewalls.
below are snippets from the docker log with all sensitive information removed
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
content -- 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/fa-light-300.woff2 HTTP/1.1" 200 157064 "https:///admin/all.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/poppins-v9-latin-regular.woff2 HTTP/1.1" 200 7968 "https:///admin/load-fonts.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/logo.png HTTP/1.1" 200 18660 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/common.js HTTP/1.1" 200 846 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/dataTables.bootstrap4.min.js HTTP/1.1" 200 2070 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/jquery.dataTables.js HTTP/1.1" 200 445793 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/tooltips.js HTTP/1.1" 200 7699 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/bootstrap-select.min.js HTTP/1.1" 200 52249 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/bootstrap-toggle.min.js HTTP/1.1" 200 4129 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/bootstrap.min.js HTTP/1.1" 200 60174 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/popper.min.js HTTP/1.1" 200 19033 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/jquery.min.js HTTP/1.1" 200 89501 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/saveAs.js HTTP/1.1" 200 2612 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/wufoo.js HTTP/1.1" 200 10854 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/open-vpn-logo.png HTTP/1.1" 200 1750 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/qrcode.js HTTP/1.1" 200 13006 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/load-fonts.css HTTP/1.1" 200 1353 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/verge.css HTTP/1.1" 200 18919 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/dataTables.bootstrap4.min.css HTTP/1.1" 200 5034 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/all.min.css HTTP/1.1" 200 79597 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/bootstrap-select.min.css HTTP/1.1" 200 11120 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/bootstrap-toggle.min.css HTTP/1.1" 200 1590 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '2024-09-28T08:15:12+0000 [twisted.python.log#info] "172.17.0.1" - - [28/Sep/2024:08:15:12 +0000] "GET /admin/bootstrap.min.css HTTP/1.1" 200 160403 "https:///admin/status_overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '\t' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '\tbuiltins.RuntimeError: Request.write called on a request after Request.finish was called.' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '\t raise RuntimeError(' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '\t File "/usr/local/openvpn_as/lib/python/Twisted-22.4.0-py3.10.egg/twisted/web/http.py", line 1194, in write' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '\t http.Request.write(self, data)' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '\t File "/usr/local/openvpn_as/lib/python/Twisted-22.4.0-py3.10.egg/twisted/web/server.py", line 267, in write' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '\t request.write(doctype)' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '\t File "/usr/local/openvpn_as/lib/python/Twisted-22.4.0-py3.10.egg/twisted/web/_template_util.py", line 1081, in renderElement' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '\t ' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '\t File "build/bdist.linux-x86_64/egg/pyovpn/web/webbase.py", line 159, in render' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '\t ' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '\t File "build/bdist.linux-x86_64/egg/pyovpn/web/admin/verge.py", line 159, in cb' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '\t current.result = callback( # type: ignore[misc]' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '\t File "/usr/local/openvpn_as/lib/python/Twisted-22.4.0-py3.10.egg/twisted/internet/defer.py", line 857, in _runCallbacks' 2024-09-28T08:15:12+0000 [stdout#info] [WEB] OUT: '\t---
Running docker image in Synology NAS. Initial setup went fine.
When navigating to admin page however, I am presented with EULA and an "Agree" button.
no matter how much I click "Agree", the page refresh back to EULA Chrome debug looks fine