Intel® Software Guard Extensions (Intel® SGX)
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.
1265 Discussions

499 Bad request Invalid Attestation Evidence Payload. The client should not repeat the request witho

amirthanto
Beginner
377 Views

2 > POST https://api.trustedservices.intel.com/sgx/dev/attestation/v4/report
2 > Accept: application/json
2 > Content-Type: application/json
2 > Ocp-Apim-Subscription-Key: 60c2751dec28443fbe2bca9a7c4d24ef
{"isvEnclaveQuote":"AgAAAO4KAAAHAAYAAAAAAGDCdR3sKEQ/vivKmnxNJO+EXGCQtOUwFZnnCS1KhIYMBRH///+AAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAAAAAAAAAHAAAAAAAAAM1s/DQpN7I7G907v5chqlYVrJ/1CnXFUn1EHNMnaCbJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9qCjztySKcgswaAL3lNu+uxBGjk1krUjBbUTkjarRYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACP5e908z8tNkjWdPZkZG1xdXwn4FLvJvnvgobHanwwTgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAIAAFk/odnLGbexrlPYWpEwY/W8CzMCv1kc6SJFNDebLIY5XUiiuBRule9rXx2mnoY8KcGI8HFARuAJpkrAwf40wPESoqLmcVCzzYd3R8iFhQubCh2TBpz97z2JIhnE/fodi/s+5Uu8VgQMo3t+wJeG28LNzsMe1mpuY10CTsp1WLYral2cgLJLmImK9U35Yo0OULKhnQodtcrJPDtRYiOW7VtPZOfyZFC3TgQSUuyzbiFRBaTXE27vPcaccuYWYFNsweYcrTqkjZwxGvbGlOD2zTZku/jD8bqeAHwORiBracDcWCZpwtrvQTIe5Btzh+1KwF3oGnvkFYHhxexjqUhZ5l4Y88VtnPLtDNanO6ycyRwlytBUIl+Cr6M27CKYk3EhIkojrumWwuVQbi4CRmgBAACmywfVYSiUIZuGm19bQc8oAZHDsqBJ7M7Q+gwp/u/5WxTmisfY1vFMB219Z9aQMJMQocXscc23sdj+1ligrFvuM7sajayqsqrxbLC13hrSr2BJEeCZ1NCnk1tWVnSg8BrxCk8kZyPzIUHYEknkAY36xDOXWM6CWqr6d/mxHFHxwFa4gmzF6Ki6g4j6rGVlV6x0Ma5yP6IodpP7gazNPLrJfj2cid9uVpV6Aa69XuM7+1PvM4Pq6A+HVHVN/PDJtQ7Gg0EC2/fbbn0sTZNpqkSg4EqnQokdApzETXlL2Uz4aXqKpXy5T5XiQtLt8GsP8fOxEAWBWgq3pAw5nqgxIxdxyS2QHXQa/j9IGb1vL+fBTNmw34A6CNh0zeQgiXxhjsVzez41aawh6f1Np6vtgYPCz9p0UqLWIG57UWsHzIV+zfjdD92FXWUSJvAJU/z7CckPcworfdzMweey6y/iRyBWa+rlVVMf4Rm7X9OYHuvWWCj00kicTQP9"}

INFO [2021-01-25 11:26:50,410] test: 2 * Client response received on thread main
2 < 400
2 < Content-Length: 0
2 < Date: Mon, 25 Jan 2021 11:26:49 GMT
2 < Request-ID: 17cf5e2c48074ca9aeb3dfe03d01a837

 

Can you please help me out why am I getting bad request(400)?

0 Kudos
1 Solution
JesusG_Intel
Moderator
328 Views

Hello amirthanto,


Please contact ContactDiscoveryService for support as it is their software that is making the request. I noticed on their Github page, https://github.com/signalapp/ContactDiscoveryService/, that their code has not been updated in a long time and they list very outdated SGX software.


Sincerely,

Jesus G.

Intel Customer Support


View solution in original post

5 Replies
amirthanto
Beginner
374 Views

Sorry the subject I wrongly mentioned as 499. It should be 400

JesusG_Intel
Moderator
358 Views

Hello amirthanto,


Please describe your environment.


  • What application are you running?
  • Operating system?
  • What SGX components have you installed?
  • Are you able to run the sgx-ra-sample and RemoteAttestation SDK sample?


Sincerely,

Jesus G.

Intel Customer Support


amirthanto
Beginner
343 Views
  • What application are you running? Signal ContactDiscoveryService
  • Operating system? Ubuntu 20.04
  • What SGX components have you installed? SGX SDK, PSW 
  • Are you able to run the sgx-ra-sample and RemoteAttestation SDK sample? 

Yes able to run sgx-ra-sample and RemoteAttestation successfully

Not sure what differs between the ContactDiscoveryService and sgx-ra-sample differs

SIGRL http request call

+++ Exec: wget --output-document=- --save-headers --content-on-error --no-http-keep-alive --no-check-certificate --header=Ocp-Apim-Subscription-Key: 29ad0c96aa3e47c1a0fe691fa752e32c https://api.trustedservices.intel.com/sgx/dev/attestation/v4/sigrl/00000b35
--2021-01-28 11:07:21-- https://api.trustedservices.intel.com/sgx/dev/attestation/v4/sigrl/00000b35

HTTP request sent, awaiting response... 200 OK

REPORT call

+++ Exec: wget --output-document=- --save-headers --content-on-error --no-http-keep-alive --no-check-certificate --header=Ocp-Apim-Subscription-Key: 29ad0c96aa3e47c1a0fe691fa752e32c --header=Content-Type: application/json --post-file=/tmp/wgetpostqHwhBe https://api.trustedservices.intel.com/sgx/dev/attestation/v4/report
--2021-01-28 11:07:22-- https://api.trustedservices.intel.com/sgx/dev/attestation/v4/report

HTTP request sent, awaiting response... 200 OK

 

  • ContactDiscoveryService log

1 > GET https://api.trustedservices.intel.com/sgx/dev/attestation/v4/sigrl/00000b35

INFO [2021-01-28 06:31:27,882] org.glassfish.jersey.filter.LoggingFilter: 1 * Client response received on thread main
1 < 200

2 > POST https://api.trustedservices.intel.com/sgx/dev/attestation/v4/report

INFO [2021-01-28 06:31:28,484] org.glassfish.jersey.filter.LoggingFilter: 2 * Client response received on thread main
2 < 400

Not sure why the request is invalid, looks both the 

JesusG_Intel
Moderator
329 Views

Hello amirthanto,


Please contact ContactDiscoveryService for support as it is their software that is making the request. I noticed on their Github page, https://github.com/signalapp/ContactDiscoveryService/, that their code has not been updated in a long time and they list very outdated SGX software.


Sincerely,

Jesus G.

Intel Customer Support


JesusG_Intel
Moderator
314 Views

This thread has been marked as answered and Intel will no longer monitor this thread. If you want a response from Intel in a follow-up question, please open a new thread.


Reply