I am having some issues with my application in Firefox. My issues are fairly similar to the problem posed in this ticket Firefox ‘Cross-Origin Request Blocked’ despite headers. However my circumstances are somewhat different.
My application torsera.com works in Chrome, Edge, and Safari, but I frequently get a CORS error when running in Firefox.
The strange thing is I do not always get the error, maybe one in ten times my api call succeeds.
This leads me to believe the issue is not related to my certificate as indicated in the solution to the above referenced ticket.
One other important note is that my backend is calling a variety of different llm apis. So every request can hit a different llm.
Looking at the mdn docs here: mdn CORS error I think the primary culprit is:
The server did not respond to the actual request (even if it responded to the Preflight request). One scenario might be an HTTP service being developed that panicked without returning any data.
Any ideas how I can troubleshoot this