Support Article
Unable to connect to SFTP server location through File Listener
SA-106300
Summary
Files are added to the SFTP server in the pegafiletransfer/yourDirectory. Unable to access the SFTP server location from the File Listener in the Pega application.
Error Messages
[Data-Admin-Connect-FileListener: null] Invalid source location: com.pega.pegarules.pub.PRException: [/usr/local/tomcat/work/sync-data/pegafiletransfer/yourFolder] does not exist.
com.pega.pegarules.pub.PRException: [/usr/local/tomcat/work/sync-data/pegafiletransfer/yourFolder] does not exist.
at com.pegarules.generated.activity.ra_action_validateinfrastructure_e34ec71394e920c3b57c91ce6f306fdb.step5_circum0(ra_action_validateinfrastructure_e34ec71394e920c3b57c91ce6f306fdb.java:532) ~[?:?]
at com.pegarules.generated.activity.ra_action_validateinfrastructure_e34ec71394e920c3b57c91ce6f306fdb.perform(ra_action_validateinfrastructure_e34ec71394e920c3b57c91ce6f306fdb.java:133) ~[?:?]
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10770) ~[prprivate.jar:?]
at com.pegarules.generated.activity.ra_action_pzfilelistenerconnectivitywrapper_e6a95a78702c3f2fae01129bbeed040d.step1_circum0(ra_action_pzfilelistenerconnectivitywrapper_e6a95a78702c3f2fae01129bbeed040d.java:202) ~[?:?]
at com.pegarules.generated.activity.ra_action_pzfilelistenerconnectivitywrapper_e6a95a78702c3f2fae01129bbeed040d.perform(ra_action_pzfilelistenerconnectivitywrapper_e6a95a78702c3f2fae01129bbeed040d.java:70) ~[?:?]
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?]
Steps to Reproduce
Test the connection on the File Listener.
Root Cause
A defect or configuration issue in the operating environment.
The source file location specified is incorrect.
To access the location from within the Container on the application or Util node, use the below path:
/usr/local/tomcat/work/sync-data/yourFolder/
To access the SFTP node outside the pega-web container, use the below path:
/home/sftp-user/pegafiletransfer/yourFolder/
To access the location from outside the container on the application or the Util node, use the below path:
/local/pega-work/sync-data/yourFolder/
Resolution
Perform the following local-change:
Change the source location on the File Listener to /usr/local/tomcat/work/sync-data/yourFolder/
Published April 14, 2020 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.