-
Notifications
You must be signed in to change notification settings - Fork 95
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
CORS configuration not working for Tessera #153
Comments
Hi @wxker95 could you confirm the request url you made please? Could you please give us a list of steps as to how we reproduce this error? |
Can confirm that even though the error message shows I have tried modifying quorum quickstart's Tessera version to use 0.10.2, but I must not be understanding something about this project because I haven't been able to get it working. The code I'm using:
It's worth noting that this is a known issue mentioned on Tessera's github since January: Consensys/tessera#1385 |
Gotcha @wxker95 I'll close this and follow this up on that issue. Consensys/tessera#1385 |
I have attempted to enable CORS by adding to the tessera config as shown below.
However, trying to hit the
/storeraw
endpoint gave the following error:Access to fetch at 'http:///storeraw' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
Seems like the preflight request resulted in a 500 status.
Looking in the tessera logs, I see the following lines:
The text was updated successfully, but these errors were encountered: