These are chat archives for mirumee/saleor

Jan 2019
Jan 16 00:22
Hey all, I'm deploying Saleor to Heroku and getting a 500 when 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!
Amitosh Kumar
Jan 16 08:54
@mahayash i did what you mentioned but i can see the UI and 3 dots moving but then i get Network Error: Failed to fetch
Any idea how to fix this network error failed to fetch
Jan 16 11:11
In this documentation we need to use V2 o V3 of recaptcha? highlight=captcha
Marcin Gębala
Jan 16 11:14
@jdivins About you first question - there are two addresses in our checkout flow - billing and shipping. Billing address is used for payments while shipping can be different. Both are displayed on the invoice though.
And for Recaptcha - we use this lib to integrate that: From what I see on their Github, only V2 is supported
And they have open issues to support V3
Amitosh Kumar
Jan 16 13:19
@maarcingebala can you please brief me how i migut be able to solve the network error when i uploaded the new storefront over saleor 2.0
Amitosh Kumar
Jan 16 16:15

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 '' 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,', 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 :)

Amitosh Kumar
Jan 16 17:06
I opened this issue in saleor-storefront as #206