You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when going on http://192.168.0.10 I get the error The 'Access-Control-Allow-Credentials' header in the response is missing and must be set to 'true' when the request's credentials mode is on. Origin 'https://192.168.0.10:5000' is therefore not allowed access.
Can you help me understand what I'm doing wrong please ?
The text was updated successfully, but these errors were encountered:
Your configuration looks a bit weird, I see REGISTRY_URL=https://192.168.0.10:5000 for the ui and Access-Control-Allow-Origin: ['https://192.168.0.10:5000'] for the registry server.
They should not be the same URL, REGISTRY_URL should be your registry URL (this is ok) but Access-Control-Allow-Origin should be your UI URL (this is not ok)
If your UI is on http://192.168.1.155 as shown in your screenshot, having a OPTIONS requests on it should not happen since the UI should be communicating with the registry and the path should have at least /v2/.
Hi, I'm trying to setup docker register ui but always fall on CORS errors , and I can't seem to find why.
I have this docker compose config:
I'm using self signed certificate for my registry. And here is my registry config
When I try to connect to my registry through command line it works:
curl --user 'Admin:SuperPassword' -Lk https://192.168.0.10:5000/v2/_catalog
{"repositories":["testimage"]}
But when going on http://192.168.0.10 I get the error
The 'Access-Control-Allow-Credentials' header in the response is missing and must be set to 'true' when the request's credentials mode is on. Origin 'https://192.168.0.10:5000' is therefore not allowed access.
Can you help me understand what I'm doing wrong please ?
The text was updated successfully, but these errors were encountered: