Error calling HTTP File Download, Message: Could not access the file [filePath=/media/nss/APPIANFS/_admin/accdocs1/42427/10204098

Hi All,

We are using HTTP File Download smart service to get files from a http endpoint url. But we are getting the below error.

Error calling HTTP File Download, Message: Could not access the file [filePath=/media/nss/APPIANFS/_admin/accdocs1/42427/10204098 

The downloaded file is not being created in the APPIANFS. I checked under /media/nss/APPIANFS/_admin/accdocs1/42427 but the file 10204098 is not there.  So I see a blank file created (with the display name provided in file download smart service) in the documents tab, but it doesn't have any data.The strange thing is the same code with the same http endpoint works fine in all our non-prod environments. We have two load balanced application servers in production and it is single sign on.

 

I am seeing the below error in application server logs. (But I am not sure if the authentication details warning is even related to my issue or not)

2018-01-20 23:51:53,083 [Appian Work Item - 23356 - ProcessExec02 : UnattendedJavaActivityRequest] ERROR com.appian.integration.httpclient.smartnode.HttpSmartNode - ConnectorRuntimeException [title=Error calling HTTP File Download, com.appian.integration.core.exception.ConnectorRuntimeException: Could not access the file [filePath=/media/nss/APPIANFS/_admin/accdocs1/42427/10204098.].]

2018-01-20 23:51:54,594 [ajp-/172.16.1.114:9090-2] WARN  com.appiancorp.security.auth.activity.UserActivityFilter - Cannot retrieve authentication details. Please update your Spring Security XML configuration, so that com.appiancorp.security.auth.AppianAuthenticationDetailsSource is used as the authenticationDetailsSource. (Expected an instance of com.appiancorp.security.auth.AuthenticationDetails, but got org.springframework.security.web.authentication.WebAuthenticationDetails.)

 

Please help if you have any idea on this issue. Thanks in advance.

  Discussion posts and replies are publicly visible