website icon indicating copy to clipboard operation
website copied to clipboard

🐛 Bug: Error 404 in the console on community page

Open JeelRajodiya opened this issue 1 year ago • 12 comments

Describe the bug

Unexpected 404 errors in console

Steps To Reproduce

Open browser console Go to https://json-schema.org/#community You will see two 404 errors in the console

Expected Behavior

There should be no errors

Screenshots

image

Device Information [optional]

- OS: Win 11
- Browser: Chrome 
- version:122.0.6261.112

Are you working on this issue?

Yes

Do you think this work might require an [Architectural Decision Record (ADR)]? (significant or noteworthy)

No

JeelRajodiya avatar Mar 13 '24 15:03 JeelRajodiya

Thanks Jeel! Accepted and available for contributors.

benjagm avatar Mar 13 '24 16:03 benjagm

Heyy @benjagm Can you please assign me this issue??

AdityaSingh-02 avatar Mar 13 '24 17:03 AdityaSingh-02

Hey @benjagm can I take this issue?

lalitkumawat1m avatar Mar 14 '24 11:03 lalitkumawat1m

Hey @benjagm can I take this issue?

swaparup36 avatar Mar 15 '24 20:03 swaparup36

Hey @benjagm Can you assign this issue to me?

AjayAsnani avatar Mar 18 '24 10:03 AjayAsnani

@AjayAsnani please go ahead with this issue.

benjagm avatar Mar 18 '24 17:03 benjagm

@benjagm may I work on this one?

vinfinity7 avatar Mar 27 '24 21:03 vinfinity7

Hello! :wave:

This issue has been automatically marked as stale due to inactivity :sleeping:

It will be closed in 180 days if no further activity occurs. To keep it active, please add a comment with more details.

There can be many reasons why a specific issue has no activity. The most probable cause is a lack of time, not a lack of interest.

Let us figure out together how to push this issue forward. Connect with us through our slack channel : https://json-schema.org/slack

Thank you for your patience :heart:

github-actions[bot] avatar Jun 16 '24 00:06 github-actions[bot]

This seems to be a good issue , @benjagm could you please assign it me

DevMhrn avatar Jul 25 '24 16:07 DevMhrn

Thanks @DevMhrn ! Please go ahead!

benjagm avatar Aug 05 '24 12:08 benjagm

@DevMhrn any updates on this ?

DhairyaMajmudar avatar Oct 03 '24 05:10 DhairyaMajmudar

@DhairyaMajmudar Working on this , will raise the pr soon

DevMhrn avatar Oct 03 '24 09:10 DevMhrn

#964 is similar to this one too

IyaadArshad avatar Oct 28 '24 08:10 IyaadArshad

Hey @DhairyaMajmudar, I just checked the website to investigate the issue and encountered the same error related to fetching the response from: Could you elaborate on what the expected response should look like when making a GET request to this endpoint? I’ve also attached screenshots for better clarity and understanding.

Looking forward to your insights!

Image

jagpreetrahi avatar Jan 22 '25 15:01 jagpreetrahi

I've got no idea what it's fetching unlikely this was directly put into the project code though seems to be imported by next itself

IyaadArshad avatar Jan 22 '25 16:01 IyaadArshad

slack.json is fetched somewhere in the page to do something try searching for it in the main page file

IyaadArshad avatar Jan 22 '25 16:01 IyaadArshad

/slack.json and /slack take you to the slack join page still can't see where slack.json is imported though

IyaadArshad avatar Jan 22 '25 16:01 IyaadArshad

Yeah , both this endpoint reached ,to the slack page , but if we use this path : '/_next/data/w0OPOvBY3sVrsSi3j-cmG/slack.json' then it get 404 not found

jagpreetrahi avatar Jan 22 '25 17:01 jagpreetrahi

And one more thing , i just check response header , so there this path report to this endpoint {"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=StsUkx03%2BIBAmwU1QRhnDuYhLsbMoD4MnSpU%2Fw93Uixfoy%2BxA14xYYHttJSquG1flKjIBsSwQ1ARBfU58xJjm40Qmu5Ep0pWZ2dhXN9GrmIPT1HVu92y%2BD2kvP22G83gMOCp4NdecoZ8ECKTATE%3D"}],"group":"cf-nel","max_age":604800} which related to cloudfare network error logging

jagpreetrahi avatar Jan 22 '25 17:01 jagpreetrahi

Hey @IyaadArshad , do you have any idea about this '/_next/data/w0OPOvBY3sVrsSi3j-cmG/slack.json' , like whether it is related to client side navigation or server side. If it is related to client-side then , the path should be look like as '/slack' , else for server-side as /slack.json. and i am totally stuck to find /slack.json path in files.

jagpreetrahi avatar Jan 23 '25 10:01 jagpreetrahi

And one more thing , i just check response header , so there this path report to this endpoint {"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=StsUkx03%2BIBAmwU1QRhnDuYhLsbMoD4MnSpU%2Fw93Uixfoy%2BxA14xYYHttJSquG1flKjIBsSwQ1ARBfU58xJjm40Qmu5Ep0pWZ2dhXN9GrmIPT1HVu92y%2BD2kvP22G83gMOCp4NdecoZ8ECKTATE%3D"}],"group":"cf-nel","max_age":604800} which related to cloudfare network error logging

The domain json-schema.org is just probably using Cloudflare

Hey @IyaadArshad , do you have any idea about this '/_next/data/w0OPOvBY3sVrsSi3j-cmG/slack.json' , like whether it is related to client side navigation or server side. If it is related to client-side then , the path should be look like as '/slack' , else for server-side as /slack.json. and i am totally stuck to find /slack.json path in files.

I've searched the whole repo for the phrase "slack.json" (both w/ and w/o matching casing) in the whole repo in github and in vs. I don't see a single slack.json referred to anywhere in the code

odd...

IyaadArshad avatar Jan 23 '25 12:01 IyaadArshad

Then what we can do now

jagpreetrahi avatar Jan 23 '25 12:01 jagpreetrahi

dunno mabye check layout.tsx or imported components? stuff thats imported can have broken links too

IyaadArshad avatar Feb 03 '25 08:02 IyaadArshad