Skip to content

Instantly share code, notes, and snippets.

@ikidd
Created September 9, 2021 20:58
Show Gist options
  • Save ikidd/a148be0d9e4996119fadfc661db29519 to your computer and use it in GitHub Desktop.
Save ikidd/a148be0d9e4996119fadfc661db29519 to your computer and use it in GitHub Desktop.
wgd log1
* Serving Flask app 'WGDashboard' (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
* Running on all addresses.
WARNING: This is a development server. Do not use it in a production deployment.
* Running on http://10.10.251.19:10086/ (Press CTRL+C to quit)
10.200.100.2 - - [09/Sep/2021 20:47:15] "GET /get_config/wg0?search= HTTP/1.1" 302 -
10.200.100.2 - - [09/Sep/2021 20:47:15] "GET /signin HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:15] "GET /static/js/jquery.min.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:15] "GET /static/logo.png HTTP/1.1" 404 -
10.200.100.2 - - [09/Sep/2021 20:47:16] "GET /static/js/bootstrap.bundle.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:17] "GET /static/js/tools.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:32] "GET /configuration/wg0 HTTP/1.1" 302 -
10.200.100.2 - - [09/Sep/2021 20:47:33] "GET /signin HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:33] "GET /static/js/jquery.min.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:33] "GET /static/js/bootstrap.bundle.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:33] "GET /static/js/tools.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:33] "GET /static/css/dashboard.css HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:34] "GET /static/logo.png HTTP/1.1" 404 -
10.200.100.2 - - [09/Sep/2021 20:47:38] "POST /auth HTTP/1.1" 302 -
10.200.100.2 - - [09/Sep/2021 20:47:39] "GET / HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:39] "GET /static/css/dashboard.css HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:39] "GET /static/css/bootstrap.min.css HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:39] "GET /static/js/jquery.min.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:39] "GET /static/js/bootstrap.bundle.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:39] "GET /static/js/tools.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:40] "GET /static/img/logo.png HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:43] "GET /configuration/wg0 HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:43] "GET /static/css/bootstrap.min.css HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:43] "GET /static/css/dashboard.css HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:43] "GET /static/js/jquery.min.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:43] "GET /static/js/bootstrap.bundle.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:43] "GET /static/js/tools.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:43] "GET /static/js/configuration.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:44] "GET /static/img/logo.png HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:47:44] "GET /get_config/wg0?search= HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:48:43] "GET /configuration/wg0 HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:48:44] "GET /static/css/bootstrap.min.css HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:48:44] "GET /static/css/dashboard.css HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:48:44] "GET /static/js/jquery.min.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:48:44] "GET /static/js/bootstrap.bundle.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:48:44] "GET /static/js/tools.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:48:44] "GET /static/js/configuration.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:48:45] "GET /static/img/logo.png HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:48:45] "GET /get_config/wg0?search= HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:49:45] "GET /get_config/wg0?search= HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:49:54] "GET /configuration/wg0 HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:49:55] "GET /static/css/bootstrap.min.css HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:49:55] "GET /static/css/dashboard.css HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:49:55] "GET /static/js/jquery.min.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:49:55] "GET /static/js/bootstrap.bundle.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:49:55] "GET /static/js/tools.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:49:55] "GET /static/js/configuration.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:49:56] "GET /static/img/logo.png HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:49:56] "GET /get_config/wg0?search= HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:50:57] "GET /get_config/wg0?search= HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:51:57] "GET /get_config/wg0?search= HTTP/1.1" 200 -
[#] wg showconf wg0
[#] ip link delete dev wg0
10.200.100.2 - - [09/Sep/2021 20:52:12] "GET /switch/wg0 HTTP/1.1" 302 -
[2021-09-09 20:52:12,360] ERROR in app: Exception on /configuration/wg0 [GET]
Traceback (most recent call last):
File "/usr/lib/python3.8/configparser.py", line 789, in get
value = d[option]
File "/usr/lib/python3.8/collections/__init__.py", line 898, in __getitem__
return self.__missing__(key) # support subclasses that define __missing__
File "/usr/lib/python3.8/collections/__init__.py", line 890, in __missing__
raise KeyError(key)
KeyError: 'privatekey'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2070, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1515, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1513, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1499, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "dashboard.py", line 752, in conf
config_list = get_conf_list()
File "dashboard.py", line 395, in get_conf_list
temp = {"conf": i, "status": get_conf_status(i), "public_key": get_conf_pub_key(i)}
File "dashboard.py", line 345, in get_conf_pub_key
pri = conf.get("Interface", "PrivateKey")
File "/usr/lib/python3.8/configparser.py", line 792, in get
raise NoOptionError(option, section)
configparser.NoOptionError: No option 'privatekey' in section: 'Interface'
10.200.100.2 - - [09/Sep/2021 20:52:12] "GET /configuration/wg0 HTTP/1.1" 500 -
10.200.100.2 - - [09/Sep/2021 20:52:12] "GET /favicon.ico HTTP/1.1" 404 -
[2021-09-09 20:52:19,097] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
File "/usr/lib/python3.8/configparser.py", line 789, in get
value = d[option]
File "/usr/lib/python3.8/collections/__init__.py", line 898, in __getitem__
return self.__missing__(key) # support subclasses that define __missing__
File "/usr/lib/python3.8/collections/__init__.py", line 890, in __missing__
raise KeyError(key)
KeyError: 'privatekey'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2070, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1515, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1513, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1499, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "dashboard.py", line 536, in index
return render_template('index.html', conf=get_conf_list())
File "dashboard.py", line 395, in get_conf_list
temp = {"conf": i, "status": get_conf_status(i), "public_key": get_conf_pub_key(i)}
File "dashboard.py", line 345, in get_conf_pub_key
pri = conf.get("Interface", "PrivateKey")
File "/usr/lib/python3.8/configparser.py", line 792, in get
raise NoOptionError(option, section)
configparser.NoOptionError: No option 'privatekey' in section: 'Interface'
10.200.100.2 - - [09/Sep/2021 20:52:19] "GET / HTTP/1.1" 500 -
10.200.100.2 - - [09/Sep/2021 20:52:19] "GET /favicon.ico HTTP/1.1" 404 -
10.200.100.2 - - [09/Sep/2021 20:52:20] "GET /signin HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:52:20] "GET /static/css/dashboard.css HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:52:20] "GET /static/js/jquery.min.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:52:20] "GET /static/js/bootstrap.bundle.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:52:20] "GET /static/js/tools.js HTTP/1.1" 200 -
10.200.100.2 - - [09/Sep/2021 20:52:21] "GET /static/logo.png HTTP/1.1" 404 -
10.200.100.2 - - [09/Sep/2021 20:52:23] "POST /auth HTTP/1.1" 302 -
[2021-09-09 20:52:24,285] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
File "/usr/lib/python3.8/configparser.py", line 789, in get
value = d[option]
File "/usr/lib/python3.8/collections/__init__.py", line 898, in __getitem__
return self.__missing__(key) # support subclasses that define __missing__
File "/usr/lib/python3.8/collections/__init__.py", line 890, in __missing__
raise KeyError(key)
KeyError: 'privatekey'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2070, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1515, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1513, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1499, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "dashboard.py", line 536, in index
return render_template('index.html', conf=get_conf_list())
File "dashboard.py", line 395, in get_conf_list
temp = {"conf": i, "status": get_conf_status(i), "public_key": get_conf_pub_key(i)}
File "dashboard.py", line 345, in get_conf_pub_key
pri = conf.get("Interface", "PrivateKey")
File "/usr/lib/python3.8/configparser.py", line 792, in get
raise NoOptionError(option, section)
configparser.NoOptionError: No option 'privatekey' in section: 'Interface'
10.200.100.2 - - [09/Sep/2021 20:52:24] "GET / HTTP/1.1" 500 -
10.200.100.2 - - [09/Sep/2021 20:52:24] "GET /favicon.ico HTTP/1.1" 404 -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment