Exceptionless on AKS - any more docs?
See original GitHub issueI am trying to setup Exceptionless on AKS. I tried to follow https://github.com/exceptionless/Exceptionless/tree/master/k8s but I am unable to get it running. The issue right now is that I am not really clear what environment variables need to be setup, and if anything else needs to be provisioned to get this working. eg there is EX_ConnectionStrings__Storage, but it is not clear if I need to provision some Azure storage… Does anyone have a working AKS cluster with Exceptionless.
Currently I am getting below…
kubectl logs ex-dev-api-66d8dff66f-bjdll
[11:47:22 INF] Bootstrapping Exceptionless Web in Staging mode (6.0.3534-pre+cb5834aa18de67b57395aa0ebc720b7adc4c8600) on ex-dev-api-66d8dff66f-bjdll with settings {“ApiUrl”: “https://dev-api.exceptionless.io”, “ApplicationInsightsKey”: “”, “AppMode”: “Staging”, “BaseUrl”: “https://dev-app.exceptionless.io”, “ConnectionStrings”: {“Cache”: “provider=redis;”, “Elasticsearch”: “http://ex-dev-es-http:9200”, “Email”: “smtps://user%40domain.com:password@smtp.domain.com:465”, “MessageBus”: “provider=redis;”, “OAuth”: “”, “Queue”: “provider=redis;”, “Redis”: “ex-dev-redis-master.ex-dev.svc.cluster.local:6379”, “Storage”: “provider=azurestorage;”}, “DEV_API_PORT”: “tcp://10.60.217.3:80”, “DEV_API_PORT_80_TCP”: “tcp://10.60.217.3:80”, “DEV_API_PORT_80_TCP_ADDR”: “10.60.217.3”, “DEV_API_PORT_80_TCP_PORT”: “80”, “DEV_API_PORT_80_TCP_PROTO”: “tcp”, “DEV_API_SERVICE_HOST”: “10.60.217.3”, “DEV_API_SERVICE_PORT”: “80”, “DEV_API_SERVICE_PORT_HTTP”: “80”, “DEV_APM_HTTP_PORT”: “tcp://10.60.211.156:8200”, “DEV_APM_HTTP_PORT_8200_TCP”: “tcp://10.60.211.156:8200”, “DEV_APM_HTTP_PORT_8200_TCP_ADDR”: “10.60.211.156”, “DEV_APM_HTTP_PORT_8200_TCP_PORT”: “8200”, “DEV_APM_HTTP_PORT_8200_TCP_PROTO”: “tcp”, “DEV_APM_HTTP_SERVICE_HOST”: “10.60.211.156”, “DEV_APM_HTTP_SERVICE_PORT”: “8200”, “DEV_APM_HTTP_SERVICE_PORT_HTTPS”: “8200”, “DEV_APP_PORT”: “tcp://10.60.253.196:80”, “DEV_APP_PORT_443_TCP”: “tcp://10.60.253.196:443”, “DEV_APP_PORT_443_TCP_ADDR”: “10.60.253.196”, “DEV_APP_PORT_443_TCP_PORT”: “443”, “DEV_APP_PORT_443_TCP_PROTO”: “tcp”, “DEV_APP_PORT_80_TCP”: “tcp://10.60.253.196:80”, “DEV_APP_PORT_80_TCP_ADDR”: “10.60.253.196”, “DEV_APP_PORT_80_TCP_PORT”: “80”, “DEV_APP_PORT_80_TCP_PROTO”: “tcp”, “DEV_APP_SERVICE_HOST”: “10.60.253.196”, “DEV_APP_SERVICE_PORT”: “80”, “DEV_APP_SERVICE_PORT_HTTP”: “80”, “DEV_APP_SERVICE_PORT_HTTPS”: “443”, “DEV_COLLECTOR_PORT”: “tcp://10.60.196.103:80”,“DEV_COLLECTOR_PORT_80_TCP”: “tcp://10.60.196.103:80”, “DEV_COLLECTOR_PORT_80_TCP_ADDR”: “10.60.196.103”, “DEV_COLLECTOR_PORT_80_TCP_PORT”: “80”, “DEV_COLLECTOR_PORT_80_TCP_PROTO”: “tcp”, “DEV_COLLECTOR_SERVICE_HOST”: “10.60.196.103”, “DEV_COLLECTOR_SERVICE_PORT”: “80”, “DEV_COLLECTOR_SERVICE_PORT_HTTP”: “80”, “DEV_ES_HTTP_PORT”: “tcp://10.60.207.7:9200”, “DEV_ES_HTTP_PORT_9200_TCP”: “tcp://10.60.207.7:9200”, “DEV_ES_HTTP_PORT_9200_TCP_ADDR”: “10.60.207.7”, “DEV_ES_HTTP_PORT_9200_TCP_PORT”: “9200”, “DEV_ES_HTTP_PORT_9200_TCP_PROTO”: “tcp”, “DEV_ES_HTTP_SERVICE_HOST”: “10.60.207.7”, “DEV_ES_HTTP_SERVICE_PORT”: “9200”, “DEV_ES_HTTP_SERVICE_PORT_HTTP”: “9200”, “DEV_KB_HTTP_PORT”: “tcp://10.60.229.94:5601”, “DEV_KB_HTTP_PORT_5601_TCP”: “tcp://10.60.229.94:5601”, “DEV_KB_HTTP_PORT_5601_TCP_ADDR”: “10.60.229.94”, “DEV_KB_HTTP_PORT_5601_TCP_PORT”: “5601”, “DEV_KB_HTTP_PORT_5601_TCP_PROTO”: “tcp”, “DEV_KB_HTTP_SERVICE_HOST”: “10.60.229.94”, “DEV_KB_HTTP_SERVICE_PORT”: “5601”, “DEV_KB_HTTP_SERVICE_PORT_HTTP”: “5601”, “DEV_REDIS_MASTER_PORT”: “tcp://10.60.199.172:6379”, “DEV_REDIS_MASTER_PORT_6379_TCP”: “tcp://10.60.199.172:6379”, “DEV_REDIS_MASTER_PORT_6379_TCP_ADDR”: “10.60.199.172”, “DEV_REDIS_MASTER_PORT_6379_TCP_PORT”: “6379”, “DEV_REDIS_MASTER_PORT_6379_TCP_PROTO”: “tcp”, “DEV_REDIS_MASTER_SERVICE_HOST”: “10.60.199.172”, “DEV_REDIS_MASTER_SERVICE_PORT”: “6379”, “DEV_REDIS_MASTER_SERVICE_PORT_REDIS”: “6379”, “DEV_REDIS_METRICS_PORT”: “tcp://10.60.216.18:9121”, “DEV_REDIS_METRICS_PORT_9121_TCP”: “tcp://10.60.216.18:9121”, “DEV_REDIS_METRICS_PORT_9121_TCP_ADDR”: “10.60.216.18”, “DEV_REDIS_METRICS_PORT_9121_TCP_PORT”: “9121”, “DEV_REDIS_METRICS_PORT_9121_TCP_PROTO”: “tcp”, “DEV_REDIS_METRICS_SERVICE_HOST”: “10.60.216.18”, “DEV_REDIS_METRICS_SERVICE_PORT”: “9121”, “DEV_REDIS_METRICS_SERVICE_PORT_METRICS”: “9121”, “DisabledPlugins”: “GeoPlugin,LocationPlugin”, “EnableSnapshotJobs”: “false”, “EnableSsl”: “true”, “ExceptionlessApiKey”: “”, “ExceptionlessServerUrl”: “https://dev-collector.exceptionless.io”, “GoogleGeocodingApiKey”: “”, “GoogleTagManagerId”: “”, “Html5Mode”: “true”, “InternalProjectId”: “50ca6b2423d6c8493020b823”, “MaxMindGeoIpKey”: “”, “Scope”: “dev”, “StripeApiKey”: “”, “StripePublishableApiKey”: “”, “StripeWebHookSigningSecret”: “”, “URLS”: “http://+:80”, “VERSION”: “3.0.1”}
[11:47:23 FTL] Job host terminated unexpectedly
System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0.
at Foundatio.Utility.ConnectionStringParser.Parse(String connectionString, IDictionary2 synonyms) at Foundatio.Utility.ConnectionStringParser.ParseConnectionString(String connectionString, IDictionary
2 synonyms)
at Exceptionless.Core.Configuration.ConfigureCacheOptions.Configure(CacheOptions options) in /app/src/Exceptionless.Core/Configuration/CacheOptions.cs:line 35
at Microsoft.Extensions.Options.OptionsFactory1.Create(String name) at Microsoft.Extensions.Options.OptionsManager
1.<>c__DisplayClass5_0.<Get>b__0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy
1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy1.CreateValue() at System.Lazy
1.get_Value()
at Microsoft.Extensions.Options.OptionsCache1.GetOrAdd(String name, Func
1 createOptions)
at Microsoft.Extensions.Options.OptionsManager1.Get(String name) at Microsoft.Extensions.Options.OptionsManager
1.get_Value()
at Exceptionless.Insulation.Bootstrapper.RegisterServices(IServiceProvider serviceProvider, IServiceCollection services, AppOptions appOptions, Boolean runMaintenanceTasks) in /app/src/Exceptionless.Insulation/Bootstrapper.cs:line 66
at Exceptionless.Web.Bootstrapper.RegisterServices(IServiceCollection services, ILoggerFactory loggerFactory) in /app/src/Exceptionless.Web/Bootstrapper.cs:line 34
at Exceptionless.Web.Startup.ConfigureServices(IServiceCollection services) in /app/src/Exceptionless.Web/Startup.cs:line 124
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass9_0.<Invoke>g__Startup|0(IServiceCollection serviceCollection)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.Invoke(Object instance, IServiceCollection services)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass8_0.<Build>b__0(IServiceCollection services)
at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.UseStartup(Type startupType, HostBuilderContext context, IServiceCollection services)
at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass12_0.<UseStartup>b__0(HostBuilderContext context, IServiceCollection services)
at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
at Microsoft.Extensions.Hosting.HostBuilder.Build()
at Exceptionless.Web.Program.Main(String[] args) in /app/src/Exceptionless.Web/Program.cs:line 30
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (6 by maintainers)
Top GitHub Comments
Thanks a stack. I made some progress before your comments by adding the server= bit as well ad creating and adding the storage details. Was struggling with redis password but these examples look great. Will test first thing tomorrow (I am in south Africa)
I’m going to close this for now and I’m also saving a copy of your setup file. We did create some very very very basic docs here that need to be expanded on: https://exceptionless.com/docs/self-hosting/kubernetes/ We’ve also updated our sh file for our updated steps as well.
If anyone comes across this and has questions, please don’t hesitate to leave a comment or submit a pr for the docs.