Closed japlic closed 5 months ago
could you capture mc admin trace -v -a --funcname "sts.*" <ALIAS>
is there any loadbalancer/proxy setup ?
this is a dependency that is being blocked by the CSP policies, we are going to check it
ummm its not mc
ok
Is there away to fix it
You can fix the Content Security Policy (see Mozilla docs for more info about CSP) by trusting the host https://unpkg.com, this can be done with
mc`
mc admin config set ALIAS browser csp_policy="default-src 'self' 'unsafe-eval' 'unsafe-inline'; connect-src 'self' https://unpkg.com"
Don't forget to restart the service after the config change
mc admin service restart ALIAS
could you capture
mc admin trace -v -a --funcname "sts.*" <ALIAS>
is there any loadbalancer/proxy setup ?
@japlic please provide this info @prakashsvmx is asking for, the CSP is not the reason you cannot login
Closing due to innactivity, please feel free to open a new one if the issue persists providing the requested information.
NOTE
If this case is urgent, please subscribe to Subnet so that our 24/7 support team may help you faster.
Expected Behavior'
logging in
Current Behavior
Failed to load resource: the server responded with a status of 403 (Forbidden) jsx-runtime.js:4 Refused to connect to 'https://unpkg.com/detect-gpu@5.0.38/dist/benchmarks/d-intel.json' because it violates the following Content Security Policy directive: "default-src 'self' 'unsafe-eval' 'unsafe-inline'". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
(anonymous) @ jsx-runtime.js:4 Show 1 more frame Show less jsx-runtime.js:4 Refused to connect to 'https://unpkg.com/detect-gpu@5.0.38/dist/benchmarks/d-intel.json' because it violates the document's Content Security Policy. (anonymous) @ jsx-runtime.js:4 Show 1 more frame Show less api/v1/login:1
Possible Solution
Context
logging in into the webapp
idk
Regression
Your Environment
minio --version
):