Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homepage is non-functional (JS fails to load), CORS related #130

Open
fatso83 opened this issue Mar 7, 2022 · 0 comments
Open

Homepage is non-functional (JS fails to load), CORS related #130

fatso83 opened this issue Mar 7, 2022 · 0 comments

Comments

@fatso83
Copy link

fatso83 commented Mar 7, 2022

Tried downloading this library, since I remember checking it out in 2016, but it seems pretty non-functional. There is no NPM package and the homepage, while pretty, does not work. The downloads section is missing bits, most importantly a download button, probably the rendering fails due to all the javascript errors. Lots of 404s, 401s and whatnots.

Failed to load resource: the server responded with a status of 401 () downloads.html:1 Access to XMLHttpRequest at ... has been blocked by CORS policy
Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
accounts.google.com/o/oauth2/iframerpc?action=checkOrigin&origin=https%3A%2F%2Fyathit.github.io&client_id=968361937576-hka195tuontd5vmeuhuntv15lgcpn08v.apps.googleusercontent.com:1          Failed to load resource: the server responded with a status of 401 ()
downloads.html:1 Access to XMLHttpRequest at 'https://ydn-db-d1.storage.googleapis.com/?delimiter=%2F&max-keys=200' from origin 'https://yathit.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
deflate-base64-min.js:57 Uncaught TypeError: Cannot read properties of undefined (reading 'CommonPrefixes')
    at download-app.js:57:42
    at tc.<anonymous> (download-app.js:56:511)
    at Uc.g.xa (download-app.js:50:210)
    at Wb (download-app.js:31:180)
    at P (download-app.js:29:292)
    at Dc (download-app.js:41:112)
    at Fc (download-app.js:42:415)
    at tc.g.za (download-app.js:41:508)
    at tc.g.oa (download-app.js:41:485)
ydn-db-d1.storage.googleapis.com/?delimiter=%2F&max-keys=200:1          Failed to load resource: net::ERR_FAILED
downloads.html:1 Access to XMLHttpRequest at 'https://ydn-db-d1.storage.googleapis.com/?delimiter=%2F&max-keys=200' from origin 'https://yathit.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
environment-e11d3b3390d3f29cba3f.js:69 Uncaught TypeError: Cannot read properties of undefined (reading 'CommonPrefixes')
    at website-app.js:69:42
    at qd.<anonymous> (website-app.js:68:463)
    at Od.h.Ma (website-app.js:63:211)
    at Oc (website-app.js:42:463)
    at S (website-app.js:41:292)
    at yd (website-app.js:53:112)
    at Ad (website-app.js:54:415)
    at qd.h.Oa (website-app.js:53:508)
    at qd.h.wa (website-app.js:53:485)
ydn-db-d1.storage.googleapis.com/?delimiter=%2F&max-keys=200:1          Failed to load resource: net::ERR_FAILED
Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.
Navigated to https://yathit.github.io/ydn-db/doc/setup/setup.html
VM112:20          GET https://apis.google.com/js/plusone.js net::ERR_BLOCKED_BY_CLIENT
(anonymous) @ VM112:20
(anonymous) @ VM112:137
VM111:100          GET https://yathit.github.io/sitemap.xml 404
Je @ VM111:100
(anonymous) @ VM111:100
(anonymous) @ VM111:100
VM111:92 Uncaught TypeError: Cannot read properties of null (reading 'documentElement')
    at ye (VM111:92:176)
    at XMLHttpRequest.Je.f.onload (VM111:100:1)
ye @ VM111:92
Je.f.onload @ VM111:100
load (async)
Je @ VM111:99
(anonymous) @ VM111:100
(anonymous) @ VM111:100
1288813916-idpiframe.js:178          GET https://accounts.google.com/o/oauth2/iframerpc?action=checkOrigin&origin=https%3A%2F%2Fyathit.github.io&client_id=968361937576-hka195tuontd5vmeuhuntv15lgcpn08v.apps.googleusercontent.com 401
Ch @ 1288813916-idpiframe.js:178
Dh @ 1288813916-idpiframe.js:178
(anonymous) @ 1288813916-idpiframe.js:204
(anonymous) @ 1288813916-idpiframe.js:186
m.getItem @ 1288813916-idpiframe.js:163
W.H @ 1288813916-idpiframe.js:186
ei @ 1288813916-idpiframe.js:199
si @ 1288813916-idpiframe.js:204
m.Hf @ 1288813916-idpiframe.js:206
(anonymous) @ 1288813916-idpiframe.js:217
Uh.Nf @ 1288813916-idpiframe.js:194
b @ 1288813916-idpiframe.js:205
Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.
Navigated to https://github.com/yathit/ydn-db
ydn-db:1 Refused to load the font 'https://github.com/yathit/res/Soleil.woff2' because it violates the following Content Security Policy directive: "font-src github.githubassets.com".

ydn-db:1 Refused to load the font 'https://github.com/yathit/res/Soleil.woff2' because it violates the following Content Security Policy directive: "font-src github.githubassets.com".

issues:1 Autofocus processing was blocked because a document already has a focused element.
Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.
Navigated to https://github.com/yathit/ydn-db/issues/130
130:1 Refused to load the font 'https://github.com/yathit/ydn-db/issues/res/Soleil.woff2' because it violates the following Content Security Policy directive: "font-src github.githubassets.com".

130:1 Refused to load the font 'https://github.com/yathit/ydn-db/issues/res/Soleil.woff2' because it violates the following Content Security Policy directive: "font-src github.githubassets.com".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant