Network error while registering
Hello.
I have problem with self-hosted service.
When I'm trying to register UI shows Network Error.
I use docker. Changed env to:
JWT_SECRET and STORE_ENCRYPTION_KEY
REACT_APP_WS_URL=http://my.service.address:3002
API_ROOT_URL=http://my.service.address:3000
DISABLE_USER_REGISTRATION=false
FRONT_BASE_URL=http://client:4200
WIDGET_EMBED_PATH=http://my.service.address:4701/embed.umd.min.js
WIDGET_URL=http://my.service.address:4500
but when trying to register I have error/
At first I got this:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://my.service.address3000/v1/auth/register. (Reason: CORS request did not succeed). Status code: (null).
After use plugin Allow CORS to Chrome error was as following:
service.address.....v1/auth/register net::ERR_CONNECTION_REFUSED
Any idea what's wrong here? I spent some time on debugging but don't know what's going on.
Thanks.
I have problem with self-hosted service.
When I'm trying to register UI shows Network Error.
I use docker. Changed env to:
JWT_SECRET and STORE_ENCRYPTION_KEY
REACT_APP_WS_URL=http://my.service.address:3002
API_ROOT_URL=http://my.service.address:3000
DISABLE_USER_REGISTRATION=false
FRONT_BASE_URL=http://client:4200
WIDGET_EMBED_PATH=http://my.service.address:4701/embed.umd.min.js
WIDGET_URL=http://my.service.address:4500
but when trying to register I have error/
At first I got this:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://my.service.address3000/v1/auth/register. (Reason: CORS request did not succeed). Status code: (null).
After use plugin Allow CORS to Chrome error was as following:
service.address.....v1/auth/register net::ERR_CONNECTION_REFUSED
Any idea what's wrong here? I spent some time on debugging but don't know what's going on.
Thanks.
