Closed baerengraben closed 2 years ago
When no internet-connection is there, following Error occurs:
2021-07-07 11:16:37.933 - info: web.0 (1350) <==Disconnect system.user.admin from ::ffff:192.168.3.54 vis.0 -- 2021-07-07 11:16:46.654 - error: swiss-weather-api.0 (1531) uncaught exception: connect ETIMEDOUT 3.120.75.124:443 2021-07-07 11:16:46.656 - error: swiss-weather-api.0 (1531) Error: connect ETIMEDOUT 3.120.75.124:443 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) 2021-07-07 11:16:46.657 - error: swiss-weather-api.0 (1531) Exception-Code: ETIMEDOUT: connect ETIMEDOUT 3.120.75.124:443 2021-07-07 11:16:46.698 - debug: swiss-weather-api.0 (1531) Cron job destroyed 2021-07-07 11:16:46.700 - info: swiss-weather-api.0 (1531) cleaned everything up... 2021-07-07 11:16:46.703 - info: swiss-weather-api.0 (1531) terminating 2021-07-07 11:16:46.706 - warn: swiss-weather-api.0 (1531) Terminated (UNCAUGHT_EXCEPTION): Without reason 2021-07-07 11:16:47.461 - error: host.ioBroker-RasPi instance system.adapter.swiss-weather-api.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2021-07-07 11:16:47.480 - info: host.ioBroker-RasPi Restart adapter system.adapter.swiss-weather-api.0 because enabled 2021-07-07 11:17:17.547 - info: host.ioBroker-RasPi instance system.adapter.swiss-weather-api.0 started with pid 20286 2021-07-07 11:17:20.210 - debug: swiss-weather-api.0 (20286) Redis Objects: Use Redis connection: 127.0.0.1:9001 2021-07-07 11:17:20.273 - debug: swiss-weather-api.0 (20286) Objects client ready ... initialize now 2021-07-07 11:17:20.293 - debug: swiss-weather-api.0 (20286) Objects create System PubSub Client 2021-07-07 11:17:20.296 - debug: swiss-weather-api.0 (20286) Objects create User PubSub Client 2021-07-07 11:17:20.299 - debug: swiss-weather-api.0 (20286) Objects client initialize lua scripts 2021-07-07 11:17:20.327 - debug: swiss-weather-api.0 (20286) Objects connected to redis: 127.0.0.1:9001 2021-07-07 11:17:20.345 - debug: swiss-weather-api.0 (20286) objectDB connected 2021-07-07 11:17:20.350 - debug: swiss-weather-api.0 (20286) Redis States: Use Redis connection: 127.0.0.1:6379 2021-07-07 11:17:20.365 - debug: swiss-weather-api.0 (20286) States create System PubSub Client 2021-07-07 11:17:20.367 - debug: swiss-weather-api.0 (20286) States create User PubSub Client 2021-07-07 11:17:20.382 - debug: swiss-weather-api.0 (20286) States connected to redis: 127.0.0.1:6379 2021-07-07 11:17:20.384 - debug: swiss-weather-api.0 (20286) statesDB connected 2021-07-07 11:17:20.726 - info: swiss-weather-api.0 (20286) starting. Version 0.9.7 in /opt/iobroker/node_modules/iobroker.swiss-weather-api, node: v12.18.2, js-controller: 3.2.16 2021-07-07 11:17:20.783 - info: swiss-weather-api.0 (20286) longitude/longitude not set, get data from system 2021-07-07 11:17:20.815 - info: swiss-weather-api.0 (20286) system longitude: 7.375587970018386 latitude: 47.04616448019215 2021-07-07 11:17:20.863 - debug: swiss-weather-api.0 (20286) use system language for weekday names: de 2021-07-07 11:17:30.859 - debug: swiss-weather-api.0 (20286) Successfull DNS resolve for api.srgssr.ch: ["3.120.29.246"] 2021-07-07 11:17:30.861 - debug: swiss-weather-api.0 (20286) There is no geolocationId, so getting one before calling forecasts... 2021-07-07 11:17:30.862 - debug: swiss-weather-api.0 (20286) getting Token... 2021-07-07 11:17:30.863 - debug: swiss-weather-api.0 (20286) "P9rkretioTXZPM9XQ6tU6ED2uIWEzgjh:yyg5ZZNcL9zMZWik" converted to Base64 is "UDlya3JldGlvVFhaUE05WFE2dFU2RUQydUlXRXpnamg6eXlnNVpaTmNMOXpNWldpaw==" 2021-07-07 11:17:30.864 - debug: swiss-weather-api.0 (20286) Options to get Access Token: {"json":true,"method":"POST","hostname":"api.srgssr.ch","port":null,"path":"/oauth/v1/accesstoken?grant_type=client_credentials","headers":{"Authorization":"Basic UDlya3JldGlvVFhaUE05WFE2dFU2RUQydUlXRXpnamg6eXlnNVpaTmNMOXpNWldpaw==","Cache-Control":"no-cache","Content-Length":0,"Postman-Token":"24264e32-2de0-f1e3-f3f8-eab014bb6d76"}} 2021-07-07 11:19:40.731 - error: swiss-weather-api.0 (20286) uncaught exception: connect ETIMEDOUT 3.120.29.246:443 2021-07-07 11:19:40.734 - error: swiss-weather-api.0 (20286) Error: connect ETIMEDOUT 3.120.29.246:443 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) 2021-07-07 11:19:40.736 - error: swiss-weather-api.0 (20286) Exception-Code: ETIMEDOUT: connect ETIMEDOUT 3.120.29.246:443 2021-07-07 11:19:40.765 - debug: swiss-weather-api.0 (20286) Cron job destroyed 2021-07-07 11:19:40.767 - info: swiss-weather-api.0 (20286) cleaned everything up... 2021-07-07 11:19:40.769 - info: swiss-weather-api.0 (20286) terminating 2021-07-07 11:19:40.776 - warn: swiss-weather-api.0 (20286) Terminated (UNCAUGHT_EXCEPTION): Without reason 2021-07-07 11:19:41.440 - error: host.ioBroker-RasPi instance system.adapter.swiss-weather-api.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2021-07-07 11:19:41.448 - info: host.ioBroker-RasPi Restart adapter system.adapter.swiss-weather-api.0 because enabled 2021-07-07 11:20:11.518 - info: host.ioBroker-RasPi instance system.adapter.swiss-weather-api.0 started with pid 23182 2021-07-07 11:20:13.727 - debug: swiss-weather-api.0 (23182) Redis Objects: Use Redis connection: 127.0.0.1:9001 2021-07-07 11:20:13.800 - debug: swiss-weather-api.0 (23182) Objects client ready ... initialize now 2021-07-07 11:20:13.804 - debug: swiss-weather-api.0 (23182) Objects create System PubSub Client 2021-07-07 11:20:13.806 - debug: swiss-weather-api.0 (23182) Objects create User PubSub Client 2021-07-07 11:20:13.809 - debug: swiss-weather-api.0 (23182) Objects client initialize lua scripts 2021-07-07 11:20:13.834 - debug: swiss-weather-api.0 (23182) Objects connected to redis: 127.0.0.1:9001 2021-07-07 11:20:13.852 - debug: swiss-weather-api.0 (23182) objectDB connected 2021-07-07 11:20:13.857 - debug: swiss-weather-api.0 (23182) Redis States: Use Redis connection: 127.0.0.1:6379 2021-07-07 11:20:13.872 - debug: swiss-weather-api.0 (23182) States create System PubSub Client 2021-07-07 11:20:13.874 - debug: swiss-weather-api.0 (23182) States create User PubSub Client 2021-07-07 11:20:13.889 - debug: swiss-weather-api.0 (23182) States connected to redis: 127.0.0.1:6379 2021-07-07 11:20:13.891 - debug: swiss-weather-api.0 (23182) statesDB connected 2021-07-07 11:20:14.229 - info: swiss-weather-api.0 (23182) starting. Version 0.9.7 in /opt/iobroker/node_modules/iobroker.swiss-weather-api, node: v12.18.2, js-controller: 3.2.16 2021-07-07 11:20:14.286 - info: swiss-weather-api.0 (23182) longitude/longitude not set, get data from system 2021-07-07 11:20:14.321 - info: swiss-weather-api.0 (23182) system longitude: 7.375587970018386 latitude: 47.04616448019215 2021-07-07 11:20:14.323 - debug: swiss-weather-api.0 (23182) use system language for weekday names: de 2021-07-07 11:20:24.709 - debug: swiss-weather-api.0 (23182) Successfull DNS resolve for api.srgssr.ch: ["3.120.240.102"] 2021-07-07 11:20:24.711 - debug: swiss-weather-api.0 (23182) There is no geolocationId, so getting one before calling forecasts... 2021-07-07 11:20:24.712 - debug: swiss-weather-api.0 (23182) getting Token... 2021-07-07 11:20:24.713 - debug: swiss-weather-api.0 (23182) "P9rkretioTXZPM9XQ6tU6ED2uIWEzgjh:yyg5ZZNcL9zMZWik" converted to Base64 is "UDlya3JldGlvVFhaUE05WFE2dFU2RUQydUlXRXpnamg6eXlnNVpaTmNMOXpNWldpaw==" 2021-07-07 11:20:24.715 - debug: swiss-weather-api.0 (23182) Options to get Access Token: {"json":true,"method":"POST","hostname":"api.srgssr.ch","port":null,"path":"/oauth/v1/accesstoken?grant_type=client_credentials","headers":{"Authorization":"Basic UDlya3JldGlvVFhaUE05WFE2dFU2RUQydUlXRXpnamg6eXlnNVpaTmNMOXpNWldpaw==","Cache-Control":"no-cache","Content-Length":0,"Postman-Token":"24264e32-2de0-f1e3-f3f8-eab014bb6d76"}} 2021-07-07 11:22:34.810 - error: swiss-weather-api.0 (23182) uncaught exception: connect ETIMEDOUT 3.120.240.102:443 2021-07-07 11:22:34.814 - error: swiss-weather-api.0 (23182) Error: connect ETIMEDOUT 3.120.240.102:443 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) 2021-07-07 11:22:34.815 - error: swiss-weather-api.0 (23182) Exception-Code: ETIMEDOUT: connect ETIMEDOUT 3.120.240.102:443 2021-07-07 11:22:34.840 - debug: swiss-weather-api.0 (23182) Cron job destroyed 2021-07-07 11:22:34.842 - info: swiss-weather-api.0 (23182) cleaned everything up... 2021-07-07 11:22:34.845 - info: swiss-weather-api.0 (23182) terminating 2021-07-07 11:22:34.848 - warn: swiss-weather-api.0 (23182) Terminated (UNCAUGHT_EXCEPTION): Without reason 2021-07-07 11:22:35.505 - error: host.ioBroker-RasPi instance system.adapter.swiss-weather-api.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2021-07-07 11:22:35.513 - info: host.ioBroker-RasPi Restart adapter system.adapter.swiss-weather-api.0 because enabled 2021-07-07 11:22:35.513 - warn: host.ioBroker-RasPi Do not restart adapter system.adapter.swiss-weather-api.0 because restart loop detected
In this state, Adapter stays running, but with status 'red'.
Only solution is to restart the Adapter manualy.
Expected behaviour:
Fixed with Version 1.0.2
When no internet-connection is there, following Error occurs:
In this state, Adapter stays running, but with status 'red'.
Only solution is to restart the Adapter manualy.
Expected behaviour: