<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:25:56 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[COMPASS-723] Increase ssh tunnel connection timeouts</title>
                <link>https://jira.mongodb.org/browse/COMPASS-723</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;p&gt;We have a user in intercom complaining that he gets ssh timeouts, when RoboMongo connects to the instance ok. &lt;/p&gt;

&lt;p&gt;Currently, the timeout is &lt;a href=&quot;https://github.com/mongodb-js/connection-model/blob/2002a3df39658665ac9d6713ace525bd35bb2dcb/lib/model.js#L703-L705&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;hardcoded to 5 seconds&lt;/a&gt; in the connection-model. Increase to 30 seconds to account for geo latency.&lt;/p&gt;</description>
                <environment></environment>
        <key id="350003">COMPASS-723</key>
            <summary>Increase ssh tunnel connection timeouts</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="alena.khineika@mongodb.com">Alena Khineika</assignee>
                                    <reporter username="thomas.rueckstiess@mongodb.com">Thomas Rueckstiess</reporter>
                        <labels>
                    </labels>
                <created>Sat, 28 Jan 2017 10:39:28 +0000</created>
                <updated>Wed, 11 Sep 2019 09:04:41 +0000</updated>
                            <resolved>Wed, 11 Sep 2019 09:04:41 +0000</resolved>
                                                                    <component>Connectivity</component>
                        <due></due>
                            <votes>1</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2414295" author="xgen-internal-githook" created="Tue, 10 Sep 2019 13:00:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Alena Khineika&apos;, &apos;username&apos;: &apos;alenakhineika&apos;, &apos;email&apos;: &apos;alena.khineika@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-723&quot; title=&quot;Increase ssh tunnel connection timeouts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-723&quot;&gt;&lt;del&gt;COMPASS-723&lt;/del&gt;&lt;/a&gt; Increase ssh tunnel connection timeouts&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/connection-model/commit/483efd60a5c424093e5e4dba9f96f2d1d29f544c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/connection-model/commit/483efd60a5c424093e5e4dba9f96f2d1d29f544c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2408710" author="xgen-internal-githook" created="Thu, 5 Sep 2019 13:01:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;alenakhineika&apos;, &apos;email&apos;: &apos;alena.khineika@gmail.com&apos;, &apos;name&apos;: &apos;Alena Khineika&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-723&quot; title=&quot;Increase ssh tunnel connection timeouts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-723&quot;&gt;&lt;del&gt;COMPASS-723&lt;/del&gt;&lt;/a&gt; Increase ssh tunnel connection timeouts&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-723&quot; title=&quot;Increase ssh tunnel connection timeouts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-723&quot;&gt;&lt;del&gt;COMPASS-723&lt;/del&gt;&lt;/a&gt;-increase-ssh-timeout&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/connection-model/commit/449b078ab290dee346d774d869463aa39d638a38&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/connection-model/commit/449b078ab290dee346d774d869463aa39d638a38&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1618433" author="thomasr" created="Tue, 11 Jul 2017 02:11:35 +0000"  >&lt;p&gt;Internally we are using &lt;a href=&quot;https://www.npmjs.com/package/ssh2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;ssh2&lt;/a&gt;, to which we pass the 3 options &lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;readyTimeout: 5000,&lt;/li&gt;
	&lt;li&gt;forwardTimeout: 5000,&lt;/li&gt;
	&lt;li&gt;keepaliveInterval: 5000,&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;readyTimeout in ssh2:  &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;integer - How long (in milliseconds) to wait for the SSH handshake to complete. Default: 20000 &lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;This seems to be the issue in the attached Intercom conversation as the error says &quot;Error creating SSH Tunnel: Timed out while waiting for handshake&quot;. As the default is 20 seconds, we should perhaps just use the default here.&lt;/p&gt;

&lt;p&gt;The forwardTimeout is not documented on this page (does not exist in ssh2 source code), we should try to find out where this comes from and/or just go with the default. It&apos;s possible the forwardTimeout is not an option used in ssh2 but left-over from the previous ssh module we were using.&lt;/p&gt;

&lt;p&gt;The keepaliveInterval option is the frequency to send keepalive pings and should not be increased.&lt;/p&gt;</comment>
                            <comment id="1612428" author="peter.schmidt" created="Mon, 3 Jul 2017 03:25:27 +0000"  >&lt;p&gt;Looking deeper, there are multiple timeouts here, and in light of the &lt;a href=&quot;https://app.bugsnag.com/mongodb/mongodb-compass/errors/5821a4e907b7add195ad9de2?filters%5Bevent.since%5D%5B%5D=30d&amp;amp;filters%5Berror.status%5D%5B%5D=open&amp;amp;filters%5Bevent.message%5D%5B%5D%5Bvalue%5D=keepalive&amp;amp;filters%5Bevent.message%5D%5B%5D%5Btype%5D=eq&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;bugsnag&lt;/a&gt; it looks like it is common for servers to specify much longer keep alives like &lt;a href=&quot;https://www.howtogeek.com/howto/linux/keep-your-linux-ssh-session-from-disconnecting/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;60 seconds&lt;/a&gt; or &lt;a href=&quot;https://stackoverflow.com/questions/25084288/keep-ssh-session-alive/25087194#25087194&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;even 240 seconds&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;Scratch my earlier thought about the status modal, increasing the keepalive timeout might be enough for most of these cases (where the user doesn&apos;t have something like RTSS permissions or other traffic going over the wire to keep the tunnel alive).&lt;/p&gt;</comment>
                            <comment id="1612410" author="peter.schmidt" created="Mon, 3 Jul 2017 02:13:50 +0000"  >&lt;p&gt;While the timeout could be naively increased, this creates a suboptimal UX if the user has entered their details incorrectly. &lt;/p&gt;

&lt;p&gt;A substatus modal like on the schema view that times out at (the current 5?) seconds and prompts the user to retry with more time (say the 30s on this ticket) would be a better UX, but require more story points.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 3 Jul 2017 02:13:50 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 22 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_14262" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 10 Apr 2017 23:59:59 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>COMPASS-1173</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>jessica.sigafoos@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 22 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alena.khineika@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>peter.schmidt</customfieldvalue>
            <customfieldvalue>thomas.rueckstiess@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht1py7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6ekn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="3250">Iteration Manatee</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_14261" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 30 Jan 2017 00:00:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrqbwv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>