Ecommerce Plugin Error on Login

Hello!

I installed the plugins from the tutor’s source code

The services are installed correctly, however, ecommerce has a login problem.

I ran the ecommerce logs

local tutor logs --tail = 100 ecommerce -f

And this message appears in the logs:

ecommerce_1 | AuthFailed: Authentication failed: HTTPConnectionPool (host = ‘dev2.ufmtonline.ufmt.br’, port = 80): Max retries exceeded with url: / oauth2 / access_token / (Caused by NewConnectionError (’<urllib3.connection.HTTPConnection object at 0x7fb19fd46 >: Failed to establish a new connection: [Errno -2] Name or service not known ',))
ecommerce_1 | 2020-02-07 17: 32: 43,705 ERROR 11 [django.request] /openedx/venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py:135 - Internal Server Error: / complete / edx-oidc /

Apparently / oauth2 doesn’t respond

I tested POST / oauth2 / access_token and got no response either

Do I need any more configuration?

Are you running this on a server on a local computer?

I’m using on server without domain (only configured domain on hosts file)

Now i put on real domain and i give this

 AuthCanceled: Authentication process canceled
ecommerce_1         | 2020-02-10 18:34:15,368 ERROR 10 [django.request] /openedx/venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py:135 - Internal Server Error: /complete/edx-oidc/

Hi,

Did you manage to fix the error?

I have the same problem.