Skip to content

[Bug]: Vercel Security Checkpoint for Hashnode makes the CI return 429 #277

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

Closed
2 tasks done
fbuireu opened this issue Mar 19, 2025 · 3 comments
Closed
2 tasks done
Labels
invalid Not a bug or feature request

Comments

@fbuireu
Copy link

fbuireu commented Mar 19, 2025

Describe the bug

Looks like Hashnode is hosted in Vercel and behind the RSS URL there's a challenge that prevents the action to crawl the RSS feed.

Image

This makes the action return a 429 apparently:

Image

Source: https://github.com/fbuireu/fbuireu/actions/runs/13939772964/job/39014298323

Expected behavior

I expect the crawler to fetch Hashnode articles behind the security challenge without returning errors

Screenshots

Already attached before 😄

Workflow Yml Used

name: Hashnode Latest Articles
on:
  schedule:
    - cron: 0 0 * * *
  workflow_dispatch:
concurrency:
  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
  cancel-in-progress: true
jobs:
  build:
    name: Update ${{ matrix.readme }}
    runs-on: ubuntu-latest
    strategy:
      fail-fast: true
      max-parallel: 1
      matrix:
        readme: [README.md, README.ca.md, README.es.md, README.it.md]
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
      - name: Get Hashnode articles
        uses: gautamkrishnar/blog-post-workflow@v1
        with:
          readme_path: ${{ matrix.readme }}
          comment_tag_name: HASHNODE-LATEST-ARTICLES
          max_post_count: 5
          user_agent: 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0'
          accept_header: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8'
          retry_count: 1
          feed_list: ${{ vars.HASHNODE_RSS }}
          commit_message: 'docs: update ${{ matrix.readme }} with latest Hashnode articles'

Also tried without the accept_header, retry_count and user_agent options.

Additional context

Double check the following

Before opening a bug, Please make sure that you had done the following, add a checkmark if done by marking it with [x]:

  • I had gone through the FAQs
  • I had followed all the steps mentioned in the documentation
@fbuireu fbuireu added the bug Something isn't working label Mar 19, 2025
@Priyansusahoo
Copy link

Yes, Vercel security does Browser verification which makes the workflow return 429.

@gautamkrishnar
Copy link
Owner

gautamkrishnar commented Mar 19, 2025

@Priyansusahoo @fbuireu please reach out to the vercel/hashnode support team about this, as the message itself says, there is nothing I can do to fix this.

Image

@gautamkrishnar gautamkrishnar added invalid Not a bug or feature request and removed bug Something isn't working labels Mar 19, 2025
@gautamkrishnar gautamkrishnar pinned this issue Mar 19, 2025
@gautamkrishnar
Copy link
Owner

gautamkrishnar commented Mar 19, 2025

@fbuireu You are already passing the user agent, which is also not working. So the only option is reaching out to their support. If the server itself is not returning the data, there is nothing the workflow can do to fix it.

I had pinned this issue on the repo so that anyone experiencing this may find this when they try to open an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Not a bug or feature request
Projects
None yet
Development

No branches or pull requests

3 participants