I got the following error (from the aesmd log) during remote attestation
[./source/epid_provision/epid_utility.cpp|109|check_epid_pve_pg_status_after_mac_verification|Mon Apr 24 16:49:22 2017]Server reported protocol error 6
[./source/epid_provision/epid_provision_msg2.cpp|375|proc_prov_msg2|Mon Apr 24 16:49:22 2017]Backend server reported error in ProvMsg2 passed MAC verification:(ae_error_t:PVE_PROV_ATTEST_KEY_NOT_FOUND:203)
[source/pve/pve_logic.cpp|116|process_pve_msg2|Mon Apr 24 16:49:22 2017]fail to process prov msg2:203
[source/pve/pve_logic.cpp|391|epid_provision_thread_func|Mon Apr 24 16:49:22 2017]processing prov msg2 failed:203
The machine have Ubuntu 14.04. I was using the SDK version 1.7. But now I switched to SDK and PSW from the Github repo (for easy debugging). In /etc/aesmd.conf, the mode is set to direct (no proxy mode).