ElasticHQ / elasticsearch-HQ

Monitoring and Management Web Application for ElasticSearch instances and clusters.
http://www.elastichq.org
Other
4.96k stars 532 forks source link

When running have an exception dns.name.EmptyLabel: A DNS label is empty #511

Closed myhazbo1995 closed 3 years ago

myhazbo1995 commented 4 years ago

Traceback (most recent call last): File "manage.py", line 12, in from elastichq import create_app File "C:\Users\Administrator\Downloads\elasticsearch-HQ-develop\elastichq__init.py", line 5, in from elastichq.api import api_blueprint, endpoints, public_blueprint, ws_blueprint File "C:\Users\Administrator\Downloads\elasticsearch-HQ-develop\elastichq\api\endpoints.py", line 4, in from . import clusters File "C:\Users\Administrator\Downloads\elasticsearch-HQ-develop\elastichq\api\clusters.py", line 11, in from elastichq.model import ClusterDTO File "C:\Users\Administrator\Downloads\elasticsearch-HQ-develop\elastichq\model__init__.py", line 3, in from elastichq.model.ClusterModel import * File "C:\Users\Administrator\Downloads\elasticsearch-HQ-develop\elastichq\model\ClusterModel.py", line 7, in from ..globals import db, ma File "C:\Users\Administrator\Downloads\elasticsearch-HQ-develop\elastichq\globals.py", line 8, in from flask_socketio import SocketIO File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\flask_socketio__init.py", line 7, in from socketio import socketio_manage File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\socketio\init.py", line 7, in from .zmq_manager import ZmqManager File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\socketio\zmq_manager.py", line 5, in import eventlet.green.zmq as zmq File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\eventlet\init__.py", line 10, in from eventlet import convenience File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\eventlet\convenience.py", line 7, in from eventlet.green import socket File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\eventlet\green\socket.py", line 21, in from eventlet.support import greendns File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\eventlet\support\greendns.py", line 399, in resolver = ResolverProxy(hosts_resolver=HostsResolver()) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\eventlet\support\greendns.py", line 313, in init self.clear() File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\eventlet\support\greendns.py", line 316, in clear self._resolver = dns.resolver.Resolver(filename=self._filename) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\dns\resolver.py", line 543, in init__ self.read_registry() File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\dns\resolver.py", line 720, in read_registry self._config_win32_fromkey(key, False) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\dns\resolver.py", line 674, in _config_win32_fromkey self._config_win32_domain(dom) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\dns\resolver.py", line 639, in _config_win32_domain self.domain = dns.name.from_text(str(domain)) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\dns\name.py", line 889, in from_text return from_unicode(text, origin, idna_codec) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\dns\name.py", line 852, in from_unicode raise EmptyLabel dns.name.EmptyLabel: A DNS label is empty.