243 questions
-3
votes
0
answers
28
views
When I use a browser to access GitHub, it always encounters an error after an uncertain amount of time. Why? [closed]
The error, specifically, was When I browse the github for a while, then I click a link to some github page (maybe some projects, or github offical page etc.) ever from the github itself or from other ...
0
votes
0
answers
34
views
What are cross origin writes/reads?
The MDN page categorizes cross-origin access into 3 categories:
Cross-origin writes are typically allowed. Examples are links, redirects, and form submissions. Some HTTP requests require preflight.
...
1
vote
1
answer
194
views
Blocked a frame with origin "null" from accessing a cross-origin frame
I have an iframe located just one directory away:
<iframe id="menu" src="./menu/menu.htm" title="Menü"></iframe>
Goal is to share the same menu among ...
0
votes
0
answers
145
views
OpaqueResponseBlocking on Avatar Images
I am having a problem with my browser by which it suddenly has this blocking of using the avatar images from https://avatar-placeholder.iran.liara.run/
Both my server and React frontend works fine in ...
0
votes
0
answers
23
views
Few doubts on JS [duplicate]
What is crossorigin attribute that we use in script tag? In which cases we should give this?
We normally load html in the body tag. But what happens if we try to load the script tag in the head tag or ...
0
votes
1
answer
96
views
how can the parent .addEventListener listen from an iframe
I have three files, count.html, iframe.html, and script.js
count.html
<!DOCTYPE html>
<html lang="en">
<head>
<script defer src="script.js"></...
0
votes
0
answers
66
views
mitmproxy with cross origin security to filter PUT method after preflight
I'm trying to filter PUT method from a cross-origin website that starts with an OPTIONS method then go to PUT method.
In mitmweb I can easily see the headers but whenever I am running my code I cannot ...
0
votes
0
answers
90
views
Cross-Origin Read Block While Serving Image
First of all, I'm sorry for my bad English.
I prepared a florist script with PHP. I save the images in the images folder in the management panel and fetch the images as follows:
<img src="<?...
1
vote
1
answer
1k
views
p5play SecurityError: Failed to read a named property 'add' from 'Window': Blocked a frame with origin from accessing a cross-origin frame
I have a project for computer science where I have to make a slot machine using p5 Play and I keep on getting this error:
SecurityError: Failed to read a named property 'add' from 'Window': Blocked a ...
0
votes
0
answers
233
views
Wordpress BeTheme Error when trying to edit templates
I recently downloaded the BeTheme for WordPress and installed a prebuilt site. I can't seem edit edit templates though. It is preventing me from being able to edit the header and footer, and also ...
0
votes
1
answer
44
views
I get the error "cross origin request blocked" even tough i have the express cors package
My App code:
import express, {Express, Request, Response, Router} from 'express';
import dotenv from 'dotenv';
import ArtistRouter from './routes/artist_routes';
import infoRouter from './routes/...
-1
votes
1
answer
97
views
CopyExternalImageToTexture tainted by cross-origin data
issue
i have a simple project where in which I isolated an issue I am having with device.queue.copyExternalImageToTexture.
The errors in the console are shown here:
A common solution associated with ...
0
votes
0
answers
366
views
CORS issue in (Vercel Hosting) MERN Stack Project preflight request doesn't pass access control
Access to XMLHttpRequest at 'https://hr-360.vercel.app/users/login' from origin'https://hr360.vercel.app' has been blocked by CORS policy: Response to preflight request doesn't pass access control ...
2
votes
2
answers
545
views
Sharing JWT between Cross-Port Applications using postMessage
I have two applications running on my localhost, each on a different port (localhost:3000 and localhost:3002). My goal is to redirect a user from localhost:3000 to localhost:3002 while passing a JWT (...
1
vote
1
answer
163
views
Using canvas image on local machine
I would like to load an image into a <canvas> on my laptop so I can use getImageData(). I am using javascript in a local .html file. It is not a live, web facing project. Just a personal project....
0
votes
1
answer
367
views
SecurityError: Permission denied to access property "pageXOffset" on cross-origin object
I am trying to take a screenshot using Selenium with Python 3.9 but suddenly I've got the error as:
Message: SecurityError: Permission denied to access property "pageXOffset" on cross-origin ...
0
votes
1
answer
916
views
Angular 16, module federation CORS Problem
I am using angular 16 for 2 angular apps using module federation I have mfe app and shell app.
All is working good on localhost but when i deployed apps on two differents domains :
https://front-mfe....
0
votes
1
answer
102
views
How to access the response of third party website when the content-type is text/html ? using java script
I was trying to get the response for my get request to this website https://pubmed.ncbi.nlm.nih.gov/?term=hello I am getting error :
Request failed with status code 200
warning :
Cross-Origin Read ...
0
votes
3
answers
372
views
Add comma separated value into springboot @CrossOrigin origins
application.properties
my.cross.origin.urls=https://test.com,https://abcd.com
my controller method.
@CrossOrigin(origins = "${my.cross.origin.urls}")
@PostMapping(value = RequestMappings....
0
votes
0
answers
141
views
CORS Not Restricting the Unwanted URL
I have implemented two Spring boot applications, where one spring boot application gives a rest call to another. In the second spring boot application I have implemented CORS by using annotation @...
0
votes
0
answers
117
views
First party cookie on samesite and cross origin
Lets say
(A) - I have a website at domain name: testbuy.com
(B) - I have a separate application hosted on app.testbuy.com
(C) - I have a javascript hosted at cdnjs.com/testscript.js
When a user visits ...
2
votes
1
answer
2k
views
Next.js CORS issue
I am having a strange situation with a Next.js API. Here it is.
I have a website named Javascript Ecosystem. I can make requests in both localhost:3000 and in production with no issues.
If I use ...
0
votes
1
answer
490
views
CORB blocked cross-origin response <URL> with MIME type text/html
I'm using Laravel 9 and Vue js 3, I have 2 projects running on my localhost, one is running on port 8000 and the other is running on port 8001, What I wanted to do is to get the image from 8001 and ...
0
votes
0
answers
177
views
Laravel 9 + Vue js 3 Cross-Origin Read Blocking (CORB) blocked cross-origin response <URL> with MIME type text/html. See <URL> for more details
I have 2 projects using Laravel 9 and vue js 3, Homepage and Adminpage, What I want to do is to display an image from the homepage in the adminpage, but It got Cross-Origin Read Blocking (CORB) ...
0
votes
1
answer
100
views
Fetch returns unathorized and undefined
I'm trying to access to an API using fetch however the error I receive in console:
XHR GET https://api.geoapify.com/v1/geocode/search?street=buenos%20aires&city=barcelona&country=espa%C3%B1a&...
-1
votes
2
answers
933
views
CORS ORIGIN problem, In a Laravel project
I have a problem with cors origin in my laravel project, I created cors.php in middwares folder and I declare it in Kernel.php and app/Providers/RouteServiceProvider.php as well... I did everything to ...
0
votes
1
answer
36
views
error does not appear on the register page
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:5000/users. (Reason: CORS request did not succeed)
const Register = () => {
const [...
2
votes
0
answers
329
views
Refused to set unsafe header "User-Agent" - Editing WFS layer
I am trying to create a editable webmap with WFS layer from geoserver. while tring to modify or create features i am mot able to update the feature to the current layer and i am getting the error [...
0
votes
2
answers
996
views
React app issue : Cross-Origin Read Blocking (CORB) blocked cross-origin response https://www.youtube.com/watch/xxxxx with MIME type text/html
I am working on a react app with node/express on the backend.
I want a component to render a video which URL is passed down from its parent component as prop.
the parent component is named : Stepper ...
0
votes
2
answers
7k
views
how to solve Cross-Origin Read Blocking (CORB)
I need to run javascript code on a webpage. This can be done using google chorme console by inspecting the page but I need to repeat this operation many time so I'm searching a more easy way. So I'm ...
0
votes
1
answer
761
views
I want to a create an audio visualizer for youtube videos, but cross-origin requests won't allow access to embedded iframe
My objective is to create an audio visualizer that responds to the playback of a Youtube video. Unfortunately, YouTube uses an iframe, which seems to mean that accessing the media stream is impossible ...
0
votes
1
answer
1k
views
Why am I getting three "Cross-Origin Request Blocked" messages
I have a Svelte application and I am trying to render data from the API but I keep on getting three error messages.
The code works properly on node but not on Svelte.
Below is the Svelte code:
<...
0
votes
0
answers
279
views
Cross-Origin Read Blocking (CORB) blocking Ajax requests in ASP.Net WebMethod
In the ASP.Net application I am developing, I have encountered a Cross-Origin Read Blocking (CORB) error (the console does not display any specific information, frustratingly), which oddly enough ...
1
vote
0
answers
256
views
CORB error with leaflet tileLayer on redraw()
Starting today I am getting the following errors with leaflet (for every tilerow and col). I've had no trouble in over a year with this.
Cross-Origin Read Blocking (CORB) blocked cross-origin response ...
0
votes
0
answers
14
views
CORB from Vanilla JS getJSONP to Google Apps Script [duplicate]
I have a simple set up in which I populate data on my HTML page by accessing data in a Google Sheet.
This works perfectly well in Chrome, but in Edge I get a CORB error in the console. I'm using ...
0
votes
0
answers
1k
views
getting CORB error when getting response from jQuery Ajax request [duplicate]
I'm getting CORB (Cross Origin Read Blocking) error when I tried to get response from my jQuery ajax request. It's working properly on Internet Explorer but when I tried to run it on Chrome I'm ...
0
votes
0
answers
27
views
Cross-Origin Read Blocking (CORB) in backbone.js [duplicate]
When I call the function sites.fetch() in the google console this error appears Cross-Origin Read Blocking (CORB) blocked cross-origin response https://api.nutritionix.com/v1_1/search?callback=...
0
votes
1
answer
130
views
Cross origin read blocking React - Nodejs
I am trying to fetch data from REST API running on lh:5000
useEffect(() => {
const getProducts = async () => {
try {
const res = await axios.get(
cat
? `...
5
votes
1
answer
4k
views
I want to load Google Drive images from React, but I get a Cross-Origin Read Blocking (CORB) error
I am creating a web service with React.
I want to load images uploaded to Google Drive from a React application.
However, I get a Cross-Origin Read Blocking (CORB) error.
What should I do?
0
votes
1
answer
496
views
CORB error with embedded Javascript after enabling gzip compression
I provide embed code to my users to put a widget on their own website.
<div id="myDiv"></div>
<script src="https://www.myserver.com/embed.php?id=sometoken"></...
0
votes
0
answers
40
views
How to restrict content, search result by users origin
I hope someone would be able to give an answer or suggestion for the following.
I have an application (Django/bootstrap/postgres) that contains books from in different languagues i.e. English, Arabic, ...
1
vote
1
answer
314
views
In Chrome-Extension getting CORB error on injecting external script [duplicate]
I am creating a Chrome-extension and I want to inject a Javascript file in DOM from content.js file , But after injecting JS file I am getting Cross-Origin Read Blocking (CORB) blocked cross-origin ...
1
vote
1
answer
181
views
Pinata cloud Video extraction: The operation is insecure
I am trying to get thumbnails from a video inside a IPFS cloud (pinata.cloud) but I receive the error "The operation is insecure".
The link for the video: https://gateway.pinata.cloud/ipfs/...
0
votes
0
answers
332
views
How fix this error: No 'Access-Control-Allow-Origin' header is present on the requested resource when try to view .glb type image?
I am creating react and laraval project and I want to use 3d models (.glb type image). I upload .glb type image and after that, I want to display it in my dashboard. I do it using map function as ...
1
vote
0
answers
67
views
componentDidCatch throws cross-origin error
I have a react app with the following structure:
<ErroBoundary>
<Component/>
</ErroBoundary>
Inside Component render function I throw the exception:
render(): React.ReactNode {
...
1
vote
0
answers
255
views
Make a node.js server fetch an image from an external API and pass to a web client
I have a node.js server and client web application with a feature that displays images from Instagram's API. Instagram does not allow web applications to directly query the API. Instead, I need my ...
-2
votes
1
answer
7k
views
Angular and Spring boot: No 'Access-Control-Allow-Origin' header is present on the requested resource. How to solve it by angular and spring boot
After all of this I am getting the same error . how to solve it.
error: Access to XMLHttpRequest at 'http://localhost:8083/getuser' from origin 'http://localhost:4200' has been blocked by CORS policy:...
1
vote
1
answer
11k
views
How can I disable CORB(Cross-Origin Read Blocking) on Chrome
I am trying to serve GeoServer WMS service locally on top of Openlayers. I encounter an error that says Cross-Origin Read Blocking (CORB) blocked cross-origin response. How can I serve the Web Map ...
1
vote
1
answer
1k
views
ReactJS Project, Source of the Image property returns CORS Failure
Need bit of a help with my React JS Application as I am bit of a newbie to React.
I am fetching url for an image from the DB and pass it as a prop to the Card-Layout page.<img className="...
0
votes
0
answers
74
views
Online image failed to be loaded in my html using Chrome
This is the URL of the image.
https://holmesglen.edu.au/Holmesglen/media/Promo-banner/Testtf.jpg
And I am using it on my own website using <img> tag.
<img src="https://holmesglen.edu.au/...