Page 1 of 1

Error 8098 - SFTP Get src data

Posted: Tue Aug 02, 2016 8:32 pm
by vinhtran
Hi there,

I'm trying to troubleshoot a monitor that was originally in the GA Director and we've since upgraded to MFT. This error existed when we were running GA Director and the person who set it up has since left. Any help would be appreciated:

Here are the sample error logs:
Code: Select all
3/8/16 7:40:42                INFO      GoAnywhere 5.0.1 running on Windows Server 2008 R2 6.1 (amd64)
3/8/16 7:40:42                INFO      Overriding variable 'JobUsername' with value '*******'
3/8/16 7:40:42                INFO      Overriding variable 'JobPrivateKeyPassphrase' with value '*************'
3/8/16 7:40:42                INFO      Executing project 'sftp-ftp-***' 
3/8/16 7:40:42                INFO      Project location: d:\userdata\projects\*******\*****\sftp-ftp-***.xml
3/8/16 7:40:42                INFO      Executing module 'Main'
3/8/16 7:40:42                INFO      Executing task 'createWorkspace 1.0 (Create clean workspace for ** transfer)'
3/8/16 7:40:42                INFO      Workspace directory for this job is set to 'd:\userdata\workspace\1000001647777'.
3/8/16 7:40:42                INFO      Finished task 'createWorkspace 1.0 (Create clean workspace for ** transfer)'
3/8/16 7:40:42                INFO      Executing task 'sftp 1.0 (SFTP PDT Get src data)'
3/8/16 7:40:42                INFO      Connecting to 'SFTP.****.org' at port '22' as user '******' 
3/8/16 7:40:43                INFO      Executing sub-task 'get'
3/8/16 7:40:43                INFO      Closed the FTP connection
3/8/16 7:40:43                ERROR     inputstream is closed
3/8/16 7:40:43                INFO      Finished project 'sftp-ftp-***'
3/8/16 7:40:43                ERROR     inputstream is closed
                                        com.linoma.ga.projects.runtime.JobFailedException: inputstream is closed
                                        	at com.linoma.ga.projects.runtime.Job.run(Unknown Source)
                                        	at com.linoma.dpa.util.ThreadPoolExecutor$Worker.runTask(Unknown Source)
                                        	at com.linoma.dpa.util.ThreadPoolExecutor$Worker.run(Unknown Source)
                                        	at java.lang.Thread.run(Unknown Source)
                                        Caused by: com.linoma.dpa.ExecutionException: inputstream is closed
                                        	at com.linoma.ga.projects.tasks.ftp.FTPFileSet.getFileList(Unknown Source)
                                        	at com.linoma.ga.projects.tasks.ftp.FTPFileSet.getFileList(Unknown Source)
                                        	at com.linoma.ga.projects.tasks.ftp.FTPUtilities.getMasterRemoteFileList(Unknown Source)
                                        	at com.linoma.ga.projects.tasks.ftp.GetAction.internalValidate(Unknown Source)
                                        	at com.linoma.ga.projects.tasks.ftp.GetAction.execute(Unknown Source)
                                        	at com.linoma.ga.projects.tasks.ftp.AbstractFTPTask.execute(Unknown Source)
                                        	at com.linoma.ga.projects.ModuleV2.execute(Unknown Source)
                                        	at com.linoma.ga.projects.Project.execute(Unknown Source)
                                        	at com.linoma.ga.projects.runtime.Job.executeProject(Unknown Source)
                                        	... 4 more
                                        Caused by: com.linoma.ga.projects.tasks.ftp.FTPInterfaceException: inputstream is closed
                                        	at com.linoma.ga.projects.tasks.ftp.SFTPImpl.setWorkingDirectory(Unknown Source)
                                        	... 13 more
                                        Caused by: inputstream is closed (status_code=4)
                                        	at com.jcraft.jsch.ChannelSftp.cd(Unknown Source)
                                        	at com.jcraft.jsch.ChannelSftp.cd(Unknown Source)
                                        	... 14 more
                                        Caused by: java.io.IOException: inputstream is closed
                                        	at com.jcraft.jsch.ChannelSftp.fill(Unknown Source)
                                        	at com.jcraft.jsch.ChannelSftp.header(Unknown Source)
                                        	at com.jcraft.jsch.ChannelSftp._realpath(Unknown Source)
                                        	... 16 more
3/8/16 7:40:43                INFO      End Date and Time: 3/8/16 7:40:43

Re: Error 8098 - SFTP Get src data

Posted: Wed Sep 21, 2016 8:42 am
by Support_Rick
Vinhtran,

Review your ResourceID for this connection and see why you're getting the inputstream closed error. Unfortunately, this isn't something that you can troubleshoot through a forum. It could be as simple as a configuration item or a firewall rule. Verifying the connection through the Resources can give you a way to test this connection and validate you can make the connection, then testing by going and getting a file through a project (in debug mode) can help further identify issues.

Contact [email protected] for additional help.