Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to load resource: net::ERR_BLOCKED_BY_RESPONSE [duplicate]

I am looking for some solution of this issue of iframe

domain.com/:1 Refused to display 'domain.com/?q=node/add/editor' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
domain.com/?q=node/add/editor 
Failed to load resource: net::ERR_BLOCKED_BY_RESPONSE
domain.com/:1 Refused to display 'domain.com/?q=node/add/editor' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
pay.webintellizer.com/?q=node/add/editor 
Failed to load resource: net::ERR_BLOCKED_BY_RESPONSE

FYI both sites are drupal based, if it has any special code. I have already tested same domain and different domain both url for iframe but same error.

like image 450
Sunny Kasera Avatar asked Jun 15 '17 16:06

Sunny Kasera


People also ask

How do I resolve failed to load a resource?

Chrome's cache clearing process, check all the options, and set the time range to “All time.” After you've cleared your cache, this might reset any options that were producing the error. Check the page in question to see if the resource is now displaying correctly. If not, you can also try resetting Chrome flags.

What is Net :: Err_blocked_by_response?

Failed to load resource: net::ERR_BLOCKED_BY_RESPONSE…… Often it's when you're trying to pull resources from the same domain name, but one over SSL and the other not, or trying to load your whole site over SSL, but include an image from a remote server without SSL.

How do I fix failed to load resources in HTML?

The only way to fix this is to make sure that the CSS and JS files are properly linked within the HTML. Check whether the folder, file and directory name of these files are spelt correctly. Another way to fix this is by using an absolute URL instead of a relative URL.

What does it mean failed to load resource?

Failed to Load Resource Error is caused when your website is unable to load a file while generating the page. The file can be anything such as images, script, stylesheet, and more. These files are loaded to the user's browser during the page load.


1 Answers

As explained on https://stackoverflow.com/a/33777934/195812 check your x-frame-options value

... they have disallowed loading of the resource in an iframe outside of their domain. So this iframe is not able to display cross domain.

enter image description here

like image 117
augusto Avatar answered Sep 27 '22 18:09

augusto