-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
findMatch function returns error #62
Comments
Thanks @cmalfesi for your report. I'm looking at this right now, and so far I can confirm that the server is up and running, and responding correctly to requests |
@cmalfesi You are seeing two different errors here: There is an error with the If you look at the Javascript code in the |
@lacabra Regarding the Javascript code in the client/, we were using that version but I had the CORS problem calling the endpoint 'addPersonalData' when with Curl it was working perfect, that is why I have improved the code and suggested to Alaa a new version of this file. |
@lacabra Do we need to add the CORS header on the server for this? |
@assafmo CORS is set up here, and as per documentation, these are the defaults, which set I have tested it with |
Cool, thanks. No plans to change the code for now. |
@assafmo This is called after upload my location file and try to show the results. Some days ago, we had the same problem with the endpoint I will try to fix again on Monday. |
@lacabra Here the example using the hash value created from the email users: If I back the parameters to the original values, then it works again. FYI: I'm using this enclave server for my tests Can you tell me if I'm doing something wrong? |
@lacabra
Woking on the frontend I'm receiving an error. Using curl get also an error. I have checked the documentation and
curl -H "Content-Type: application/json" -d '{"method":"findMatch","jsonrpc":"2.0","params":{"encryptedUserId":"e8e7c1971b7bdb8d9d78df1b8b88f60f731f08688e47731f530df90756c07dbfdc8c9ca048c26f055843a0f1f07cc68d7700ad7b","userPubKey":"7b2d957d4fa5682067aeebdaee6c34e640e4ce4ae4f803f3f44bbbd95a50b4eecad0fbdc5c3e6c3879ac42249ddc71ecadaf45415588f0347c5c7b2f3a360d48"},"id":"dc4d0812-5e62-4607-8b5d-409eaca38ec4"}' https://safetrace.enigma.co
Error result:
This is the error on the frontend:
It is related to this PR #50
The text was updated successfully, but these errors were encountered: