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 at startup #194

Closed
LaurentOliva opened this issue Jul 7, 2021 · 2 comments · Fixed by #223
Closed

Error at startup #194

LaurentOliva opened this issue Jul 7, 2021 · 2 comments · Fixed by #223
Labels

Comments

@LaurentOliva
Copy link

LaurentOliva commented Jul 7, 2021

Hello,

we're facing the following errors when we want to start Reflector :

2021-07-07 12:20:48.408 +00:00 [INF] (ES.Kubernetes.Reflector.Host.Program) Starting host
2021-07-07 12:21:19.506 +00:00 [ERR] (Microsoft.AspNetCore.Server.Kestrel) Connection id "0HMA186PTU7LU", Request id "0HMA186PTU7LU:00000001": An unhandled exception was thrown by the application.
System.ObjectDisposedException: Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it (or one of its parent scopes) has already been disposed.
at Autofac.Core.Lifetime.LifetimeScope.BeginLifetimeScope(Object tag)
at Autofac.Core.Lifetime.LifetimeScope.BeginLifetimeScope()
at Autofac.Extensions.DependencyInjection.AutofacServiceScopeFactory.CreateScope()
at Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService.CheckHealthAsync(Func`2 predicate, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckMiddleware.InvokeAsync(HttpContext httpContext)
at Dynatrace.OneAgent.Introspection.Shared.NewAspNetCoreTracingMiddlewareBase`1.Invoke(Context context)
at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context)
at Dynatrace.OneAgent.Introspection.Shared.NewAspNetCoreTracingMiddlewareBase`1.Invoke(Context context)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)

We've been using the Reflector for one year now and didn't face such an issue.
We decided two months ago to scale down Reflector because our Kubernetes Cluster is stable, so this morning we wanted to restart Reflector and we faced the errors i wrote in the issue.

May you help us ? Thnaks in advance for the help you're able to provide.

@stale
Copy link

stale bot commented Jul 16, 2021

Automatically marked as stale due to no recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 16, 2021
@stale
Copy link

stale bot commented Jul 23, 2021

Automatically closed stale item.

@stale stale bot closed this as completed Jul 23, 2021
winromulus added a commit that referenced this issue Oct 16, 2021
- New multi-arch pipeline with proper tagging convention
- Removed cert-manager extension (deprecated due to new support from cert-manager) Fixes: #191
- Fixed healthchecks. Fixes: #208
- Removed Slack support links (GitHub issues only). Fixes: #199
- Simplified startup and improved performance. Fixes: #194
- Huge improvements in performance and stability. Fixes: #187 #182 #166 #150 #138 #121 #108
winromulus added a commit that referenced this issue Oct 16, 2021
- New multi-arch pipeline with proper tagging convention
- Removed cert-manager extension (deprecated due to new support from cert-manager) Fixes: #191
- Fixed healthchecks. Fixes: #208
- Removed Slack support links (GitHub issues only). Fixes: #199
- Simplified startup and improved performance. Fixes: #194
- Huge improvements in performance and stability. Fixes: #187 #182 #166 #150 #138 #121 #108
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

1 participant