<?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 Thanks for Surenthar Selvaraj in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095119#M967</link>
    <description>&lt;P&gt;Thanks for&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Surenthar Selvaraj.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I've found the solution. The problem is related to the proxy network of my company. Because there is no proxy setting in PSW, so I have to run the sample code in no proxy network environment.Then it works with no error!.&lt;/P&gt;

&lt;P&gt;The PSW will contact with Intel IAS server for provisioning the EPID private key. So If someone comes across the similar problem, check your network.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2016 03:34:26 GMT</pubDate>
    <dc:creator>shen_y_</dc:creator>
    <dc:date>2016-06-23T03:34:26Z</dc:date>
    <item>
      <title>Running RemoteAttestation sample failed</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095114#M962</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; I can run the&amp;nbsp;SampleEnclave and LocalAttestation sample code well in the IntelSGXSDK. When I want to run&amp;nbsp;RemoteAttestation sample, it always fails. I find that isv_app.cpp called the&amp;nbsp;enclave_init_ra(enclave_id,&amp;amp;status,&lt;STRONG&gt;false&lt;/STRONG&gt;,&amp;amp;context) with false value of b_pse. It will bypass the function call&amp;nbsp;sgx_create_pse_session() later and not&amp;nbsp;establish a session with PSE. Then it will return a 0 value context,which is used in&amp;nbsp;sgx_ra_get_msg1() function, and lead to results below.If i set b_pse true,it will fail either.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;"Call sgx_create_enclave success.&lt;BR /&gt;
		Call enclave_init_ra success.&lt;BR /&gt;
		Error, call sgx_ra_get_msg1 fail [wmain].&lt;BR /&gt;
		Call enclave_ra_close success."&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I also find an answer "Some platforms do not have firmware support for platform services enclave, which would cause this function to fail“ and an article "&lt;/SPAN&gt;Usage of Simulation Mode in SGX Enhanced Application" referred to the firmware.&lt;/P&gt;

&lt;P&gt;My Question is&amp;nbsp;&lt;/P&gt;

&lt;P&gt;1.W&lt;SPAN style="color: rgb(102, 102, 102); font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 14px; line-height: 19.6px;"&gt;hat kind of firmware it is? How to find out the firmware is supported in my laptop? Or , the firmware is already supported in my laptop, &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#666666" face="Arial, Tahoma, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: 14px; line-height: 19.6px;"&gt;the error is caused just because it is in non-product mode?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#666666" face="Arial, Tahoma, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: 14px; line-height: 19.6px;"&gt;2.Is there anyone else can run the RemoteAttestation code without error? Thanks for your help!!:)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 04:31:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095114#M962</guid>
      <dc:creator>shen_y_</dc:creator>
      <dc:date>2016-06-13T04:31:05Z</dc:date>
    </item>
    <item>
      <title>Hi Yu,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095115#M963</link>
      <description>&lt;P&gt;Hi Yu,&lt;BR /&gt;
	There seems something wrong with the platform service configuration and this problem is solved after install the latest version of Intel management engine component and sgx platform service (The full ME stack needs to be installed on the system for the services to be available to SGX platform software).&lt;/P&gt;

&lt;P&gt;Intel® Management Engine (Intel® ME) download link&lt;BR /&gt;
	&lt;A href="https://downloadcenter.intel.com/download/25881" target="_self"&gt;https://downloadcenter.intel.com/download/25881&amp;nbsp;&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks and Regards,&lt;BR /&gt;
	Surenthar Selvaraj&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 06:38:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095115#M963</guid>
      <dc:creator>Surenthar_S_Intel</dc:creator>
      <dc:date>2016-06-13T06:38:44Z</dc:date>
    </item>
    <item>
      <title>Hi Surenthar Selvaraj,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095116#M964</link>
      <description>&lt;P&gt;&lt;SPAN style="font-family: Arial, SimHei, SimSun, Tahoma, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;Hi Surenthar Selvaraj,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT face="Arial, SimHei, SimSun, Tahoma, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;I'm sorry to say that I still get &lt;/SPAN&gt;&lt;/FONT&gt;SGX_ERROR_BUSY&amp;nbsp;&lt;FONT face="Arial, SimHei, SimSun, Tahoma, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;error when I call the &lt;/SPAN&gt;&lt;/FONT&gt;sgx_create_pse_session() function&lt;FONT face="Arial, SimHei, SimSun, Tahoma, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;&amp;nbsp;.I have downloaded and installed the latest version of Intel ME and my SDK&amp;amp;PSW version is also the latest version(SDK and PSW&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;for Windows v1.1.30214.81). I'm sure that AESMService is running background.&lt;/P&gt;

&lt;P&gt;How can I fix it ?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you ,&lt;/P&gt;

&lt;P&gt;Yu&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 02:26:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095116#M964</guid>
      <dc:creator>shen_y_</dc:creator>
      <dc:date>2016-06-14T02:26:49Z</dc:date>
    </item>
    <item>
      <title>Hi Yu,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095117#M965</link>
      <description>&lt;P&gt;Hi Yu,&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Initial instincts that something is went wrong with the Intel SGX PSW. Can you please uninstall the PSW, reboot, and a fresh reinstallion of Intel SGX PSW and Intel ME.&lt;/P&gt;

&lt;P&gt;Thanks and Regards,&lt;BR /&gt;
	Surenthar Selvaraj&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 06:00:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095117#M965</guid>
      <dc:creator>Surenthar_S_Intel</dc:creator>
      <dc:date>2016-06-15T06:00:48Z</dc:date>
    </item>
    <item>
      <title>Hi Surenthar Selvaraj,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095118#M966</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Surenthar Selvaraj,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I have finished the process of "&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;uninstall the PSW, reboot, and a fresh reinstallion of Intel SGX PSW and Intel ME". But it doesn't work for me.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;enclave_init_ra(enclave_id,&amp;amp;status,&lt;/SPAN&gt;&lt;SPAN style="font-weight: 700; font-size: 12px; line-height: 18px;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;,&amp;amp;context)&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;-&amp;gt; sgx_ra_init(&amp;amp;g_sp_pub_key,b_pse,p_context) still returns context with value 0.&lt;/P&gt;

&lt;P&gt;Sgx_ra_get_msg1 return SGX_ERROR_BUSY or SGX_ERROR_NETWORK_FAILURE.&lt;/P&gt;

&lt;P&gt;Error is caused by 0 value context, is that right? Or there is some proxy or network problems I didn't notice .&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Yu&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 10:02:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095118#M966</guid>
      <dc:creator>shen_y_</dc:creator>
      <dc:date>2016-06-21T10:02:13Z</dc:date>
    </item>
    <item>
      <title>Thanks for Surenthar Selvaraj</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095119#M967</link>
      <description>&lt;P&gt;Thanks for&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Surenthar Selvaraj.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I've found the solution. The problem is related to the proxy network of my company. Because there is no proxy setting in PSW, so I have to run the sample code in no proxy network environment.Then it works with no error!.&lt;/P&gt;

&lt;P&gt;The PSW will contact with Intel IAS server for provisioning the EPID private key. So If someone comes across the similar problem, check your network.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 03:34:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095119#M967</guid>
      <dc:creator>shen_y_</dc:creator>
      <dc:date>2016-06-23T03:34:26Z</dc:date>
    </item>
    <item>
      <title>Quote:Yu wrote:</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095120#M968</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Yu wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thanks for&amp;nbsp;Surenthar Selvaraj.&lt;/P&gt;

&lt;P&gt;I've found the solution. The problem is related to the proxy network of my company. Because there is no proxy setting in PSW, so I have to run the sample code in no proxy network environment.Then it works with no error!.&lt;/P&gt;

&lt;P&gt;The PSW will contact with Intel IAS server for provisioning the EPID private key. So If someone comes across the similar problem, check your network.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have the same issue on linux platform&lt;/P&gt;

&lt;P&gt;I built the RemoteAttestation using : make SGX_MODE=HW SGX_DEBUG=1&lt;/P&gt;

&lt;P&gt;when I run ./app, it says&lt;/P&gt;

&lt;P&gt;Call sgx_create_enclave success.&lt;BR /&gt;
	Call enclave_init_ra success.&lt;BR /&gt;
	Error, call sgx_ra_get_msg1 fail [main].&lt;BR /&gt;
	Call enclave_ra_close success.&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	My company network has proxy, it means my sgx server has to access network via proxy. Is there any way to solve this?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 15:18:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095120#M968</guid>
      <dc:creator>Changzheng_W_Intel</dc:creator>
      <dc:date>2016-09-29T15:18:16Z</dc:date>
    </item>
    <item>
      <title>Quote:Changzheng W. (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095121#M969</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Changzheng W. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG class="quote-header"&gt;Quote:&lt;/STRONG&gt;&lt;/P&gt;

&lt;BLOCKQUOTE class="quote-msg quote-nest-1 odd"&gt;
	&lt;DIV class="quote-author"&gt;&lt;EM class="placeholder"&gt;Yu&lt;/EM&gt; wrote:&lt;/DIV&gt;

	&lt;P&gt;&amp;nbsp;&lt;/P&gt;

	&lt;P&gt;Thanks for&amp;nbsp;Surenthar Selvaraj.&lt;/P&gt;

	&lt;P&gt;I've found the solution. The problem is related to the proxy network of my company. Because there is no proxy setting in PSW, so I have to run the sample code in no proxy network environment.Then it works with no error!.&lt;/P&gt;

	&lt;P&gt;The PSW will contact with Intel IAS server for provisioning the EPID private key. So If someone comes across the similar problem, check your network.&lt;/P&gt;

	&lt;P&gt;&amp;nbsp;&lt;/P&gt;

	&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have the same issue on linux platform&lt;/P&gt;

&lt;P&gt;I built the RemoteAttestation using : make SGX_MODE=HW SGX_DEBUG=1&lt;/P&gt;

&lt;P&gt;when I run ./app, it says&lt;/P&gt;

&lt;P&gt;Call sgx_create_enclave success.&lt;BR /&gt;
	Call enclave_init_ra success.&lt;BR /&gt;
	Error, call sgx_ra_get_msg1 fail [main].&lt;BR /&gt;
	Call enclave_ra_close success.&lt;/P&gt;

&lt;P&gt;My company network has proxy, it means my sgx server has to access network via proxy. Is there any way to solve this?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I contacted my company network administrator to add my account in the whitelist of the network proxy. So you can have a try.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 02:51:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095121#M969</guid>
      <dc:creator>shen_y_</dc:creator>
      <dc:date>2016-09-30T02:51:15Z</dc:date>
    </item>
    <item>
      <title>When I get the error message</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095122#M970</link>
      <description>&lt;P&gt;When I get the error message about uninstalling the PSW (Platform Software), what I do is just stop AESM with this command:&lt;/P&gt;&lt;P&gt;sudo service aesmd stop&lt;BR /&gt;sudo service aesmd status&lt;/P&gt;&lt;P&gt;(this is for Ubuntu Linux btw)&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 00:31:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-RemoteAttestation-sample-failed/m-p/1095122#M970</guid>
      <dc:creator>Daniel_Anderson_Intel</dc:creator>
      <dc:date>2020-02-07T00:31:00Z</dc:date>
    </item>
  </channel>
</rss>

