14,725 questions
0
votes
1
answer
65
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 ...
-2
votes
0
answers
86
views
How does one change the value of Sec-Fetch-Mode in the developer tools of Firefox browser?
I tried sending this request from the Firefox browser developer console, Network tab. Notice how Sec-Fetch-Mode is no-cors (it is set automatically by the Firefox browser developer tools Network tab).
...
0
votes
0
answers
31
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. ...
-1
votes
0
answers
74
views
CORS error only on PUT/DELETE requests between two subdomains (Laravel 12 API + Nginx reverse proxy)
I have a Laravel 12 API running behind Nginx on the subdomain: https://api.lanaya.bf
My frontend (React) runs on another subdomain: https://admin.lanaya.gov.bf and make request by using axios
GET and ...
0
votes
0
answers
55
views
Spring Boot CORS preflight request returns 403 "Invalid CORS request" for POST /login
I’m trying to connect my React frontend (hosted on Azure Static Web Apps) to my Spring Boot backend (hosted on Azure App Service), but the CORS preflight request is failing with HTTP 403.
When I run ...
12
votes
2
answers
9k
views
CORS error: “Permission was denied for this request to access the unknown address space” only inside office network (Chrome PNA block?)
Question
I’m dealing with a CORS issue that only occurs inside my company’s office network.
When accessing the same application from any external network, everything works perfectly.
Setup
Frontend: ...
0
votes
1
answer
186
views
Azure AD B2C custom page: `AADB2C90047` + Chrome CORS "`unknown` address space", but Firefox works
I’m using Azure AD B2C with a custom HTML sign-in page and a SPA that uses MSAL (msal-browser).
Setup:
B2C tenant: https://<tenant>.b2clogin.com (dev)
SPA uses loginRedirect with MSAL.
Custom ...
3
votes
1
answer
356
views
Zebra Browser Print at Chrome started giving CORS error
I'm using Zebra Browser Print at my webpage to print tags by JavaScript. At my Windows machine I've installed the latest Zebra Browser Print and also the latest version of the JavaScript library, all ...
0
votes
0
answers
46
views
Local Network Access in jetty
I'm using jetty-server 11.0.17
Getting an error message when a remote page tries to access a local Jetty Web server on 127.0.0.1:8080 -
Access to XMLHttpRequest at 'http://127.0.0.1:8080/api' from ...
2
votes
1
answer
181
views
Quarkus profile-aware config property picked up by different profile
Using Quarkus 3.29.0 my Maven build seems to hardcode a profile-specific property which is picked up by a different profile when not explicitly overridden. The build produces a fast-jar that runs in ...
0
votes
1
answer
127
views
CORS error when calling RefreshToken from frontend (No 'Access-Control-Allow-Origin' header)
Here’s the error message from the browser console:
Access to fetch at 'https://orbis-api-web.azurewebsites.net/api/v1/UserAuth/RefreshToken'
from origin 'https://orbis-solidarity.com' has been ...
0
votes
1
answer
194
views
C# Https call using HttpClient does work in Windows 7, but not in Windows 10
In Windows 7 32-bit, on .NET 4.6.1, this code works fine and the remote server is returning data:
using (HttpClient client = new HttpClient())
{
client.Timeout = TimeSpan.FromSeconds(3);
...
0
votes
1
answer
168
views
Why does CORS apply to local files? And is there a way to just disable it? [duplicate]
I have been working on a personal project for a while now and during a testing phase for a database, it began reporting that CORS was preventing the file from being fetched, and stopped my testing in ...
-7
votes
1
answer
162
views
Cors issue with app script and javascript
I have a javacript that create an Html file and i wanna send it to some email addresses
So i made an app script doPost seen below...
But everytime try to send the emails with my button on my web page ...
4
votes
1
answer
140
views
Why I cannot send body with a fetch request when mode is no-cors?
Trying to make a cross-origing fetch request with the no-cors mode I found out it is not possible in this case to send any data to the server as a body:
const url = 'http://cross-origin-example.com/...