<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>java.io.IOException: inputstream is closed  - Send file over SFTP</title><link>https://community.appian.com/discussions/f/process/39132/java-io-ioexception-inputstream-is-closed---send-file-over-sftp</link><description>Hello, 
 I&amp;#39;m extracting data from the database using the &amp;#39;Export SQL to Excel&amp;#39; smart service and then using the &amp;#39;Send file over SFTP&amp;#39; smart service. I&amp;#39;m doing this for 4 different tables but the issue &amp;#39;java.io.IOException: inputstream is closed&amp;#39; seems</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: java.io.IOException: inputstream is closed  - Send file over SFTP</title><link>https://community.appian.com/thread/148244?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 10:44:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:28c34c0d-2ba3-4f9e-bfaf-6eac67a7c76b</guid><dc:creator>Laert Leba</dc:creator><description>&lt;p&gt;Thanks for the suggestion. Since the issue is very hard to reproduce it will take some time before we&amp;#39;re able to tell if the solution worked. In any case I&amp;#39;ll update you if things seem to be running smoothly for some time.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: java.io.IOException: inputstream is closed  - Send file over SFTP</title><link>https://community.appian.com/thread/148241?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 09:36:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cea7b490-01bb-4df0-831a-de8fc73aacc2</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;Try running the extraction sequentially instead of in parallel, just for testing purposes.&lt;/p&gt;
&lt;p&gt;&lt;br data-start="297" data-end="300" /&gt; It seems that one of the branches is closing the socket when it finishes, and the last one &amp;mdash; which is also the slowest &amp;mdash; is the one that fails.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: java.io.IOException: inputstream is closed  - Send file over SFTP</title><link>https://community.appian.com/thread/148240?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 09:33:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4f97bddf-8d50-45ce-9d49-aaee8357efcd</guid><dc:creator>Laert Leba</dc:creator><description>&lt;p&gt;Until now the issue has occurred only with one of the tables. The execution is done through and AND node in the process:&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/pastedimage1747733437948v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The error in this case is in the upper flow of the end node, the first one.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve noticed that the extraction with the error is the one with the most rows compared to the others. In this case 218 DB rows, which isn&amp;#39;t that much honestly.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: java.io.IOException: inputstream is closed  - Send file over SFTP</title><link>https://community.appian.com/thread/148237?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 08:55:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0db31eb2-8257-4560-8bb5-a0ab6609d10c</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;Does the issue occurs always with the same table? is that table the last one inserted?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>