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
my server host address : http://localhost:8000 and my origin address : http://localhost:5174
I got this error : https://localhost:5174/#/:1 Access to fetch at 'http://localhost:8000/api/auth/me' from origin 'http://localhost:5174' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
In my terminal I got :
[Web Server ] Dec 21 10:33:00 |WARN | SERVER OPTIONS (400) /api/auth/me host="localhost:8000" ip="::1" scheme="https"
[PHP ] [Thu Dec 21 10:33:00 2023] 127.0.0.1:49414 [400]: OPTIONS /api/auth/me
[PHP ] [Thu Dec 21 10:33:00 2023] 127.0.0.1:49414 Closing
[PHP ] [Thu Dec 21 10:33:00 2023] 127.0.0.1:49428 Accepted
[PHP ] [Thu Dec 21 10:33:00 2023] 127.0.0.1:49428 [400]: OPTIONS /api/auth/me
[PHP ] [Thu Dec 21 10:33:00 2023] 127.0.0.1:49428 Closing
I don't know how to solve it I have clear cache so much time but nothing change.
Someone has already have this issue how to solve it ?
The text was updated successfully, but these errors were encountered:
@easybi-vv If reverting to 2.4.0 fixed it I doubt it's the same problem, or maybe not even a problem in this bundle, as the two reports above yours were done BEFORE the 2.5.0 release. So it cannot be a 2.5 regression.
My nelmio_cors.yaml:
nelmio_cors:
my server host address :
http://localhost:8000
and my origin address :http://localhost:5174
I got this error :
https://localhost:5174/#/:1 Access to fetch at 'http://localhost:8000/api/auth/me' from origin 'http://localhost:5174' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
In my terminal I got :
I don't know how to solve it I have clear cache so much time but nothing change.
Someone has already have this issue how to solve it ?
The text was updated successfully, but these errors were encountered: