Skip to content

Cloudflare results in 429 errors for Team Pro / vite user #6453

@FossPrime

Description

@FossPrime

🐛 bug report

How has this issue affected you? What are you trying to accomplish?

Trying to run some client side Vite code. The app won't even start as it can never load all dependencies in dev mode.

Screenshot 2022-02-08 16 09 35

I've seen about 200 of the Cloudflare checking your browser paywalls today. There seems to be no workaround but to wait for a VERY SLOW production build... which completely defeats the purpose of CSB. The problem happens in a breakout tab and in the built in browser... the built-in browser frequently returns the Chrome sad-face as Cloudflare has X-Frame-Options set to block on the captcha screen.

I have a Team Pro account, but the isPro() check doesn't seem to be working as I'll get a Pro emblem on the sandbox, but also an "Upgrade to Pro" advertisement under the 3 dot menu.

To Reproduce

Run Vite in a large project with ~100 components. This causes CloudFlare to panic and starts blocking everything indiscriminately. Disabling Ublock Origin did not help.

Link to sandbox: Vite vuetify

  • This sandbox is very small, to reproduce the problem you may have to refresh the preview/tab 3 times to exhaust the quota and get 429 errors.
  • The issue is much, MUCH, worse on vue2 vite projects which can't do tree shaking. At a point around 3 times the size of this example, the sandbox becomes unusable.
  • Ignore the linting errors... this project uses SFC Script Setup, which (the deprecated since 2020 in favor of Volar) Vetur does not support.

Your Environment

Software Name/Version
Сodesandbox 1ca347c (2022-02-08)
Browser Chrome 98
Operating System Chrome

Notes

@hook2000 also encountered this issue
Screenshot 2022-02-09 12 26 12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions