Skip to content
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

VBS Copays endpoint has been erroring since 11PM 12/17 #99484

Closed
12 of 18 tasks
digitaldrk opened this issue Dec 19, 2024 · 4 comments
Closed
12 of 18 tasks

VBS Copays endpoint has been erroring since 11PM 12/17 #99484

digitaldrk opened this issue Dec 19, 2024 · 4 comments
Assignees
Labels
vsa-debt Benefits Team 2 (formerly Debt Resolution,Benefits and Memorials 2)

Comments

@digitaldrk
Copy link
Contributor

digitaldrk commented Dec 19, 2024

Issue Description

The VBS 'GetStatementsByEDIPIAndVistaAccountNumber' has been erroring.

I have sent a VA email at around 9:15AM 12/19 to the VBS team about this issue and messaged Denise in OCTO Slack.

Russel from VBS responded. He says he sees 401 (unauthorized). He provided a swagger link. It seems our api key is still valid.

I do not see any changes to code on our side. He says they have not changed their code.

I am going to try and fire a curl or Faraday request from a prod server. This will maybe give us an idea of what the error is exactly. We use a proxy, I wonder if that's our problem.

Link to possible clue. FWD proxy was updated at the time we began seeing errors

Tasks

  • Not sure what task is required at the moment

Design and Front End sync on implementation of design

  • Required
  • Complete
  • Not Required

Acceptance Criteria

  • VBS endpoint is responding properly again

Testing

  • N/A if non development work
  • Testing passed and documented in this ticket based off the "Then" statement in the description

Test procedures:
If additional testing steps or credentials to perform testing are needed list them here

Ticket Creation - Definition of Ready

Ticket requirements
  • Description written
  • Tasks defined
  • Acceptance criteria written
  • Testing defined
  • Add Labels
  • Assign Type
  • Assign Priority (Normal = Medium)
  • Assign Group(s)
  • Assign to a Project
  • Attach to an Parent Epic
  • Estimate Points
@digitaldrk digitaldrk added vsa-debt Benefits Team 2 (formerly Debt Resolution,Benefits and Memorials 2) backend labels Dec 19, 2024
@digitaldrk digitaldrk self-assigned this Dec 19, 2024
@digitaldrk digitaldrk added unplanned-work Work that was not planned for during Sprint Planning and removed backend unplanned-work Work that was not planned for during Sprint Planning labels Dec 19, 2024
@digitaldrk
Copy link
Contributor Author

I pinged support. I think this has to do with a change in fwd proxy:

https://dsva.slack.com/archives/CBU0KDSB1/p1734641816686429

@digitaldrk
Copy link
Contributor Author

digitaldrk commented Dec 24, 2024

Current status:

We have among others, the following values we use to authenticate with VBS:

  • host
  • url
  • apiKey

Devops made a change to load balancing and forward proxy in AWS, this broke our functionality with VBS.

After deep troubleshooting, I noticed that staging still works. I found that the host values we store in AWS "parameter store" are fundamentally different between staging and prod. In staging, it is just a domain like this: something.va.gov. In prod, it has https like this: https.something.va.gov.

I updated the value in parameter store, platform happened to be doing a deployment anyways, and we should have been good to go but we're not.

Evidently, when we set the host value in staging, we are using the AWS parameter store host value. In Prod, we are using the AWS parameter store url value... SUPER frustrating.

So now, I have to make sure all code using these credentials are expecting the right value. Hope to have this done today. This is/should be a very straight forward change but I don't want to rev up the platform team on christmas eve without making SURE it's going to work this time.

Not sure when another deployment is leaving the train station during the holidays.

@digitaldrk
Copy link
Contributor Author

We are seeing successful requests rolling in.

This necessitated the following:

  • Debugging between staging and prod env's where I wrote a 'raw' Faraday request to locate the problem. I ran these requests in Argo and found the issue was the host value set, we pass this into the header.
  • Update to AWS parameter store for the hostvalue.
  • PR to vsp infra manifest
  • OOB deployment to pick up new values

@digitaldrk
Copy link
Contributor Author

Post Mortem for incident

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vsa-debt Benefits Team 2 (formerly Debt Resolution,Benefits and Memorials 2)
Projects
None yet
Development

No branches or pull requests

1 participant