Skip to content

AUTH API - Account in prod showing errors : 502 (keep open until Sept 18) #30429

Closed

Description

@Rajandeep98

account for org is giving 502 : failing parallel calls to lear/namex for search in BRD
2025-08-27 10:47:52.134 PDT
GET502135 B33.6 sChrome 139 https://auth-api-prod/api/v1/orgs/xxxxx/affiliations?new=true
older endpoint not existing one
Pending Deep Dive, not able to reproduce, exists in Prod at the moment.

Activity

  1. added
    Entities Team
    on Aug 28, 2025
  2. added theissue type on Aug 28, 2025
  3. self-assigned this
    on Aug 28, 2025
  4. added
    bug
    on Aug 28, 2025
  5. Rajandeep98 commented on Aug 28, 2025

    @Rajandeep98
    CollaboratorAuthor

    looks like its older endpoint new=true, so there was point in dev when brd was initially calling this older endpoint then our new one so that could explain that its not laoding for those bigger accounts with older endpoint

  6. severinbeauvais commented on Aug 28, 2025

    @severinbeauvais
    Collaborator

    It looks like the two orgs that experienced this error are not targeted to use the new BRD performance features (ie, new search endpoint). Hence, they are using the old (slow) endpoint and may be experiencing BRD timeouts.

  7. severinbeauvais commented on Aug 28, 2025

    @severinbeauvais
    Collaborator

    @Rajandeep98 Let me know the list of orgs with more than 1000 affiliations, that I can target to use the new BRD features (pagination + server filtering).

    I'm not sure if we decided to do this or now. Might depend on whether fix works for 2 orgs I added (see below). Ask Olga if unsure.

  8. vikas-gov commented on Aug 28, 2025

    @vikas-gov
    Collaborator

    Turn on the BRD performance improvement for the impacted accounts and we will monitor (review logs periodically) till Sep.

  9. severinbeauvais commented on Aug 28, 2025

    @severinbeauvais
    Collaborator

    I added targeting for orgs 3874 and 4846 to enable the new BRD features.

  10. Rajandeep98 commented on Aug 28, 2025

    @Rajandeep98
    CollaboratorAuthor

    cc: @OlgaPotiagalova @severinbeauvais found logs for 2 other accounts too for older workflow.

  11. Rajandeep98 commented on Sep 4, 2025

    @Rajandeep98
    CollaboratorAuthor

    no 502 logs seen for older endpoint till sept 4, 2025

  12. severinbeauvais commented on Sep 4, 2025

    @severinbeauvais
    Collaborator

    We have the go-ahead from Olga to:

    • identify all Prod accounts with 1000 or more affiliations
    • add targeting for those accounts (orgs) to enable the new BRD feature flags
  13. deleted a comment from severinbeauvais on Sep 10, 2025
  14. Rajandeep98 commented on Sep 10, 2025

    @Rajandeep98
    CollaboratorAuthor

    Added Flag in prod for all : no new logs found from 09/sept/2025

  15. Rajandeep98 commented on Sep 11, 2025

    @Rajandeep98
    CollaboratorAuthor

    no new logs

  16. severinbeauvais commented on Sep 11, 2025

    @severinbeauvais
    Collaborator

    The two BRD feature flags were left ON (ie, feature enabled) last night.

    I propose that we leave the FFs on for maybe a week, then finalize this feature (close tickets, remove targeting, etc). Thoughts? @Rajandeep98 @OlgaPotiagalova

  17. Rajandeep98 commented on Sep 11, 2025

    @Rajandeep98
    CollaboratorAuthor

    yes looks good to me.

  18. changed the title [-]AUTH API - Account in prod showing errors : 502[/-] [+]AUTH API - Account in prod showing errors : 502 (close on Sept 18)[/+] on Sep 11, 2025
  19. changed the title [-]AUTH API - Account in prod showing errors : 502 (close on Sept 18)[/-] [+]AUTH API - Account in prod showing errors : 502 (keep open until Sept 18)[/+] on Sep 11, 2025
  20. severinbeauvais commented on Sep 15, 2025

    @severinbeauvais
    Collaborator

    The 2 FFs are now enabled for everyone, so I am cleaning clean up the FF configuration by removing the per-org targeting.

    In case we need to revert this decision, here is the list of orgs that were initially targeted:

    "values": [
                    "1654",
                    "2845",
                    "49880",
                    "87647",
                    "8342",
                    "151252",
                    "151128",
                    "2335",
                    "1731",
                    "2127",
                    "2410",
                    "2975",
                    "2632",
                    "2989",
                    "2556",
                    "3049",
                    "4057",
                    "2890",
                    "702",
                    "4846",
                    "3874",
                    "773",
                    "3963",
                    "14752"
                ],
    

    The following five users were also targeted, though since they are also in the staff org (14752), this config is redundant:

    1. Severin Beauvais
    2. (unknown user id)
    3. Argus Chiu
    4. Syed Riyazzudin
    5. Mihai Dinu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Entities Teambugprod defect

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions