You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this issue has been debugged in k8s-kamus slack channel, filling up exception and it's details just for history purposes
we have kiam role attached to pod via pod annotations and trying to use AwsKms provider, but encryption is failing with error: No RegionEndpoint or ServiceURL configured
full exception line:
{"Timestamp":"2019-04-15T16:18:05.2905180+00:00","Level":"Error","MessageTemplate":"Unhandled exception while processing request","Exception":"Amazon.Runtime.AmazonClientException: No RegionEndpoint or ServiceURL configured\n at Amazon.Runtime.ClientConfig.Validate()\n at Amazon.Runtime.AmazonServiceClient..ctor(AWSCredentials credentials, ClientConfig config)\n at Kamus.Startup.GetAwsKeyManagement(ILogger logger) in /app/encrypt-api/Startup.cs:line 176\n at Kamus.Startup.<ConfigureServices>b__2_1(IServiceProvider s) in /app/encrypt-api/Startup.cs:line 80\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(IServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(IServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass1_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetService(IServiceProvider sp, Type type, Type requiredBy, Boolean isDefaultParameterRequired)\n at lambda_method(Closure , IServiceProvider , Object[] )\n at Microsoft.AspNetCore.Mvc.Controllers.ControllerActivatorProvider.<>c__DisplayClass4_0.<CreateActivator>b__0(ControllerContext controllerContext)\n at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()\n at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)\n at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIIndexMiddleware.Invoke(HttpContext httpContext)\n at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext)\n at Kamus.ErrorHandlingMiddleware.Invoke(HttpContext httpContext) in /app/encrypt-api/ErrorHandlingMiddleware.cs:line 25","Properties":{"SourceContext":"Kamus.ErrorHandlingMiddleware"}}
we're seeing attached role via curl/wget command.
thanks,
Andrey
The text was updated successfully, but these errors were encountered:
Thanks for reporting this issue! I've opened a PR to fix the chart - look like the SDK auto-discovery is depended on AWS_REGION environment variable (see the docs for more details). I also add a note on the installation docs.
hello,
this issue has been debugged in k8s-kamus slack channel, filling up exception and it's details just for history purposes
we have kiam role attached to pod via pod annotations and trying to use AwsKms provider, but encryption is failing with error:
No RegionEndpoint or ServiceURL configured
full exception line:
we're seeing attached role via curl/wget command.
thanks,
Andrey
The text was updated successfully, but these errors were encountered: