This is an automated email from the ASF dual-hosted git repository. mykolabodnar pushed a commit to branch DATALAB-2508 in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit fe022e6a047332a83e1ee896fc8ed04393f98672 Author: bodnarmykola <[email protected]> AuthorDate: Tue Jul 13 11:47:33 2021 +0300 [DATALAB-2508] - Possible reason of error "connection reset by peer" fixed --- infrastructure-provisioning/src/general/lib/os/fab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure-provisioning/src/general/lib/os/fab.py b/infrastructure-provisioning/src/general/lib/os/fab.py index 0f17f6c..844d0a7 100644 --- a/infrastructure-provisioning/src/general/lib/os/fab.py +++ b/infrastructure-provisioning/src/general/lib/os/fab.py @@ -1139,7 +1139,7 @@ def init_datalab_connection(hostname, username, keyfile): attempt = 0 while attempt < 15: print('connection attempt {}'.format(attempt)) - conn = Connection(host = hostname, user = username, connect_kwargs={'banner_timeout': 60, + conn = Connection(host = hostname, user = username, connect_kwargs={'banner_timeout': 200, 'key_filename': keyfile}) conn.config.run.echo = True try: --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
