From 2cf1aa915483a328b8fdeeb718a872f34229e82f Mon Sep 17 00:00:00 2001 From: samson0v Date: Wed, 3 Jan 2024 15:22:19 +0200 Subject: [PATCH] Fixed argument type for run_app in REST Connector --- thingsboard_gateway/connectors/rest/rest_connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thingsboard_gateway/connectors/rest/rest_connector.py b/thingsboard_gateway/connectors/rest/rest_connector.py index 76019a682..1ef101146 100644 --- a/thingsboard_gateway/connectors/rest/rest_connector.py +++ b/thingsboard_gateway/connectors/rest/rest_connector.py @@ -163,7 +163,7 @@ def __run_server(self): self.load_handlers() web.run_app(self._app, host=self.__config['host'], port=int(self.__config.get('port', 5000)), - handle_signals=False, ssl_context=ssl_context, reuse_port=True, reuse_address=self.__config['host'], + handle_signals=False, ssl_context=ssl_context, reuse_port=True, reuse_address=True, access_log=self.__log) def run(self):