<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Communication session broken: A request to send or receive data was...]]></title><description><![CDATA[<p dir="auto">I have 100+ warning 'Communication session broken: A request to send or receive data was disallowed because the socket had already been shut down in that direction with a previous shutdown call.' in the system event log. I have this problem on 2 different systems. One windows 2008 and the other 2012.<br />
On the 2012 i changed to configuration to create a debug log.</p>
<p dir="auto">This is a section from the debug log:</p>
<p dir="auto">[18-Oct-2014 16:59:39.703] [DEBUG] [session:0] Received message CMD_GET_PARAMETER<br />
[18-Oct-2014 16:59:39.703] [DEBUG] [session:0] Requesting parameter "Net.Interface.Link(21)"<br />
[18-Oct-2014 16:59:39.703] [DEBUG] [session:0] GetParameterValue(): result is 0 (SUCCESS)<br />
[18-Oct-2014 16:59:39.703] [DEBUG] [session:0] Sending message CMD_REQUEST_COMPLETED (size 48)<br />
[18-Oct-2014 16:59:39.703] [DEBUG] [session:0] Message dump:<br />
  ** 0041000000000038000083C100000001<br />
  ** 00000055018F87AB0000001A00530079<br />
  ** 007300740065006D002E005500700074<br />
  ** 0069006D00650002<br />
  ** code=0x0041 (CMD_GET_PARAMETER) flags=0x0000 id=33729 size=56 numFields=1<br />
  ** [    85] STRING "System.Uptime"</p>
<p dir="auto">[18-Oct-2014 16:59:39.703] [DEBUG] [session:0] Received message CMD_GET_PARAMETER<br />
[18-Oct-2014 16:59:39.703] [DEBUG] [session:0] Requesting parameter "System.Uptime"<br />
[18-Oct-2014 16:59:39.703] [DEBUG] [session:0] GetParameterValue(): result is 0 (SUCCESS)<br />
[18-Oct-2014 16:59:39.703] [DEBUG] [session:0] Sending message CMD_REQUEST_COMPLETED (size 56)<br />
[18-Oct-2014 16:59:39.750] [DEBUG] [session:0] Message dump:<br />
  ** 0041000000000038000083C200000001<br />
  ** 00000055017200660000001800410067<br />
  ** 0065006E0074002E0055007000740069<br />
  ** 006D006502010002<br />
  ** code=0x0041 (CMD_GET_PARAMETER) flags=0x0000 id=33730 size=56 numFields=1<br />
  ** [    85] STRING "Agent.Uptime"</p>
<p dir="auto">[18-Oct-2014 16:59:39.750] [DEBUG] [session:0] Received message CMD_GET_PARAMETER<br />
[18-Oct-2014 16:59:39.750] [DEBUG] [session:0] Requesting parameter "Agent.Uptime"<br />
[18-Oct-2014 16:59:39.750] [DEBUG] [session:0] GetParameterValue(): result is 0 (SUCCESS)<br />
[18-Oct-2014 16:59:39.750] [DEBUG] [session:0] Sending message CMD_REQUEST_COMPLETED (size 56)<br />
[18-Oct-2014 17:00:40.199] [DEBUG] [session:0] Session disconnected by watchdog (last activity timestamp is 1413644379)<br />
[18-Oct-2014 17:00:40.199] [DEBUG] [session:0] CommSession::disconnect()<br />
<strong>[18-Oct-2014 17:00:40.199] [WARN ] Communication session broken: A request to send or receive data was disallowed because the socket had already been shut down in that direction with a previous shutdown call.</strong><br />
[18-Oct-2014 17:00:40.199] [DEBUG] [session:0] Session with 192.168.202.11 closed<br />
[18-Oct-2014 17:00:44.777] [DEBUG] Incoming connection from 192.168.202.11<br />
[18-Oct-2014 17:00:44.777] [DEBUG] Connection from 192.168.202.11 accepted<br />
[18-Oct-2014 17:00:44.792] [DEBUG] [session:0] Message dump:<br />
  ** 00B60020000000100000000000000000<br />
  ** code=0x00B6 (CMD_GET_NXCP_CAPS) flags=0x0020 id=0 size=16 numFields=0</p>
<p dir="auto">[18-Oct-2014 17:00:44.792] [DEBUG] [session:0] Received control message CMD_GET_NXCP_CAPS<br />
[18-Oct-2014 17:00:44.792] [DEBUG] [session:0] Sending message CMD_NXCP_CAPS (size 16)<br />
[18-Oct-2014 17:00:44.792] [DEBUG] [session:0] Message dump:<br />
  ** 0003000000000010000083C400000000<br />
  ** code=0x0003 (CMD_KEEPALIVE) flags=0x0000 id=33732 size=16 numFields=0</p>
<p dir="auto">It seems that the connect was closed by the watchdog (red line) but way?</p>
]]></description><link>https://forum.netxms.org/topic/3409/communication-session-broken-a-request-to-send-or-receive-data-was...</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 14:55:08 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3409.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 18 Oct 2014 17:22:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Communication session broken: A request to send or receive data was... on Tue, 04 Nov 2014 19:19:29 GMT]]></title><description><![CDATA[<p dir="auto">Can you try to upgrade this agent to 1.2.17 (it will work with server 1.2.16)?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/15215</link><guid isPermaLink="true">https://forum.netxms.org/post/15215</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 04 Nov 2014 19:19:29 GMT</pubDate></item><item><title><![CDATA[Reply to Communication session broken: A request to send or receive data was... on Tue, 04 Nov 2014 17:07:29 GMT]]></title><description><![CDATA[<p dir="auto">Version 1.2.16.</p>
<p dir="auto">The strange thing is that sometimes it runs days without any messages and sometime +100 a day.</p>
]]></description><link>https://forum.netxms.org/post/15213</link><guid isPermaLink="true">https://forum.netxms.org/post/15213</guid><dc:creator><![CDATA[peterjn]]></dc:creator><pubDate>Tue, 04 Nov 2014 17:07:29 GMT</pubDate></item><item><title><![CDATA[Reply to Communication session broken: A request to send or receive data was... on Tue, 04 Nov 2014 16:56:04 GMT]]></title><description><![CDATA[<p dir="auto">Quite strange. What agent version you are running?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/15211</link><guid isPermaLink="true">https://forum.netxms.org/post/15211</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 04 Nov 2014 16:56:04 GMT</pubDate></item><item><title><![CDATA[Reply to Communication session broken: A request to send or receive data was... on Tue, 04 Nov 2014 12:31:17 GMT]]></title><description><![CDATA[<p dir="auto">It is very simple</p>
<p dir="auto">MasterServers = XXX.YYY.ZZZ<br />
ConfigIncludeDir = C:\NetXMS\etc\nxagentd.conf.d<br />
LogFile = C:\NetXMS\log\debug.log<br />
FileStore = C:\NetXMS\var<br />
SubAgent = logwatch.nsm<br />
SubAgent = winperf.nsm<br />
DebugLevel = 9</p>
]]></description><link>https://forum.netxms.org/post/15208</link><guid isPermaLink="true">https://forum.netxms.org/post/15208</guid><dc:creator><![CDATA[peterjn]]></dc:creator><pubDate>Tue, 04 Nov 2014 12:31:17 GMT</pubDate></item><item><title><![CDATA[Reply to Communication session broken: A request to send or receive data was... on Tue, 04 Nov 2014 10:24:08 GMT]]></title><description><![CDATA[<p dir="auto">Can you please show your agent's configuration file?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/15207</link><guid isPermaLink="true">https://forum.netxms.org/post/15207</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 04 Nov 2014 10:24:08 GMT</pubDate></item></channel></rss>