#Running Dagger GraphQL API errors

1 messages · Page 1 of 1 (latest)

weak tree
#

I was following this guide and it was working. Thanks for the recommendation on Studio. However, after upgrading to v0.18.14, I'm not able to access the server locally. I'm getting the following error message:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ‘http://127.0.0.1:8080/query’. (Reason: Credential is not supported if the CORS header ‘Access-Control-Allow-Origin’ is ‘*’).

Looks like I would need to an option to set the origin, which I did not see.

Just wanted to bring this up, happy to file an issue on GH if needed.

shadow lava
#

weird - that's what --allow-cors is supposed to fix

weak tree
#

Apparently Apollo is setting Access-Control-Allow-Credentials and that is not allowed when cors is *

#

Damnit, ignore me... apparently I flipped this on when messing with something else facepalm