My website is at Version: 2.4.0.beta5 which is the latest at the moment. Today I wanted to add new ads using House Ads plugin but it kept loading and nothing happened. The page doesn’t show or you can say that I keep seeing the loading animation but nothing shows up. Can someone tell what could be the issue?
AI-generated summary
The user thegurjyot reported that the House Ads plugin in Discourse (version 2.4.0.beta5) was not loading, showing only a loading animation. After checking the browser console, they found errors related to failed network requests, including net::ERR_FAILED for house_ads.json. j.jaffeux suggested checking for errors and adblockers. Falco pointed out that the adblocker was still blocking the request, even when paused. thegurjyot confirmed that completely disabling the adblocker resolved the issue, realizing it was interfering with ad settings.
Can you look at your browser console and look for errors please? Just copy/paste everything here.
Also do you have an adblocker ?
The FetchEvent for “https://www.google-analytics.com/r/collect?v=1&_v=j79&a=598451196&t=pageview&_s=1&dl=https%3A%2F%2Fdomain.com%2F&dp=%2F&ul=en-gb&de=UTF-8&dt=domain%20-%20Share%20Your%20Feelings&sd=24-bit&sr=1536x864&vp=1519x754&je=0&_u=AACAAEAB~&jid=1331056997&gjid=1311035717&cid=1101724501.1558257890&uid=2&tid=UA-66073602-1&_gid=806291940.1570372088&_r=1&z=1563136684” resulted in a network error response: the promise was rejected.
Failed to load resource: net::ERR_FAILED
Uncaught (in promise) no-response: no-response :: [{“url”:“https://www.google-analytics.com/r/collect?v=1&_v=j79&a=598451196&t=pageview&_s=1&dl=https%3A%2F%2Fdomain.com%2F&dp=%2F&ul=en-gb&de=UTF-8&dt=domain%20-%20Share%20Your%20Feelings&sd=24-bit&sr=1536x864&vp=1519x754&je=0&_u=AACAAEAB~&jid=1331056997&gjid=1311035717&cid=1101724501.1558257890&uid=2&tid=UA-66073602-1&_gid=806291940.1570372088&_r=1&z=1563136684”}]
at a.makeRequest (https://domain.com/javascripts/workbox/workbox-strategies.prod.js:1:2145)
Deprecation notice:
app-events:mainhas been replaced withservice:app-events(deprecated since Discourse 2.4.0)
The FetchEvent for “https://domain.com/admin/plugins/adplugin/house_ads.json” resulted in a network error response: the promise was rejected.
NetworkFirst.mjs:167 Uncaught (in promise) no-response: no-response :: [{“url”:“https://domain .com/admin/plugins/adplugin/house_ads.json”}]
at a.makeRequest (https://domain.com/javascripts/workbox/workbox-strategies.prod.js:1:2145)
_ember_jquery-d430881a3fb1403871256e5a02423c4b20a78793685e92088613ca9a701baf88.js:9851 GET https://domain.com/admin/plugins/adplugin/house_ads.json net::ERR_FAILED
These are all the errors which I get in the browser console. I do use Adblocker but, it’s paused for my website.
That means adblocker is still blocking it. Completely remove any adblocking extension and try again.
Yes you are right, completely disabling adblocker solved this issue. Never thought that the Adblocker can also block ad settings.