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

Look for 500 error code #952

Open
bsarankumar opened this issue Dec 15, 2022 · 4 comments
Open

Look for 500 error code #952

bsarankumar opened this issue Dec 15, 2022 · 4 comments

Comments

@bsarankumar
Copy link

Hi Team,

When I upgrade my passport version 0.4.0 to 0.6.0 my service deployment getting failed in AWS. Getting 500 error code and unhealthy in target group.

@jaredhanson
Copy link
Owner

Can you please provide details that indicate errors with this package, in order to help identity specific issues and potential fixes?

@bsarankumar
Copy link
Author

Hello,
As requested event log error file content & reference screenshot attached here. Kindly verify & confirm.

Screenshot:

image

Log content:
Dec 15, 2022 @ 11:12:20.873 registered 2 targets in (target-group arn:aws:elasticloadbalancing)
Dec 15, 2022 @ 11:11:50.987 has started 2 tasks: (task 12fc7483fabe4cfdb481b22f37a3fb9c) (task 269dd14f49034b4ab11b2cf31f9042a8).
Dec 15, 2022 @ 07:30:59.377 has reached a steady state.
Dec 15, 2022 @ 01:30:13.452 registered 2 targets in (target-group arn:aws:elasticloadbalancing)
Dec 15, 2022 @ 01:29:53.908 (Service) has begun draining connections on 1 tasks.
Dec 15, 2022 @ 01:29:53.903 deregistered 1 targets in (target-group arn:aws:elasticloadbalancing)
Dec 15, 2022 @ 01:29:44.187 has started 2 tasks: (task b54922b19cf14b98805a56656faa38a8) (task be3223b664ab42dfabf75f12fb50301f).
Dec 15, 2022 @ 01:29:43.967 (Service) has begun draining connections on 1 tasks.
Dec 15, 2022 @ 01:29:43.962 deregistered 1 targets in (target-group arn:aws:elasticloadbalancing)
Dec 14, 2022 @ 23:51:43.884 has reached a steady state.
Dec 14, 2022 @ 11:50:33.985 (deployment XXX Server) deployment completed.
Dec 14, 2022 @ 11:49:24.091 (Service) has begun draining connections on 2 tasks.
Dec 14, 2022 @ 11:49:24.086 deregistered 2 targets in (target-group arn:aws:elasticloadbalancing)
Dec 14, 2022 @ 11:49:14.223 has stopped 2 running tasks: (task 18b970db74ed4e87a5bf95a7630792f6) (task 58af221f330b41a8b49b72cac40ce6e2).
Dec 14, 2022 @ 11:48:26.200 registered 2 targets in (target-group arn:aws:elasticloadbalancing)
Dec 14, 2022 @ 11:47:58.294 has started 2 tasks: (task 130a786527ff4b0d81f10d59b7aa80b7) (task cb0c9d8b39fa41bfa6aff10a79a29858).
Dec 14, 2022 @ 10:48:20.058 has reached a steady state.
Dec 14, 2022 @ 10:48:01.747 registered 2 targets in (target-group arn:aws:elasticloadbalancing)
Dec 14, 2022 @ 10:47:32.703 has started 2 tasks: (task 58af221f330b41a8b49b72cac40ce6e2) (task 18b970db74ed4e87a5bf95a7630792f6).
Dec 14, 2022 @ 10:47:32.477 (Service) has begun draining connections on 2 tasks.
Dec 14, 2022 @ 10:47:32.471 deregistered 2 targets in (target-group arn:aws:elasticloadbalancing)
Dec 14, 2022 @ 06:54:49.853 has reached a steady state.
Dec 14, 2022 @ 06:54:49.852 (deployment XYZ Server) deployment completed.
Dec 14, 2022 @ 06:53:44.444 (Service) has begun draining connections on 2 tasks.
Dec 14, 2022 @ 06:53:44.439 deregistered 2 targets in (target-group arn:aws:elasticloadbalancing)
Dec 14, 2022 @ 06:53:35.182 has stopped 2 running tasks: (task 758e4cf11637477aa568f2c4fb5a64c6) (task 2ac1f252927b430e8f18f0271bd3cd11).
Dec 14, 2022 @ 06:52:46.036 registered 2 targets in (target-group arn:aws:elasticloadbalancing)
Dec 14, 2022 @ 06:52:17.205 has started 2 tasks: (task 24739a8680af4ba89b9c32e24b3937c6) (task fd67e3fe61444575911603e90703c9d4).
Dec 14, 2022 @ 02:44:55.345 has reached a steady state.
Dec 14, 2022 @ 02:44:55.344 (deployment ecs-svc/0146499738957367065) deployment completed.
Dec 14, 2022 @ 02:43:48.135 (Service) has begun draining connections on 1 tasks.
Dec 14, 2022 @ 02:43:48.128 deregistered 1 targets in (target-group arn:aws:elasticloadbalancing)
Dec 14, 2022 @ 02:43:38.610 has stopped 1 running tasks: (task d220ca6cb0b54da1b0459e7a06d018e6).
Dec 14, 2022 @ 02:43:29.698 (Service) has begun draining connections on 1 tasks.
Dec 14, 2022 @ 02:43:29.691 deregistered 1 targets in (target-group arn:aws:elasticloadbalancing)
Dec 14, 2022 @ 02:43:19.571 has stopped 1 running tasks: (task e5e515adffd546dbadeab6e3e09e4904).
Dec 14, 2022 @ 02:42:30.655 registered 1 targets in (target-group arn:aws:elasticloadbalancing)
Dec 14, 2022 @ 02:42:21.108 has started 2 tasks: (task 2ac1f252927b430e8f18f0271bd3cd11) (task 758e4cf11637477aa568f2c4fb5a64c6).
Dec 14, 2022 @ 02:41:11.753 deregistered 1 targets in (target-group arn:aws:elasticloadbalancing)
Dec 14, 2022 @ 02:41:11.631 (Service) has begun draining connections on 1 tasks.
Dec 14, 2022 @ 02:41:11.626 deregistered 1 targets in (target-group arn:aws:elasticloadbalancing)
Dec 14, 2022 @ 02:41:01.531 has stopped 1 running tasks: (task 1aad969e10264a43b3c4f492d9bb3986).
Dec 14, 2022 @ 02:41:01.483 (instance i-0ad0808c7f4b76588) (port 49223) is unhealthy in (target-group arn:aws:elasticloadbalancing) due to (reason Health checks failed with these codes: [500])
Dec 14, 2022 @ 02:40:51.941 deregistered 1 targets in (target-group arn:aws:elasticloadbalancing)
Dec 14, 2022 @ 02:40:51.878 (Service) has begun draining connections on 1 tasks.
Dec 14, 2022 @ 02:40:51.874 deregistered 1 targets in (target-group arn:aws:elasticloadbalancing)
Dec 14, 2022 @ 02:40:42.763 has stopped 1 running tasks: (task 94d72024e5814bdca06c23f3e5a906f8).
Dec 14, 2022 @ 02:40:42.714 (instance i-00799941d276a36e3) (port 49201) is unhealthy in (target-group arn:aws:elasticloadbalancing) due to (reason Health checks failed with these codes: [500])
Dec 14, 2022 @ 02:38:01.019 registered 2 targets in (target-group arn:aws:elasticloadbalancing)
Dec 14, 2022 @ 02:37:32.740 has started 2 tasks: (task 1aad969e10264a43b3c4f492d9bb3986) (task 94d72024e5814bdca06c23f3e5a906f8).
Dec 13, 2022 @ 21:09:05.444 has reached a steady state.
Dec 13, 2022 @ 09:08:28.141 (deployment ABC Server) deployment completed.
Dec 13, 2022 @ 09:07:21.025 (Service) has begun draining connections on 1 tasks.
Dec 13, 2022 @ 09:07:21.009 deregistered 1 targets in (target-group arn:aws:elasticloadbalancing)
Dec 13, 2022 @ 09:07:10.510 has stopped 1 running tasks: (task d5da8c4f44b4447fb4905afcc0ca1fe7).
Dec 13, 2022 @ 09:07:00.066 (Service) has begun draining connections on 1 tasks.
Dec 13, 2022 @ 09:07:00.059 deregistered 1 targets in (target-group arn:aws:elasticloadbalancing)
Dec 13, 2022 @ 09:06:50.739 has stopped 1 running tasks: (task 2de6bf85fc9b4448b69eaa2d1b90bbee).
Dec 13, 2022 @ 09:06:02.622 registered 1 targets in (target-group arn:aws:elasticloadbalancing)
Dec 13, 2022 @ 09:05:53.093 has started 2 tasks: (task e5e515adffd546dbadeab6e3e09e4904) (task d220ca6cb0b54da1b0459e7a06d018e6).
Dec 13, 2022 @ 08:26:14.828 has reached a steady state.
Dec 13, 2022 @ 08:25:55.507 registered 2 targets in (target-group arn:aws:elasticloadbalancing)
Dec 13, 2022 @ 08:25:26.685 has started 2 tasks: (task d5da8c4f44b4447fb4905afcc0ca1fe7) (task 2de6bf85fc9b4448b69eaa2d1b90bbee).
Dec 13, 2022 @ 08:25:26.459 (Service) has begun draining connections on 2 tasks.
Dec 13, 2022 @ 08:25:26.453 deregistered 2 targets in (target-group arn:aws:elasticloadbalancing)
Dec 13, 2022 @ 07:35:58.222 has reached a steady state.

@jaredhanson
Copy link
Owner

These aren't error messages generated by Passport. It is not clear from the information you have provided what issue exists with Passport itself (if any). As such, there's nothing actionable for maintainers (ie, myself) to do based on this information.

@markstos
Copy link

This issue can closed. The user likely experienced one of the breaking changes in 0.6.0, perhaps related to #966, which surfaced an undocumented breaking change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants