question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exceptionless on AKS - any more docs?

See original GitHub issue

I 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, IDictionary2 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.OptionsManager1.<>c__DisplayClass5_0.<Get>b__0() at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy1.CreateValue() at System.Lazy1.get_Value() at Microsoft.Extensions.Options.OptionsCache1.GetOrAdd(String name, Func1 createOptions) at Microsoft.Extensions.Options.OptionsManager1.Get(String name) at Microsoft.Extensions.Options.OptionsManager1.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:closed
  • Created 4 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
ahmedszacommented, Feb 20, 2020

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)

0reactions
niemyjskicommented, Sep 1, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kubernetes
Real-time exception reporting for ASP.NET, Web API, WebForms, WPF, Console, and MVC applications. Includes event organization, notifications, and more.
Read more >
Azure Kubernetes Service (AKS) documentation
AKS allows you to quickly deploy a production ready Kubernetes cluster in Azure. Learn how to use AKS with these quickstarts, tutorials, and...
Read more >
aks-engine/docs/topics/clusterdefinitions.md at master
AKS Engine: legacy tool for Kubernetes on Azure (see status) ... See here for more documentation about how adding more outbound IP addresses...
Read more >
Error when attempting to access azure aks with kubectl
This is the error I get in cmd, powershell, git-bash, azure shell & vscode terminal. Also I get the same issue if I...
Read more >
Provision an AKS cluster (Azure) | Terraform
Provision a Kubernetes Cluster in Azure. Configure the Azure CLI to provide credentials to Terraform, clone an example repository, and deploy the cluster....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found