- When logged in:
```Failed to load ‘https://oauth.reddit.com/hot?raw_json=1&t=&after=&count=0&sr_detail=true’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘Error: no-response :: [{"url":"https://oauth.reddit.com/hot?raw_json=1&t=&after=&count=0&sr_detail=true"}]’. workbox-50de5c5d.js:1:212
Failed to load ‘https://oauth.reddit.com/subreddits/mine/subscriber?after=&before=&count=0&limit=100’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘Error: no-response :: [{"url":"https://oauth.reddit.com/subreddits/mine/subscriber?after=&before=&count=0&limit=100"}]’. workbox-50de5c5d.js:1:212
Failed to load ‘https://oauth.reddit.com/api/multi/mine’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘Error: no-response :: [{"url":"https://oauth.reddit.com/api/multi/mine"}]’. workbox-50de5c5d.js:1:212
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://oauth.reddit.com/hot?raw_json=1&t=&after=&count=0&sr_detail=true. (Reason: CORS request did not succeed). Status code: (null).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://oauth.reddit.com/subreddits/mine/subscriber?after=&before=&count=0&limit=100. (Reason: CORS request did not succeed). Status code: (null).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://oauth.reddit.com/api/multi/mine. (Reason: CORS request did not succeed). Status code: (null).
Failed to load ‘https://oauth.reddit.com/api/multi/mine’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘Error: no-response :: [{"url":"https://oauth.reddit.com/api/multi/mine"}]’. workbox-50de5c5d.js:1:212
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://oauth.reddit.com/api/multi/mine. (Reason: CORS request did not succeed). Status code: (null).
Failed to load ‘https://oauth.reddit.com/hot?raw_json=1&t=&after=&count=0&sr_detail=true’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘Error: no-response :: [{"url":"https://oauth.reddit.com/hot?raw_json=1&t=&after=&count=0&sr_detail=true"}]’. workbox-50de5c5d.js:1:212
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://oauth.reddit.com/hot?raw_json=1&t=&after=&count=0&sr_detail=true. (Reason: CORS request did not succeed). Status code: (null).
Failed to load ‘https://oauth.reddit.com/hot?raw_json=1&t=&after=&count=0&sr_detail=true’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘Error: no-response :: [{"url":"https://oauth.reddit.com/hot?raw_json=1&t=&after=&count=0&sr_detail=true"}]’. workbox-50de5c5d.js:1:212
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://oauth.reddit.com/hot?raw_json=1&t=&after=&count=0&sr_detail=true. (Reason: CORS request did not succeed). Status code: (null).
Failed to load ‘https://oauth.reddit.com/hot?raw_json=1&t=&after=&count=0&sr_detail=true’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘Error: no-response :: [{"url":"https://oauth.reddit.com/hot?raw_json=1&t=&after=&count=0&sr_detail=true"}]’. workbox-50de5c5d.js:1:212
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://oauth.reddit.com/hot?raw_json=1&t=&after=&count=0&sr_detail=true. (Reason: CORS request did not succeed). Status code: (null).
It's mostly visible on Firefox Mobile (with ETP disabled).
Opening the site for the first time works fine.
But if I restart the browser I'm getting these errors - only hard refreshing (holding the Refresh button) helps.
The same happened on desktop Firefox but adding the CORS headers helped.
Connecting to the container directly gives same results.
Can't get it to work on mobile - any tips?
I'm getting CORS errors in Firefox:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.reddit.com/hot/.json?&raw_json=1&t=&after=&count=0&sr_detail=true. (Reason: CORS request did not succeed). Status code: (null).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.reddit.com/hot/.json?&raw_json=1&t=&after=&count=0&sr_detail=true. (Reason: CORS request did not succeed). Status code: (null).
My
docker-compose.yml
:
My nginx config:
It's mostly visible on Firefox Mobile (with ETP disabled). Opening the site for the first time works fine. But if I restart the browser I'm getting these errors - only hard refreshing (holding the Refresh button) helps. The same happened on desktop Firefox but adding the CORS headers helped. Connecting to the container directly gives same results. Can't get it to work on mobile - any tips?