$ ./
start_openplc.sh * Serving Flask app 'webserver'
* Debug mode: off
Traceback (most recent call last):
File "/usr/lib/python3.9/encodings/idna.py", line 179, in encode
result.extend(ToASCII(label))
File "/usr/lib/python3.9/encodings/idna.py", line 74, in ToASCII
label = nameprep(label)
File "/usr/lib/python3.9/encodings/idna.py", line 38, in nameprep
raise UnicodeError("Invalid character %r" % c)
UnicodeError: Invalid character '\udcb5'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/csccsc/OpenPLC_v3/webserver/webserver.py", line 2436, in <module>
app.run(debug=False, host='0.0.0.0', threaded=True, port=8080)
File "/home/csccsc/OpenPLC_v3/.venv/lib/python3.9/site-packages/flask/app.py", line 889, in run
run_simple(t.cast(str, host), port, self, **options)
File "/home/csccsc/OpenPLC_v3/.venv/lib/python3.9/site-packages/werkzeug/serving.py", line 1075, in run_simple
srv = make_server(
File "/home/csccsc/OpenPLC_v3/.venv/lib/python3.9/site-packages/werkzeug/serving.py", line 915, in make_server
return ThreadedWSGIServer(
File "/home/csccsc/OpenPLC_v3/.venv/lib/python3.9/site-packages/werkzeug/serving.py", line 748, in __init__
self.server_bind()
File "/usr/lib/python3.9/http/server.py", line 139, in server_bind
self.server_name = socket.getfqdn(host)
File "/usr/lib/python3.9/socket.py", line 794, in getfqdn
hostname, aliases, ipaddrs = gethostbyaddr(name)
UnicodeError: encoding with 'idna' codec failed (UnicodeError: Invalid character '\udcb5')
What's the problem?