14,675 questions
0
votes
1
answer
43
views
Next.js dev server API routes/Server Actions hang on infinite loading when accessed via local IP
I am running a Next.js (v15) development server on my local machine. When I access the site via localhost:3000 on my PC, everything works perfectly. However, when I try to access it from my mobile ...
0
votes
0
answers
41
views
Debug Preflight CORS Response Cache Safari [closed]
In Safari Browser versions of the year 2026, can the preflight CORS responses be debugged or checked, e.g. in the Developer tools?
It seems that only an error is shown in the console but information ...
-2
votes
0
answers
43
views
PHPMailer CORS issues: Status 524 with Apache and Cloudflare [closed]
I have a site with a contact form which is supposed to send a POST request with form data to PHPMailer to generate an email. Got it working just fine on localhost, having some trouble when it comes to ...
Best practices
1
vote
0
replies
70
views
Configuring Spring Boot 3 (Spring MVC & Spring Security 7) for CORS public access (with credentials)
There are lots of good examples for how to configure Spring Boot for CORS online, but it seems to be very hard to find anything with an intersection of:
Using the APIs in Spring Boot 3 rather than ...
Advice
0
votes
2
replies
128
views
Youtube videos and CORS
I'm a web dev and I'm creating a React based YouTube clone.
I'm using MongoDB, storing YT Videos and their id's, and coding the frontend in React.
<iframe
title={video.title}
src={...
0
votes
0
answers
63
views
JS SDK v6 – onApprove not triggered, FraudNet CORS error
I am integrating the PayPal JavaScript SDK v6 into my web application and experiencing a critical issue in the Sandbox environment: the onApprove callback is never called after the buyer clicks the &...
0
votes
1
answer
135
views
Locally running API and web app: no 'Access-Control-Allow-Origin' header is present on the requested resource
I have seen some items about this error, but so far nothing helped. Probably because I am running everything locally.
I have a MAUI app that sends data to a local SQL Server through an API (ASP.NET ...
Advice
0
votes
1
replies
48
views
I have Cors issues developping an app with ionic that interact with Odoo SaaS, is there an easy way to fix the issue?
So I work for a company that help other companies to use Odoo (usually SaaS version). One of them want us to dev a simplified app for their employees that will interact with Odoo (they consider the ...
0
votes
1
answer
57
views
How to get remote json metadata by javascript avoiding Cross-Origin Request Blocked [duplicate]
Using the raw javascript at html static page I am trying to get json data from URL_SOURCE:
const URL_SOURCE = 'https://example.source.host';
const doGetMetaDataEvent = async () => {
...
3
votes
1
answer
178
views
How to debug Laravel 12 Cors (No 'Access-Control-Allow-Origin' header is present on the requested resource)
Apparently CORS just works with Laravel 12, but it doesn't work for me.
Starting from scratch, then
install/api
config:publish cors
'paths' => ['api/*', 'sanctum/csrf-cookie'],
'allowed_methods' =...
0
votes
0
answers
303
views
Unsafe call of type that could not be resolved for CORS in middleware injection
I'm using cors with TypeScript (strict mode) and Express. I have a function that creates a CORS middleware with custom options, but TypeScript (with @typescript-eslint) throws the following error:
...
0
votes
0
answers
57
views
Strapi CORS not working behind Nginx Proxy Manager (Docker), headers always empty
I'm running a Strapi backend behind Nginx Proxy Manager (Docker) and trying to enable CORS.
Strapi version: latest
Nginx Proxy Manager: latest Docker image
I want to allow requests from my frontend ...
3
votes
1
answer
98
views
Facing CORS issue in .NET 4.5 and Angular application
What is happening
Browser sends a preflight OPTIONS request
Server responds with 405 / CORS error
Actual API request never reaches the controller
Angular console shows CORS policy blocked error
What ...
0
votes
1
answer
86
views
WebSocket SockJS Connection Blocked by Duplicate CORS Headers in Spring Cloud Gateway + Nginx Setup
Problem
I'm getting a CORS error when connecting to a WebSocket endpoint through Spring Cloud Gateway with Nginx as a reverse proxy (it works on my local env without nginx):
Access to XMLHttpRequest ...
0
votes
0
answers
55
views
Tomcat 11 Cors filter not working for react-konva
I have be trying to display and download very large png image I get from Tomcat 11. The image URL is http://localhost:8484/rdt/images/pano_vis_a_panorama.png and my REACT app is on the same host. ...