PrimeDAO / prime-launch-dapp

https://launch.prime.xyz
6 stars 13 forks source link

Adblockers cause: network error #678

Open BartuCulha opened 2 years ago

BartuCulha commented 2 years ago

Blocking web trackers causes Network error. Steps to reproduce: 1.Download 1Blocker to ios or macos or try out an alternative adblocker(built-in adblockers for brave and opera have not caused this issue on my machine)

  1. Install 1Blocker, enable all the extensions it has also enable "block web trackers" option within the 1Blocker app.
  2. Navigate to launch.prime.xyz

Console log:

[Info] Content blocker prevented frame displaying https://launch.prime.xyz/ from loading a resource from https://cdn.usefathom.com/script.js (launch.prime.xyz, line 1) [Error] 1Blocker | CIP – "Not found corresponding domains for hostname \"launch.prime.xyz\"" error (anonymous function) (Script Element 6:1:2956) asyncFunctionResume (anonymous function) promiseReactionJobWithoutPromise promiseReactionJob [Log] 1Blocker | CIP | 36 ms (launch.prime.xyz, line 1) Restored rules cookies from browser.storage document.head exists = true no-iframe [Log] 1Blocker | CIP | 36 ms (launch.prime.xyz, line 1) OneBlockerController.init() finished document.head exists = true no-iframe [Info] Content blocker prevented frame displaying https://launch.prime.xyz/ from loading a resource from https://cdn.usefathom.com/script.js [Info] Content blocker prevented frame displaying https://launch.prime.xyz/ from loading a resource from https://api.ipstack.com/check?access_key=e8a09dbc2431f503c0cafee648bbc45f (vendors~2a42e354.fbc85d1d6292f7d4b3c5.chunk.js, line 1) [Error] Resource blocked by content blocker (anonymous function) (vendors~2a42e354.fbc85d1d6292f7d4b3c5.chunk.js:1:34970) Promise (anonymous function) (vendors~2a42e354.fbc85d1d6292f7d4b3c5.chunk.js:1:33144) (anonymous function) (vendors~2a42e354.fbc85d1d6292f7d4b3c5.chunk.js:1:11693) (anonymous function) (vendors~2a42e354.fbc85d1d6292f7d4b3c5.chunk.js:1:1861) getCountry (app~3e511cab.857a70a841ff8fae60a7.chunk.js:1:78689) (anonymous function) (app~3e511cab.857a70a841ff8fae60a7.chunk.js:1:78617) asyncFunctionResume (anonymous function) (app~5a11b65b.8178b6a62a178cab4cca.chunk.js:1:3249) asyncFunctionResume (anonymous function) promiseReactionJobWithoutPromise promiseReactionJob [Error] XMLHttpRequest cannot load https://api.ipstack.com/check?access_key=e8a09dbc2431f503c0cafee648bbc45f due to access control checks. (anonymous function) (vendors~2a42e354.fbc85d1d6292f7d4b3c5.chunk.js:1:34970) Promise (anonymous function) (vendors~2a42e354.fbc85d1d6292f7d4b3c5.chunk.js:1:33144) (anonymous function) (vendors~2a42e354.fbc85d1d6292f7d4b3c5.chunk.js:1:11693) (anonymous function) (vendors~2a42e354.fbc85d1d6292f7d4b3c5.chunk.js:1:1861) getCountry (app~3e511cab.857a70a841ff8fae60a7.chunk.js:1:78689) (anonymous function) (app~3e511cab.857a70a841ff8fae60a7.chunk.js:1:78617) asyncFunctionResume (anonymous function) (app~5a11b65b.8178b6a62a178cab4cca.chunk.js:1:3249) asyncFunctionResume (anonymous function) promiseReactionJobWithoutPromise promiseReactionJob [Error] ERROR [Prime Launch] – "Error initializing the app↵@https://launch.prime.xyz/vendors~2a42e354.fbc85d1d6292f7d4b3c5.chunk.js:1:581…" "Error initializing the app @https://launch.prime.xyz/vendors~2a42e354.fbc85d1d6292f7d4b3c5.chunk.js:1:5816 @https://launch.prime.xyz/vendors~2a42e354.fbc85d1d6292f7d4b3c5.chunk.js:1:34026" (anonymous function) (vendors~556c66f2.0b29e9b84322311f6adb.chunk.js:16:44451) (anonymous function) (vendors~556c66f2.0b29e9b84322311f6adb.chunk.js:16:16373) logMessage (app~3e511cab.857a70a841ff8fae60a7.chunk.js:1:59569) handleException (app~3e511cab.857a70a841ff8fae60a7.chunk.js:1:58853) i (vendors~556c66f2.0b29e9b84322311f6adb.chunk.js:16:28015) (anonymous function) (vendors~556c66f2.0b29e9b84322311f6adb.chunk.js:16:28357) (anonymous function) (app~5a11b65b.8178b6a62a178cab4cca.chunk.js:1:3453) asyncFunctionResume (anonymous function) promiseReactionJobWithoutPromise promiseReactionJob

renckorzay commented 2 years ago

https://github.com/PrimeDAO/prime-launch-dapp/issues/649 This will be addressed with the ticket above