<?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: The compute service failed when communicating with another service or server in Developers</title>
    <link>https://communities.sas.com/t5/Developers/The-compute-service-failed-when-communicating-with-another/m-p/650506#M807</link>
    <description>&lt;P&gt;So in the end we tried all the compute contexts and this one worked:&amp;nbsp; "&lt;SPAN&gt;Import 9 service compute context"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 May 2020 19:06:30 GMT</pubDate>
    <dc:creator>AllanBowe</dc:creator>
    <dc:date>2020-05-25T19:06:30Z</dc:date>
    <item>
      <title>The compute service failed when communicating with another service or server</title>
      <link>https://communities.sas.com/t5/Developers/The-compute-service-failed-when-communicating-with-another/m-p/650482#M806</link>
      <description>&lt;P&gt;We have successfully:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;* set up a client / secret / access token&lt;/P&gt;
&lt;P&gt;* obtained a list of contexts from `/compute/contexts`&lt;/P&gt;
&lt;P&gt;* performed a POST request to `&lt;SPAN&gt;/compute/contexts/{contextId}/sessions`&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The response indicates that the request was successful, JSON is returned eg:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;{
  "owner": "xxx",
  "state": "pending",
  "attributes": {
    "homeDirectory": "/opt/sas/viya/config/var/run/compsrv/default/92c0b34e-b423-4694-857e-de8d1cc724f3",
    "sessionInactiveTimeout": 900
  },
  "serverId": "92c0b34e-b423-4694-857e-de8d1cc724f3",
  "applicationName": "new3FDA16F449B42DE9",
  "creationTimeStamp": "2020-05-25T15:54:07.000Z",
  "stateElapsedTime": 0,
  "sessionConditionCode": 0,
  "links": [
    {
      "method": "GET",
      "rel": "self",&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note the state - *pending*.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Subsequent GET requests to this session return:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;{"errorCode":5800,&lt;BR /&gt; "message":"The compute service failed when communicating with another service or server.",&lt;BR /&gt; "details":["traceId: a1001428b644db83"&lt;BR /&gt;    ,"path: /compute/sessions/92c0b34e-b423-4694-857e-de8d1cc724f3-ses0000"&lt;BR /&gt;  ],"links":[],"version":2,"httpStatusCode":500}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We tried this on the "SAS Studio compute context" and the "sharedcompute" context we created (pooled compute).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do we get more information?&amp;nbsp; What could be the cause of the session not being properly fired up?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 16:36:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/The-compute-service-failed-when-communicating-with-another/m-p/650482#M806</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2020-05-25T16:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: The compute service failed when communicating with another service or server</title>
      <link>https://communities.sas.com/t5/Developers/The-compute-service-failed-when-communicating-with-another/m-p/650506#M807</link>
      <description>&lt;P&gt;So in the end we tried all the compute contexts and this one worked:&amp;nbsp; "&lt;SPAN&gt;Import 9 service compute context"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 19:06:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/The-compute-service-failed-when-communicating-with-another/m-p/650506#M807</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2020-05-25T19:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: The compute service failed when communicating with another service or server</title>
      <link>https://communities.sas.com/t5/Developers/The-compute-service-failed-when-communicating-with-another/m-p/657573#M827</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/28909"&gt;@AllanBowe&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Are you still experiencing this issue? I replicated your steps and cannot hit the error. Here are my calls and relevant results:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;REST call: &lt;/STRONG&gt;GET&amp;nbsp;{{sasserver}}/compute/contexts&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Response:&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;            "version": 2,
            "name": "SAS Studio compute context"
        },
        {
            "createdBy": "sas.import9",
            "id": "d888f997-169e-432f-b289-92acd44ebcb9",
            "links": [
                {
                    "method": "GET",
                    "rel": "self",
                    "href": "/compute/contexts/d888f997-169e-432f-b289-92acd44ebcb9",
                    "uri": "/compute/contexts/d888f997-169e-432f-b289-92acd44ebcb9",
                    "type": "application/vnd.sas.compute.context"
                },
                {
                    "method": "GET",
                    "rel": "alternate",
                    "href": "/compute/contexts/d888f997-169e-432f-b289-92acd44ebcb9",
                    "uri": "/compute/contexts/d888f997-169e-432f-b289-92acd44ebcb9",
                    "type": "application/vnd.sas.compute.context.summary"
                },
                {
                    "method": "DELETE",
                    "rel": "delete",
                    "href": "/compute/contexts/d888f997-169e-432f-b289-92acd44ebcb9",
                    "uri": "/compute/contexts/d888f997-169e-432f-b289-92acd44ebcb9"
                },
                {
                    "method": "POST",
                    "rel": "createSession",
                    "href": "/compute/contexts/d888f997-169e-432f-b289-92acd44ebcb9/sessions",
                    "uri": "/compute/contexts/d888f997-169e-432f-b289-92acd44ebcb9/sessions",
                    "type": "application/vnd.sas.compute.session.request",
                    "responseType": "application/vnd.sas.compute.session"
                }
            ],&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;REST call:&lt;/STRONG&gt; POST&amp;nbsp;{{sasserver}}/compute/contexts/d888f997-169e-432f-b289-92acd44ebcb9/sessions&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Response:&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;{
    "owner": "sasdemo",
    "state": "pending",
    "sessionConditionCode": 0,
    "stateElapsedTime": 0,
    "attributes": {
        "homeDirectory": "/opt/sas/viya/config/var/run/compsrv/default/81851dd6-1fc9-4853-a895-9256c2c09503",
        "sessionInactiveTimeout": 900
    },
    "serverId": "81851dd6-1fc9-4853-a895-9256c2c09503",
    "creationTimeStamp": "2020-06-11T15:24:19.000Z",
    "applicationName": "sas.ec",
    "id": "81851dd6-1fc9-4853-a895-9256c2c09503-ses0000",
    "links": [
        {
            "method": "GET",
            "rel": "self",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000",
            "type": "application/vnd.sas.compute.session"
        },&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;REST call:&lt;/STRONG&gt; GET&amp;nbsp;{{sasserver}}/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Response:&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "owner": "sasdemo",
    "state": "idle",
    "sessionConditionCode": 0,
    "stateElapsedTime": 108,
    "logStatistics": {
        "modifiedTimeStamp": "2020-06-11T15:24:19.000Z",
        "lineCount": 38
    },
    "listingStatistics": {
        "modifiedTimeStamp": "2020-06-11T15:24:19.000Z",
        "lineCount": 0
    },
    "statistics": {
        "userCpuTime": 0.02,
        "systemCpuTime": 0.03,
        "memorySize": 10399744
    },
    "attributes": {
        "homeDirectory": "/opt/sas/viya/config/var/run/compsrv/default/81851dd6-1fc9-4853-a895-9256c2c09503",
        "sessionInactiveTimeout": 900
    },
    "serverId": "81851dd6-1fc9-4853-a895-9256c2c09503",
    "creationTimeStamp": "2020-06-11T15:24:19.000Z",
    "applicationName": "sas.ec",
    "id": "81851dd6-1fc9-4853-a895-9256c2c09503-ses0000",
    "links": [
        {
            "method": "GET",
            "rel": "self",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000",
            "type": "application/vnd.sas.compute.session"
        },
        {
            "method": "GET",
            "rel": "alternate",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000",
            "type": "application/vnd.sas.compute.session.summary"
        },
        {
            "method": "GET",
            "rel": "state",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/state",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/state",
            "type": "text/plain"
        },
        {
            "method": "PUT",
            "rel": "cancel",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/state?value=canceled",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/state?value=canceled"
        },
        {
            "method": "DELETE",
            "rel": "delete",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000"
        },
        {
            "method": "POST",
            "rel": "execute",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/jobs",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/jobs",
            "type": "application/vnd.sas.compute.job.request",
            "responseType": "application/vnd.sas.compute.job"
        },
        {
            "method": "GET",
            "rel": "jobs",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/jobs",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/jobs",
            "type": "application/vnd.sas.collection",
            "itemType": "application/vnd.sas.compute.job"
        },
        {
            "method": "GET",
            "rel": "files",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/filerefs",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/filerefs",
            "type": "application/vnd.sas.collection",
            "itemType": "application/vnd.sas.compute.fileref.summary"
        },
        {
            "method": "POST",
            "rel": "assign",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/filerefs",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/filerefs",
            "type": "application/vnd.sas.compute.fileref.request",
            "responseType": "application/vnd.sas.compute.fileref"
        },
        {
            "method": "GET",
            "rel": "librefs",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/data",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/data",
            "type": "application/vnd.sas.collection",
            "itemType": "application/vnd.sas.compute.library.summary"
        },
        {
            "method": "GET",
            "rel": "log",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/log",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/log",
            "type": "application/vnd.sas.collection",
            "itemType": "application/vnd.sas.compute.log.line"
        },
        {
            "method": "GET",
            "rel": "listing",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/listing",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/listing",
            "type": "application/vnd.sas.collection",
            "itemType": "application/vnd.sas.compute.log.line"
        },
        {
            "method": "GET",
            "rel": "results",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/results",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/results",
            "type": "application/vnd.sas.collection",
            "itemType": "application/vnd.sas.compute.result"
        },
        {
            "method": "GET",
            "rel": "variables",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/variables",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/variables",
            "type": "application/vnd.sas.collection",
            "itemType": "application/vnd.sas.compute.session.variable"
        },
        {
            "method": "GET",
            "rel": "engines",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/engines",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/engines",
            "type": "application/vnd.sas.collection",
            "itemType": "application/vnd.sas.data.engine"
        },
        {
            "method": "GET",
            "rel": "getFiles",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/files",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/files",
            "type": "application/vnd.sas.compute.file.properties"
        },
        {
            "method": "GET",
            "rel": "getOption",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/options/{optionName}",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/options/{optionName}",
            "type": "text/plain"
        },
        {
            "method": "PUT",
            "rel": "updateOption",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/options/{optionName}",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/options/{optionName}",
            "type": "text/plain",
            "responseType": "text/plain"
        },
        {
            "method": "GET",
            "rel": "formats",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/formats",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/formats",
            "type": "application/vnd.sas.collection",
            "itemType": "application/vnd.sas.format.summary"
        },
        {
            "method": "GET",
            "rel": "informats",
            "href": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/informats",
            "uri": "/compute/sessions/81851dd6-1fc9-4853-a895-9256c2c09503-ses0000/informats",
            "type": "application/vnd.sas.collection",
            "itemType": "application/vnd.sas.format.summary"
        }
    ],
    "version": 1
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I attempted with a couple of other contexts and had similar results. If you're still experiencing the issue, let me know and I'll pass this off to someone in dev with more in-depth knowledge.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 15:37:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/The-compute-service-failed-when-communicating-with-another/m-p/657573#M827</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2020-06-11T15:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: The compute service failed when communicating with another service or server</title>
      <link>https://communities.sas.com/t5/Developers/The-compute-service-failed-when-communicating-with-another/m-p/657616#M828</link>
      <description>couldn't reproduce, thanks for following up</description>
      <pubDate>Thu, 11 Jun 2020 17:28:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/The-compute-service-failed-when-communicating-with-another/m-p/657616#M828</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2020-06-11T17:28:30Z</dc:date>
    </item>
  </channel>
</rss>

