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

Server Responding With 502 Status Code #1321

Open
2 of 5 tasks
Tracked by #1323
plang-psm opened this issue Mar 9, 2023 · 3 comments
Open
2 of 5 tasks
Tracked by #1323

Server Responding With 502 Status Code #1321

plang-psm opened this issue Mar 9, 2023 · 3 comments

Comments

@plang-psm
Copy link
Member

plang-psm commented Mar 9, 2023

Dependency

Overview

A Server not responding alert is sometimes displayed to users after they select the PROJECTS tab from the navbar. The error is triggered after the frontend requests the /api/projects/ endpoint from the server. The server responds with a 502 status code.

See screenshot of error

image

Action Items

  • Check Epic: Tracking time sensitive errors #1323 to see if any of the completed issues resolved this one. If so, close this issue.
  • Investigate the situation further and communicate findings with the team
  • Figure out who we need to communicate with to access AWS deployment information
  • Determine how to approach fixing the issue

Phillip Notes

When clicking the ADMIN tab is selected
  • Why is events being triggered via login?
When clicking the PROJECTS tab while the Dashboard is loading
  • Why does /projects output 502 status codes but work when refreshed?
  • Why is recurringEvents being triggered when you click Projects tab?
  • 2nd time running the error.

Matt Notes

  • The frontend is deployed with an Amazon Elastic Container Service
  • Confusing how the production server only sometimes responds to /api/projects GET requests with the 502.
  • Since error never occurs in our local dev environment, problem may need to be addressed on AWS

Instructions

Login to dev.vrms.io as an admin user and visit the Projects List page, the server will sometimes respond with a 502 status code for the GET requests our frontend makes to the /api/projects/ endpoint which results in the frontend /projects route failing to render the ProjectList component.

Resources

@plang-psm plang-psm removed the ready for dev lead Add to issue when dev lead needs to take some action label Mar 9, 2023
@MattPereira MattPereira added the time-sensitive should be solved as soon as possible label Mar 10, 2023
@MattPereira
Copy link
Contributor

MattPereira commented Mar 10, 2023

You may have some trouble recreating this error on dev.vrms.io but it does sometimes happen there especially if you access it in incgonito mode

The errors seem to occur much more frequently in production at vrms.io

Both dev.vrms.io and vrms.io are currently deployed from the same commit

@MattPereira MattPereira changed the title Server Not Responding on Admin Page Server Responding With 502 Status Code Mar 19, 2023
@MattPereira MattPereira added size: 3pt and removed time-sensitive should be solved as soon as possible size: 2pt labels Apr 25, 2023
@jbubar jbubar added size: 2pt Can be done in 7-12 hours and removed x-size: 3pt labels Jul 13, 2023
@JackHaeg JackHaeg added this to the 04.01 Existing Features milestone Aug 10, 2023
@JackHaeg

This comment was marked as outdated.

@JackHaeg
Copy link
Member

Per @spiteless, next steps would be to incorporate logging to figure out the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Icebox
Development

No branches or pull requests

6 participants