When Internet connection is lost script takes 100% CPU flooding log files with:
Version: laster master
[Wed Jun 13 17:38:14 2018] Gigaset Elements - Command-line Interface
[Wed Jun 13 17:38:15 2018] Configuration | LOADED | /home/domoticz/.gigasetelements-cli/gigasetelements-cli.conf
[Wed Jun 13 17:38:15 2018] ERROR | UNKNOWN | 06/13/18 17:38:15 HTTPSConnectionPool(host='im.gigaset-elements.de', port=443): Max retries exceeded with url: /identity/api/v1/user/login (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffa8fc21a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
[Wed Jun 13 17:38:15 2018] Gigaset Elements - Command-line Interface
[Wed Jun 13 17:38:15 2018] Configuration | LOADED | /home/domoticz/.gigasetelements-cli/gigasetelements-cli.conf
[Wed Jun 13 17:38:15 2018] ERROR | UNKNOWN | 06/13/18 17:38:15 HTTPSConnectionPool(host='im.gigaset-elements.de', port=443): Max retries exceeded with url: /identity/api/v1/user/login (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7efcfe0a9a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
[Wed Jun 13 17:38:15 2018] Gigaset Elements - Command-line Interface
[Wed Jun 13 17:38:15 2018] Configuration | LOADED | /home/domoticz/.gigasetelements-cli/gigasetelements-cli.conf
[Wed Jun 13 17:38:15 2018] ERROR | UNKNOWN | 06/13/18 17:38:15 HTTPSConnectionPool(host='im.gigaset-elements.de', port=443): Max retries exceeded with url: /identity/api/v1/user/login (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7effce421a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
[Wed Jun 13 17:38:15 2018] Gigaset Elements - Command-line Interface
[Wed Jun 13 17:38:15 2018] Configuration | LOADED | /home/domoticz/.gigasetelements-cli/gigasetelements-cli.conf
[Wed Jun 13 17:38:15 2018] ERROR | UNKNOWN | 06/13/18 17:38:15 HTTPSConnectionPool(host='im.gigaset-elements.de', port=443): Max retries exceeded with url: /identity/api/v1/user/login (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f4c13e31a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
[Wed Jun 13 17:38:15 2018] Gigaset Elements - Command-line Interface
When Internet connection is lost script takes 100% CPU flooding log files with: Version: laster master