<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Chat Agent – Tool Execution Failure (&amp;quot;Downstream tool request failed&amp;quot;)</title><link>https://community.appian.com/discussions/f/rules/40548/chat-agent-tool-execution-failure-downstream-tool-request-failed</link><description>Hi Team, 
 Our chat agent is intermittently failing when attempting to execute tool calls. End users are receiving one of the following error messages during these interactions: 
 
 Tool execution failed: Downstream tool request failed 
 I&amp;#39;m currently</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Chat Agent – Tool Execution Failure ("Downstream tool request failed")</title><link>https://community.appian.com/thread/155106?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2026 12:22:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4a655365-1836-45c0-9d05-5821951bdbdc</guid><dc:creator>Kaviarasu Mohan</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/kapils024874"&gt;kapilsharma&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;I am new to Appian and Chat Agents. Could you please help me understand where I can check and find the &lt;strong&gt;idle timeout&lt;/strong&gt; and &lt;strong&gt;read timeout&lt;/strong&gt; settings for the downstream service?&lt;/p&gt;
&lt;p&gt;Thank you for your assistance.&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Chat Agent – Tool Execution Failure ("Downstream tool request failed")</title><link>https://community.appian.com/thread/155104?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2026 11:52:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:423c85df-9ecf-4b98-a608-f035df6ed08f</guid><dc:creator>kapilsharma</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/kaviarasum783705"&gt;Kaviarasu Mohan&lt;/a&gt;&amp;nbsp;,&lt;br /&gt;&lt;br /&gt;Server-Sent Events (SSE) require a long-lived, persistent HTTP connection to stream the LLM&amp;#39;s response back to the user. If your downstream tool takes 30 to 60 seconds to execute, the AI pauses streaming. &lt;br /&gt;I would suggest check the idle timeout and read timeout settings of your downstream service.&lt;br /&gt;&lt;br /&gt;Moreover, the Appian chat component is waiting for the AI, and the AI is waiting for your tool to finish its work. If the tool hangs or takes too long, the underlying TCP socket simply gives up and drops.&lt;br /&gt;&lt;br /&gt;Can you try increasing these timeouts to accommodate the maximum duration your longest tool takes to run, plus the standard LLM processing time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Chat Agent – Tool Execution Failure ("Downstream tool request failed")</title><link>https://community.appian.com/thread/155103?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2026 11:41:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d8775133-0bc8-4c6d-9abb-e97229ad6af6</guid><dc:creator>Kaviarasu Mohan</dc:creator><description>&lt;p style="padding-left:30px;"&gt;Hi Kapil,&lt;br /&gt;&lt;br /&gt;When i checked the log, this is the error message we are getting.&lt;br /&gt;&lt;br /&gt;OkHttp ai-platform.ai-platform.svc.cluster.local/...] ERROR com.appiancorp.lcpapi.streaming.StepStreamingEventSourceListener - Upstream SSE stream failed for run&lt;br /&gt;java.net.SocketException: Socket closed&lt;br /&gt; at java.base/sun.nio.ch.NioSocketImpl.ensureOpenAndConnected(NioSocketImpl.java:165)&lt;br /&gt; at java.base/sun.nio.ch.NioSocketImpl.beginRead(NioSocketImpl.java:236)&lt;br /&gt; at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:304)&lt;br /&gt; at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:355)&lt;br /&gt; at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:808)&lt;br /&gt; at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)&lt;br /&gt; at okio.InputStreamSource.read(JvmOkio.kt:93)&lt;br /&gt; at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:128)&lt;br /&gt; at okio.RealBufferedSource.request(RealBufferedSource.kt:209)&lt;br /&gt; at okio.RealBufferedSource.require(RealBufferedSource.kt:202)&lt;br /&gt; at okio.RealBufferedSource.readHexadecimalUnsignedLong(RealBufferedSource.kt:384)&lt;br /&gt; at okhttp3.internal.http1.Http1ExchangeCodec$ChunkedSource.readChunkSize(Http1ExchangeCodec.kt:437)&lt;br /&gt; at okhttp3.internal.http1.Http1ExchangeCodec$ChunkedSource.read(Http1ExchangeCodec.kt:416)&lt;br /&gt; at okhttp3.internal.connection.Exchange$ResponseBodySource.read(Exchange.kt:281)&lt;br /&gt; at okio.RealBufferedSource.select(RealBufferedSource.kt:232)&lt;br /&gt; at okhttp3.internal.sse.ServerSentEventReader.processNextEvent(ServerSentEventReader.kt:50)&lt;br /&gt; at okhttp3.internal.sse.RealEventSource.processResponse(RealEventSource.kt:75)&lt;br /&gt; at okhttp3.internal.sse.RealEventSource.onResponse(RealEventSource.kt:46)&lt;br /&gt; at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)&lt;br /&gt; at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)&lt;br /&gt; at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)&lt;br /&gt; at java.base/java.lang.Thread.run(Thread.java:840)&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Chat Agent – Tool Execution Failure ("Downstream tool request failed")</title><link>https://community.appian.com/thread/155102?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2026 11:12:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6809f266-4662-484b-b711-4d3160ea2820</guid><dc:creator>kapilsharma</dc:creator><description>&lt;p&gt;Review Appian&amp;#39;s integration logs (&lt;code data-path-to-node="8,0,0" data-index-in-node="42"&gt;tomcat-stdOut.log&lt;/code&gt; or the specific integration error logs in the Monitoring view) for &lt;code data-path-to-node="8,0,0" data-index-in-node="127"&gt;HTTP 429 Too Many Requests&lt;/code&gt; errors that correlate with the exact timestamps.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>