Hallo,
ich habe gerade auf einem neuen Debian System SmartHomeNG nach Anleitung angelegt.
Leider ist das Backend nicht erreichbar. Wo für ist die IP 10.10.10.10 ?
File "/usr/local/smarthome/modules/http/__init__.py", line 314, in _get_local_ip_address
s.connect(("10.10.10.10", 80))
OSError: [Errno 101] Das Netzwerk ist nicht erreichbar
Gruß JayKay
ich habe gerade auf einem neuen Debian System SmartHomeNG nach Anleitung angelegt.
Leider ist das Backend nicht erreichbar. Wo für ist die IP 10.10.10.10 ?
File "/usr/local/smarthome/modules/http/__init__.py", line 314, in _get_local_ip_address
s.connect(("10.10.10.10", 80))
OSError: [Errno 101] Das Netzwerk ist nicht erreichbar
Gruß JayKay
PHP-Code:
cat /usr/local/smarthome/var/log/smarthome.log
018-05-01 07:03:45 INFO Main Using config dir: /usr/local/smarthome
2018-05-01 07:03:45 INFO Main Loading '/usr/local/smarthome/etc/smarthome.yaml' to 'OrderedDict'
2018-05-01 09:03:45 WARNING Main -------------------- Init SmartHomeNG 1.4.2.master (0dff0244) --------------------
2018-05-01 09:03:45 INFO Main Init Scheduler
2018-05-01 09:03:45 INFO Main Init loadable Modules
2018-05-01 09:03:45 INFO Main Loading '/usr/local/smarthome/etc/module.yaml' to 'OrderedDict'
2018-05-01 09:03:45 INFO Main Loading '/usr/local/smarthome/modules/http/module.yaml' to 'OrderedDict'
2018-05-01 09:03:45 INFO Main module 'http': Metadata paramlist = '['user', 'password', 'hashed_password', 'service_user', 'service_password$
2018-05-01 09:03:45 INFO Main Loading module 'http': args = '{'module_name': "'http'", 'starturl': "'backend'"}'
2018-05-01 09:03:45 INFO Main module 'http': value not found in plugin configuration file for parameter 'user' -> using default value 'admin$
2018-05-01 09:03:45 INFO Main module 'http': value not found in plugin configuration file for parameter 'password' -> using default value ''$
2018-05-01 09:03:45 INFO Main module 'http': value not found in plugin configuration file for parameter 'hashed_password' -> using default v$
2018-05-01 09:03:45 INFO Main module 'http': value not found in plugin configuration file for parameter 'service_user' -> using default valu$
2018-05-01 09:03:45 INFO Main module 'http': value not found in plugin configuration file for parameter 'service_password' -> using default $
2018-05-01 09:03:45 INFO Main module 'http': value not found in plugin configuration file for parameter 'service_hashed_password' -> using d$
2018-05-01 09:03:45 INFO Main module 'http': value not found in plugin configuration file for parameter 'port' -> using default value '8383'$
2018-05-01 09:03:45 INFO Main module 'http': value not found in plugin configuration file for parameter 'servicesport' -> using default valu$
2018-05-01 09:03:45 INFO Main module 'http': value not found in plugin configuration file for parameter 'showpluginlist' -> using default va$
2018-05-01 09:03:45 INFO Main module 'http': value not found in plugin configuration file for parameter 'showservicelist' -> using default v$
2018-05-01 09:03:45 INFO Main module 'http': value not found in plugin configuration file for parameter 'threads' -> using default value '8'$
2018-05-01 09:03:45 INFO Main module 'http': value not found in plugin configuration file for parameter 'showtraceback' -> using default val$
2018-05-01 09:03:45 ERROR Main Module http exception: [Errno 101] Das Netzwerk ist nicht erreichbar
Traceback (most recent call last):
File "/usr/local/smarthome/lib/module.py", line 94, in __init__
self._load_module(module, classname, classpath, args)
File "/usr/local/smarthome/lib/module.py", line 242, in _load_module
exec("self.loadedmodule.__init__(self._sh{0}{1})".format("," if len(arglist) else "", argstring))
File "<string>", line 1, in <module>
File "/usr/local/smarthome/modules/http/__init__.py", line 127, in __init__
self._ip = self._get_local_ip_address()
File "/usr/local/smarthome/modules/http/__init__.py", line 314, in _get_local_ip_address
s.connect(("10.10.10.10", 80))
OSError: [Errno 101] Das Netzwerk ist nicht erreichbar
2018-05-01 09:03:45 WARNING Main Loaded Modules: []
2018-05-01 09:03:45 INFO Main Start Modules
2018-05-01 09:03:45 INFO Main Init Plugins
2018-05-01 09:03:45 INFO Main Loading '/usr/local/smarthome/etc/plugin.yaml' to 'OrderedDict'
2018-05-01 09:03:45 INFO Main Load plugins
2018-05-01 09:03:45 INFO Main Loading '/usr/local/smarthome/plugins/backend/plugin.yaml' to 'OrderedDict'
2018-05-01 09:03:45 INFO Main plugin 'backend': Metadata paramlist = '['updates_allowed', 'developer_mode', 'pypi_timeout']'
2018-05-01 09:03:45 INFO Main plugin 'backend': value not found in plugin configuration file for parameter 'developer_mode' -> using default$
2018-05-01 09:03:45 INFO Main plugin 'backend': value not found in plugin configuration file for parameter 'pypi_timeout' -> using default v$
2018-05-01 09:03:45 ERROR Main Module 'http' not loaded
2018-05-01 09:03:45 ERROR Main Plugin 'backend': Not initializing the web interface
2018-05-01 09:03:45 ERROR Main Plugins: Plugin 'backend' initialization failed, plugin not loaded
Kommentar