question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

core(www): unpkg responds with "Response code 429 (Too Many Requests)"

See original GitHub issue

Description

requesting README from https://unpkg.com/ results in “Response code 429 (Too Many Requests)”

Steps to reproduce

console.log(`"${hit.objectID}" - error "${err.message}" `);
  • run gatsby develop

Expected result

  • it should only print 404 error messages resulting from missing README

Actual result

many times i see the error:

  • “Response code 429 (Too Many Requests)”

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
arguiotcommented, Jun 8, 2020

I’ve looked on Google for a possible answer and I found that the response on UNPKG: Response code 429 (Too Many Requests) was due to a bug/config problem on CloudFlare which causes the traffic to be redirected to Google Cloud in some situations: https://github.com/mjackson/unpkg/issues/237#issuecomment-568770980

I’m not sure if the issue comes from Cloudflare or UNPKG (honestly I believe this is a problem with UNPKG, but the developer hasn’t spoken on this yet…).

The obvious solution for Gatsby is to use jsDelivr (as I said before). The PR would be super easy to do and it will fix this issue.

0reactions
github-actions[bot]commented, Oct 3, 2020

Hey again!

It’s been 60 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m HUMAN_EMOTION_SORRY. Please feel free to comment on this issue or create a new one if you need anything else. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!

Thanks again for being part of the Gatsby community! 💪💜

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix 429 Too Many Requests Error - Kinsta
The HTTP 429 error is returned when too many requests are made to a page within a short period of time. Find out...
Read more >
429 Too Many Requests - HTTP - MDN Web Docs
The HTTP 429 Too Many Requests response status code indicates the user has sent too many requests in a given amount of time...
Read more >
429 Error – Too Many Requests HTTP Code Explained
The 429 error is an HTTP status code. It tells you when the use of an internet resource has surpassed the number of...
Read more >
http error 429 too many requests google search - You.com
The HTTP 429 Too Many Requests response status code indicates the user has sent too many requests in a given amount of time...
Read more >
How to Fix 429 Too Many Requests Error Code - Hostinger
One of these HTTP codes is 429 Too Many Requests. As the name suggests, this code appears whenever someone repeatedly accesses a website...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found