Skip to main content

I'm having a problem with an integration once deployed, but it works locally. The structure of the integration looks like this

 

Database SAPI <-> PAPI <-> SFTP SAPI

 

The PAPI calls the Database SAPI and the Database SAPI calls a stored procedure and compresses the result. Then, the PAPI sends data to the SFTP SAPI, which writes the data to an SFTP file location.

 

Once I deploy, I'm getting this error in response from the SFTP SAPI midway through execution of the integration. Can anyone help me narrow my issue down?

 

HTTP response sending task failed with error: java.util.concurrent.TimeoutException

********************************************************************************

Message               : java.util.concurrent.TimeoutException

Element               : sftp-sapi-main/source @ sftp-sapi:interface.xml:4

Element DSL           : <http:listener config-ref="sftp-sapi-httpListenerConfig" path="/api/*">

<http:response statusCode="#vars.httpStatus default 200">

<http:headers><![CDATA[

#vars.outboundHeaders default {}

]]></http:headers>

</http:response>

<http:error-response statusCode="#vars.httpStatus default 500">

<http:body><![CDATA[

#payload

]]></http:body>

<http:headers><![CDATA[

#vars.outboundHeaders default {}

]]></http:headers>

</http:error-response>

</http:listener>

Error type            : MULE:SOURCE_RESPONSE_SEND

FlowStack             :

Payload Type          : org.mule.runtime.core.internal.streaming.bytes.ManagedCursorStreamProvider

--------------------------------------------------------------------------------

6 answers
  1. Jan 10, 2023, 4:37 PM

    Hi Shyram,

     

    I've seen that article before, but the HTTP request connector I'm using doesn't have that as an option. I've included a screenshot of the general and the advance tab. The advance tab leads me to believe there's already a streaming strategy in place. Do you have any advice for configuring the streaming strategy?Hi Shyram, I've seen that article before, but the HTTP request connector I'm using doesn't have that as an option. I've included a screenshot of the general and the advance tab.Capture2

0/9000