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
I am experiencing an "Invalid CORS Request" error when trying to access a Castlemock instance running in a Docker container from a web application. I have already added CORS configurations in the web.xml file, but the error persists. The error occurs when making an OPTIONS request to a REST endpoint with the necessary headers.
I suspect the issue may be related to the server hosting Castlemock or the proxy server redirecting requests. I have checked the server logs and verified that the allowedOrigins property in the CORS configuration matches the domain and port of my web application. I would appreciate any guidance on troubleshooting this issue or any suggestions on additional steps to resolve the problem.
Thank you in advance for your help.
The text was updated successfully, but these errors were encountered:
I am experiencing an "Invalid CORS Request" error when trying to access a Castlemock instance running in a Docker container from a web application. I have already added CORS configurations in the web.xml file, but the error persists. The error occurs when making an OPTIONS request to a REST endpoint with the necessary headers.
I suspect the issue may be related to the server hosting Castlemock or the proxy server redirecting requests. I have checked the server logs and verified that the allowedOrigins property in the CORS configuration matches the domain and port of my web application. I would appreciate any guidance on troubleshooting this issue or any suggestions on additional steps to resolve the problem.
Thank you in advance for your help.
The text was updated successfully, but these errors were encountered: