Troubleshooting Steps: FTP Scope Timed Out Trying To Read Data From The Socket Stream

Why is" FTP Scope: Timed out trying to read data from the socket stream! " thrown when using the FTP Scope Activity

Issue:
When a simple workflow with FTP scope activity is executed, it gives a time-out error.

image.png


Troubleshooting Steps:

  1. Validate if the FTP server is accessible from the machine from which workflow is executed by using the commands
  • telnet ftpserver port (ex: telnet myftpserver 21) This should open a blank screen confirming FTP server is accessible. On some machines telnet command may not be available, try tracert command as below
image.png
  • tracert FTPServerHost (Ex: tracert cloud.uipath.com If this command is successful, the path to the URL is observed. A successful response will look like below.
image.png

  1. Use any open-source or company-approved FTP client to confirm the connection works. Capture screenshots and configurations to confirm it works.
  2. Capture Diagnostic logs from the machine where this issue occurs by following the steps from the below link and share the logs
  3. Capture fiddler traces from the machine where this issue occurs by following the steps and share the logs
  4. Sample workflow with FTP settings to check if the configuration is done correctly
  5. (If possible) Wireshark captures when the Robot executor is running. Steps to capture Wireshark traces are in the link below.