Skip to content

"command failed error="failed to analyze org x: failed to get batch of repos: non-200 OK status code: 502 Bad Gateway body" #395

@important-security-account

Description

Describe the bug
Looks like Poutine has a rate limit when doing analyze_org with how many repos there can be in the org.

To Reproduce
Steps to reproduce the behavior:

  1. poutine analyze_org x --token "$GH_TOKEN"
  2. Org has 500+ repos inside of it
  3. Poutine returns ERROR | command failed error="failed to analyze org x: failed to get batch of repos: non-200 OK status code 502 Bad Gateway body: \"<html>\\r\\n<head><title>502 Bad Gateway</title></head>\\r\\n<body>\\r\\n<center><h1>502 Bad Gateway</h1></center>\\r\\n<hr><center>nginx</center>\\r\\n</body>\\r\\n</html>\\r\\n\""

Expected behavior
Hopefully to work and scan, or if theres a known limit of repos within a org that it can scan.

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