https://netmaker.org logo
Title
c

calm-agent-16830

10/27/2022, 3:21 AM
I'm running 0.16.1 and getting a ton of CORS errors when looking at the ACLs:
GET https://api.netmaker.example.com/api/networks/stellaprod/acls net::ERR_FAILED

Access to XMLHttpRequest at 'https://api.netmaker.example.com/api/networks/stellaprod/acls' from origin 'https://dashboard.netmaker.example.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
xhr.js:187 
        
      
GET https://api.netmaker.example.com/api/networks/stellaprod/acls net::ERR_FAILED
The compose has the right values (I think):
docker-compose.yml
21:      SERVER_NAME: "broker.netmaker.example.com"
23:      SERVER_API_CONN_STRING: "api.netmaker.example.com:443"
26:      SERVER_HTTP_HOST: "api.netmaker.example.com"
49:      - traefik.http.routers.netmaker-api.rule=Host(`api.netmaker.example.com`)
61:      BACKEND_URL: "https://api.netmaker.example.com"
66:      - traefik.http.middlewares.nmui-security.headers.accessControlAllowOriginList=*.netmaker.example.com
74:      - traefik.http.routers.netmaker-ui.rule=Host(`dashboard.netmaker.example.com`)
And now the broswer tab is showing "Error code: Out of Memory"