You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by my...@apache.org on 2021/07/13 08:47:50 UTC
[incubator-datalab] 01/01: [DATALAB-2508] - Possible reason of
error "connection reset by peer" fixed
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 <bo...@gmail.com>
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: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org