Skip to content

Server Responding With 502 Status Code #1321

@plang-psm

Description

@plang-psm

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Icebox

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions