Skip to content

Spamming 404 Requests on Chromium browsers in dev server #7015

Open
@b-bot

Description

@b-bot

When in dev mode on Next.js the thirdweb package is making hundreds of requests to file routes that don't exist all returning 404 on Chromium browsers like Chrome and Edge. Not happening in Safari for example.

I believe this is related to the new dev tools: https://chromium.googlesource.com/devtools/devtools-frontend/+/main/docs/ecosystem/automatic_workspace_folders.md

I was getting it before with one single file request as per this reddit article: https://www.reddit.com/r/node/comments/1kcr0wh/odd_request_coming_into_my_localhost_server_from/
GET /.well-known/appspecific/com.chrome.devtools.json 404

In fact it always hits this route before the other routes start going crazy.

Not sure when it started happening, don't think it was a specific version of thirdweb rather a browser update. I would simply silence logs but it actually hits performance. It might be the way the in app wallet is mounted as a seperate app.

Importantly it doesn't seem to happen once deployed to Vercel, well not yet anyways.

Any advice on how to proceed? This is a big problem and makes my dev server constantly refresh breaking hot reload.

Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions