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

Error logs from multiple apps after CI/CD chapter #32

Open
shabbskagalwala opened this issue Mar 29, 2022 · 0 comments
Open

Error logs from multiple apps after CI/CD chapter #32

shabbskagalwala opened this issue Mar 29, 2022 · 0 comments

Comments

@shabbskagalwala
Copy link

shabbskagalwala commented Mar 29, 2022

As i am almost done with the course, i noticed that the clients-api doesn't work after the CI/CD chapter

fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
      An unhandled exception has occurred while executing the request.
System.MissingMethodException: Method n^Cs.ExceptionHandlerMiddleware[1]
      An unhandled exception has occurred while executing the request.
System.MissingMethodException: Method not found: 'Void Amazon.XRay.Recorder.Core.AWSXRayRecorderImpl.BeginSubsegment(System.String)'.
   at Amazon.XRay.Recorder.Handlers.AspNetCore.Internal.AWSXRayMiddleware.ProcessHTTPRequest(HttpContext context)
   at Amazon.XRay.Recorder.Handlers.AspNetCore.Internal.AWSXRayMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[3]
      An exception was thrown attempting to execute the error handler.

logs from the clients api pod

Examining the page i see there is an 500 error
image

Going to the https://api.dev.${domain}/clients-api end point returns the following
image

Next with the resources api when deleting a resource example:
Deleting a resource tries to use localhost
image

Are there any relevant code updates that have not been pushed that might be causing this? I am happy to provide more logs if needed or spend time to debug and fix the issues :) My main focus of the course was to get a refresher on the core concepts but happy to help in anyway possible

Thank you for the awesome course

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

1 participant