These are chat archives for mirumee/saleor
500when attempting to connect. The logs show this err:
django.db.utils.OperationalError: could not create SSL context: library has no ciphers. The app can't connect to the Postgres DB. I've tried a variety of fixes but nothing's worked. Has anyone seen this before or have any idea how to fix it? I'm happy to jump into a private chat to give more context as well. Thanks!
I recently tried to debug the problem and issue is related to CORS. And chrome console shows following error :-
Access to fetch at 'http://localhost:8000/graphql/' from origin 'http://127.0.0.1:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header contains multiple values 'localhost,127.0.0.1', but only one is allowed. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Any idea how to solve this .? help would be really appreciated. Thank you :)