<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Using ListSFTP results in an exception: Failed to obtain connection to remote host due to com.jcraft.jsch.JSCHException: Session.connect: java.net.SocketException: Connection reset: {} in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-ListSFTP-results-in-an-exception-Failed-to-obtain/m-p/219083#M72396</link>
    <description>&lt;P&gt;Did OpenSSL version change at server?&lt;/P&gt;&lt;P&gt;&lt;A href="https://superuser.com/questions/972996/create-a-sftp-connection-in-netbeans" target="_blank"&gt;https://superuser.com/questions/972996/create-a-sftp-connection-in-netbeans&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Did directory permissions change on FTP server?   Try a different directory.&lt;/P&gt;&lt;P&gt;Did NiFi user change?&lt;/P&gt;&lt;P&gt;Increase timeout&lt;/P&gt;&lt;P&gt;Definitely try command line sftp from a nifi node.&lt;/P&gt;&lt;P&gt;Did any IPs change?   &lt;/P&gt;&lt;P&gt;&lt;A href="https://access.redhat.com/solutions/2071143" target="_blank"&gt;https://access.redhat.com/solutions/2071143&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2017 20:50:26 GMT</pubDate>
    <dc:creator>TimothySpann</dc:creator>
    <dc:date>2017-12-06T20:50:26Z</dc:date>
    <item>
      <title>Using ListSFTP results in an exception: Failed to obtain connection to remote host due to com.jcraft.jsch.JSCHException: Session.connect: java.net.SocketException: Connection reset: {}</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-ListSFTP-results-in-an-exception-Failed-to-obtain/m-p/219081#M72394</link>
      <description>&lt;P&gt;Using ListSFTP processor in Nifi 1.3.0 to list contents of a SFTP directory. Getting exception message:&lt;/P&gt;&lt;P&gt;Failed to obtain connection to remote host due to com.jcraft.jsch.JSCHException: Session.connect: java.net.SocketException: Connection reset: {}&lt;/P&gt;&lt;P&gt; Here's a screenshot from the nifi-app.log on the NIFI Node&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="43831-screen-shot-2017-12-05-at-50541-pm.png" style="width: 800px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16018i1FAC81C26E6FAB0E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="43831-screen-shot-2017-12-05-at-50541-pm.png" alt="43831-screen-shot-2017-12-05-at-50541-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 02:43:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-ListSFTP-results-in-an-exception-Failed-to-obtain/m-p/219081#M72394</guid>
      <dc:creator>mnath</dc:creator>
      <dc:date>2019-08-18T02:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using ListSFTP results in an exception: Failed to obtain connection to remote host due to com.jcraft.jsch.JSCHException: Session.connect: java.net.SocketException: Connection reset: {}</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-ListSFTP-results-in-an-exception-Failed-to-obtain/m-p/219082#M72395</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/17577/mnath.html" nodeid="17577"&gt;@Mayan Nath&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Can you please ensure to set "&lt;STRONG&gt;Strict Host Key Checking &lt;/STRONG&gt;to&lt;STRONG&gt; False "&lt;/STRONG&gt;  &lt;/P&gt;&lt;P&gt;and also remove the known_hosts entries for the target host (under the directory ~/.ssh/knon_hosts or nifi user)&lt;/P&gt;&lt;P&gt;the best thing is to do the sftp manually from the command line and test once thats working incorporate to the NiFi cluster.( please ensure that you have performed the same across all he hosts)&lt;/P&gt;&lt;P&gt;Hope this helps !! &lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 12:18:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-ListSFTP-results-in-an-exception-Failed-to-obtain/m-p/219082#M72395</guid>
      <dc:creator>bkosaraju</dc:creator>
      <dc:date>2017-12-06T12:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using ListSFTP results in an exception: Failed to obtain connection to remote host due to com.jcraft.jsch.JSCHException: Session.connect: java.net.SocketException: Connection reset: {}</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-ListSFTP-results-in-an-exception-Failed-to-obtain/m-p/219083#M72396</link>
      <description>&lt;P&gt;Did OpenSSL version change at server?&lt;/P&gt;&lt;P&gt;&lt;A href="https://superuser.com/questions/972996/create-a-sftp-connection-in-netbeans" target="_blank"&gt;https://superuser.com/questions/972996/create-a-sftp-connection-in-netbeans&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Did directory permissions change on FTP server?   Try a different directory.&lt;/P&gt;&lt;P&gt;Did NiFi user change?&lt;/P&gt;&lt;P&gt;Increase timeout&lt;/P&gt;&lt;P&gt;Definitely try command line sftp from a nifi node.&lt;/P&gt;&lt;P&gt;Did any IPs change?   &lt;/P&gt;&lt;P&gt;&lt;A href="https://access.redhat.com/solutions/2071143" target="_blank"&gt;https://access.redhat.com/solutions/2071143&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 20:50:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-ListSFTP-results-in-an-exception-Failed-to-obtain/m-p/219083#M72396</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2017-12-06T20:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using ListSFTP results in an exception: Failed to obtain connection to remote host due to com.jcraft.jsch.JSCHException: Session.connect: java.net.SocketException: Connection reset: {}</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-ListSFTP-results-in-an-exception-Failed-to-obtain/m-p/219084#M72397</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/9304/tspann.html" nodeid="9304"&gt;@Timothy Spann&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is a new user but also the existing users are not working to reach the SFTP to any location.&lt;/P&gt;&lt;P&gt;Directory permissions on SFTP have not changed.&lt;/P&gt;&lt;P&gt;Timeout is currently set to 30sec on the processor. That should be sufficient but please advise if that needs to be increased.&lt;/P&gt;&lt;P&gt;IPs have not changed.&lt;/P&gt;&lt;P&gt;RE - command line SFTP -- Just tried manual SFTP again and this time received, Connection Reset by Peer. Checking SFTP side in case our Node IP is blacklisted (possibly due to Max Failure condition.)&lt;/P&gt;&lt;P&gt;Update -- 12-07-2017 -- The IP for the NIFI Node was blacklisted on the SFTP Side. We've whitelisted the IP and the processor is now functional. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 01:21:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-ListSFTP-results-in-an-exception-Failed-to-obtain/m-p/219084#M72397</guid>
      <dc:creator>mnath</dc:creator>
      <dc:date>2017-12-07T01:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using ListSFTP results in an exception: Failed to obtain connection to remote host due to com.jcraft.jsch.JSCHException: Session.connect: java.net.SocketException: Connection reset: {}</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-ListSFTP-results-in-an-exception-Failed-to-obtain/m-p/219085#M72398</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/15193/bkosaraju.html" nodeid="15193"&gt;@bkosaraju&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Strict Host Key Checking is set to False.&lt;/P&gt;&lt;P&gt;If with target hosts, you mean, the SFTP server (our destination) then it is not in the list of /.ssh/known_hosts)&lt;/P&gt;&lt;P&gt;Just tried manual SFTP again and this time received, Connection Reset by Peer. Checking SFTP side in case our Node IP is blacklisted (possibly due to Max Failure condition.)&lt;BR /&gt;Update -- 12-07-2017 -- The IP for the NIFI Node was blacklisted on the SFTP Side. We've whitelisted the IP and the processor is now functional. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 02:29:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-ListSFTP-results-in-an-exception-Failed-to-obtain/m-p/219085#M72398</guid>
      <dc:creator>mnath</dc:creator>
      <dc:date>2017-12-07T02:29:59Z</dc:date>
    </item>
  </channel>
</rss>

