<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ERROR: The tcpSockRead call failed. The system error is 'The connection was reset by a peer.'. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-tcpSockRead-call-failed-The-system-error-is-The/m-p/626835#M184931</link>
    <description>&lt;P&gt;I have faced this kind of error once before and this error message is reported when the object spawner has been stopped intermittently and interactive sessions get disconnected without informing the applications about the reason.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/34/776.html" target="_blank"&gt;http://support.sas.com/kb/34/776.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Feb 2020 11:32:42 GMT</pubDate>
    <dc:creator>naveend13</dc:creator>
    <dc:date>2020-02-24T11:32:42Z</dc:date>
    <item>
      <title>ERROR: The tcpSockRead call failed. The system error is 'The connection was reset by a peer.'.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-tcpSockRead-call-failed-The-system-error-is-The/m-p/608244#M180230</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have taken the score code generated in Viya and am trying to run it in EG. &amp;nbsp;&amp;nbsp;I have changed the variables that feed into the macro as best as I can&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I am getting below error.&lt;/P&gt;&lt;P&gt;ERROR: The tcpSockRead call failed. The system error is 'The connection was reset by a peer.'.&lt;/P&gt;&lt;P&gt;ERROR: Connection has been closed.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 13:42:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-tcpSockRead-call-failed-The-system-error-is-The/m-p/608244#M180230</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2019-11-29T13:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The tcpSockRead call failed. The system error is 'The connection was reset by a peer.'.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-tcpSockRead-call-failed-The-system-error-is-The/m-p/608247#M180231</link>
      <description>&lt;P&gt;Please post&amp;nbsp;&lt;EM&gt;complete&lt;/EM&gt; logs. Messages without the code causing them are mostly useless.&lt;/P&gt;
&lt;P&gt;I suspect a problem with SAS/Connect.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 13:51:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-tcpSockRead-call-failed-The-system-error-is-The/m-p/608247#M180231</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-11-29T13:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The tcpSockRead call failed. The system error is 'The connection was reset by a peer.'.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-tcpSockRead-call-failed-The-system-error-is-The/m-p/608250#M180232</link>
      <description>&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;see the log below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;34 /*****************************************************************************&lt;BR /&gt;35 ** Macro: Score Data Mining Model&lt;BR /&gt;36 **&lt;BR /&gt;37 ** Description: Score the specified model using the score execution service&lt;BR /&gt;38 ******************************************************************************/&lt;BR /&gt;39&lt;BR /&gt;40 %macro DMScoreModel(hostname, port, token, projectId, modelId, datasourceUri, outputCasLib, outputTableName);&lt;BR /&gt;41&lt;BR /&gt;42 filename resp TEMP;&lt;BR /&gt;43 filename headers TEMP;&lt;BR /&gt;44 filename data TEMP;&lt;BR /&gt;45&lt;BR /&gt;46 %let scoreModelUrl=&amp;amp;hostname:&amp;amp;port/dataMining/projects/&amp;amp;projectId/models/&amp;amp;modelId/scoreExecutions;&lt;BR /&gt;47&lt;BR /&gt;48 proc json out=data pretty;&lt;BR /&gt;49 write open object;&lt;BR /&gt;50 write values "dataTableUri" "&amp;amp;datasourceUri";&lt;BR /&gt;51 write values "outputCasLibName" "&amp;amp;outputCasLib";&lt;BR /&gt;52 write values "outputTableName" "&amp;amp;outputTableName";&lt;BR /&gt;53 write close;&lt;BR /&gt;54 run;&lt;BR /&gt;55&lt;BR /&gt;56 proc http&lt;BR /&gt;57 method="POST"&lt;BR /&gt;58 url="&amp;amp;scoreModelUrl"&lt;BR /&gt;59 in=data&lt;BR /&gt;60 headerout=headers&lt;BR /&gt;61 out=resp;&lt;BR /&gt;62 headers&lt;BR /&gt;63 "Accept"="application/vnd.sas.score.execution+json"&lt;BR /&gt;64 "Content-Type"="application/vnd.sas.analytics.data.mining.model.score.request+json"&lt;BR /&gt;65 "Authorization"=&amp;amp;token;&lt;BR /&gt;66 run;&lt;BR /&gt;67&lt;BR /&gt;68 %mend;&lt;BR /&gt;69&lt;BR /&gt;70 /**********************************************************************************************&lt;BR /&gt;71 * Edit the following options to customize the scoring operation&lt;BR /&gt;72 * hostname: REQUIRED: The Viya host name&lt;BR /&gt;73 * port: REQUIRED: The Viya port&lt;BR /&gt;74 * token: REQUIRED: The OAuth2 token used to authenticate the request&lt;BR /&gt;75 * projectId: REQUIRED: The id of the project that contains the model to score&lt;BR /&gt;76 * modelId: REQUIRED: The id of the model to score&lt;BR /&gt;77 * datasourceUri: REQUIRED: The uri of the datasource being used for scoring. This information is available from the&lt;BR /&gt;77 ! dataTables endpoint.&lt;BR /&gt;78 * http://HOST:PORT/dataTables/dataSources&lt;BR /&gt;79 * outputCasLib: REQUIRED: The name of the cas lib where the score output table should be written&lt;BR /&gt;80 * outputTableName: REQUIRED: The name of the output scoring table to create&lt;BR /&gt;81 **********************************************************************************************/&lt;BR /&gt;82 %let hostname =XXXXXXX;&lt;BR /&gt;83 %let port = 5570;&lt;BR /&gt;84 %let token="XXXXXXXXXXXXX";&lt;BR /&gt;NOTE: The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation marks.&lt;BR /&gt;85 %let projectId = c5f6c81c-3a7b-4f7d-bd17-6b7a3943a64a;&lt;BR /&gt;86 %let modelId = 68812741-d3c7-483c-b4c5-8ff0725e544a;&lt;BR /&gt;87 %let datasourceUri = /dataTables/dataSources/cas~fs~cas-shared-default~fs~Public/tables/HMEQ_TEST;&lt;BR /&gt;88 %let outputCasLib = CASUSER;&lt;BR /&gt;89 %let outputTableName = HMEQ_SCORED;&lt;BR /&gt;90 %DMScoreModel(&amp;amp;hostname, &amp;amp;port, &amp;amp;token, &amp;amp;projectId, &amp;amp;modelId, &amp;amp;datasourceUri, &amp;amp;outputCasLib, &amp;amp;outputTableName);&lt;BR /&gt;NOTE: The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation marks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE JSON used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;NOTE: The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation marks.&lt;/P&gt;&lt;P&gt;ERROR: The tcpSockRead call failed. The system error is 'The connection was reset by a peer.'.&lt;BR /&gt;ERROR: Connection has been closed.&lt;BR /&gt;NOTE: PROCEDURE HTTP used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;BR /&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 14:27:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-tcpSockRead-call-failed-The-system-error-is-The/m-p/608250#M180232</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2019-11-29T14:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The tcpSockRead call failed. The system error is 'The connection was reset by a peer.'.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-tcpSockRead-call-failed-The-system-error-is-The/m-p/608267#M180233</link>
      <description>&lt;P&gt;You have unbalanced quotes further up in the code.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 15:37:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-tcpSockRead-call-failed-The-system-error-is-The/m-p/608267#M180233</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-11-29T15:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The tcpSockRead call failed. The system error is 'The connection was reset by a peer.'.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-tcpSockRead-call-failed-The-system-error-is-The/m-p/608662#M180234</link>
      <description>&lt;P&gt;Sorry I can't find the&amp;nbsp;&lt;SPAN&gt;unbalanced quotes. in which line?&amp;nbsp; from above log.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 10:50:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-tcpSockRead-call-failed-The-system-error-is-The/m-p/608662#M180234</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2019-12-02T10:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The tcpSockRead call failed. The system error is 'The connection was reset by a peer.'.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-tcpSockRead-call-failed-The-system-error-is-The/m-p/608666#M180235</link>
      <description>&lt;P&gt;It's not in the code you posted, it happens previously.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 10:57:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-tcpSockRead-call-failed-The-system-error-is-The/m-p/608666#M180235</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-02T10:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The tcpSockRead call failed. The system error is 'The connection was reset by a peer.'.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-tcpSockRead-call-failed-The-system-error-is-The/m-p/626835#M184931</link>
      <description>&lt;P&gt;I have faced this kind of error once before and this error message is reported when the object spawner has been stopped intermittently and interactive sessions get disconnected without informing the applications about the reason.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/34/776.html" target="_blank"&gt;http://support.sas.com/kb/34/776.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 11:32:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-tcpSockRead-call-failed-The-system-error-is-The/m-p/626835#M184931</guid>
      <dc:creator>naveend13</dc:creator>
      <dc:date>2020-02-24T11:32:42Z</dc:date>
    </item>
  </channel>
</rss>

