Error while accessing a shared dashboard
I have created a few shared dashboards for my team to use and be on top of failing builds.
I'm using a "catlight-compatible server" (i.e. relying on docker contains running locally that are instances of https://github.com/tsimbalar/gha-build-monitor and https://github.com/tsimbalar/codemagic-build-monitor )
I can publish those as shared dashboards, but when my team mates try to access them, this causes an error.
Using CatLight v3.0.17 on both sides
Here is what shows up in the logs in case that helps :
2022-11-25 08:53:04.2646 | DEBUG | ConfigurationManager | 114 | Web proxy not configured.
2022-11-25 08:54:20.1188 | INFO | EventLogger | 108 | {"e":"Dashboard.OpenSharedDashboard","p":null,"t":false}
2022-11-25 08:54:20.1196 | INFO | EventLogger | 69 | {"e":"UI.OpenSharedDashboard","p":null,"t":false}
2022-11-25 08:54:20.1207 | DEBUG | DashboardService | 108 | Opening shared dashboard b34089a0-38e2-4bd3-b2ac-19ad72468217
2022-11-25 08:54:20.1221 | INFO | EventLogger | 108 | {"e":"Dashboards.OpenShared","p":{"Id":"b34089a0-38e2-4bd3-b2ac-19ad72468217"},"t":false}
2022-11-25 08:54:20.6324 | DEBUG | ConfigurationManager | 98 | Saving settings: Catlight.Entities.ActionCenter.V1.DashboardSettings
2022-11-25 08:54:20.6664 | INFO | DashboardService | 98 | Adding new connection of type 'CatlightService' because dashboard '"Core Team"' (Id: b34089a0-38e2-4bd3-b2ac-19ad72468217) uses it.
2022-11-25 08:54:20.6664 | INFO | EventLogger | 98 | {"e":"Dashboards.AddUsedConnection","p":{"DashboardId":"b34089a0-38e2-4bd3-b2ac-19ad72468217","ConnectionType":7},"t":false}
2022-11-25 08:54:20.6664 | DEBUG | ServerCollectionManager | 98 | Adding server connection. Type:catlightservice, InstanceId:aae318ee-9875-48ad-92bd-a489b36a1621
2022-11-25 08:54:20.6676 | DEBUG | ServiceBase | 98 | Staring ServerManager
2022-11-25 08:54:20.6676 | DEBUG | ServerManager | 98 | aae3 | Starting server manager for catlightservice
2022-11-25 08:54:20.6692 | WARN | ApiErrorHandlingMiddleware | 98 | API exception System.ArgumentException: Unknown module type: catlightservice
at Web.Services.Builds.ServerAdapterFactory.CreateAdapter(String type, String loggingInstanceId) in /Users/admin/buildagent/devmac-1/_work/15/s/Desktop/LocalWeb/Services/Builds/ServerAdapterFactory.cs:line 84
at Web.Services.Builds.ServerAdapterPoller.ReCreateServerAdapter() in /Users/admin/buildagent/devmac-1/_work/15/s/Desktop/LocalWeb/Services/Builds/ServerAdapterPoller.cs:line 185
at Web.Services.Builds.ServerAdapterPoller..ctor(String serverType, IConfigurationManager configurationManager, IServerAdapterFactory serverAdapterFactory, String loggingInstanceId) in /Users/admin/buildagent/devmac-1/_work/15/s/Desktop/LocalWeb/Services/Builds/ServerAdapterPoller.cs:line 57
at Web.Services.Builds.SelfUpdatingServerAdapterFactory.CreateAdapter(String type, String loggingInstanceId) in /Users/admin/buildagent/devmac-1/_work/15/s/Desktop/LocalWeb/Services/Builds/SelfUpdatingServerAdapterFactory.cs:line 17
at Web.Services.ServerManager.DoStart() in /Users/admin/buildagent/devmac-1/_work/15/s/Desktop/LocalWeb/Services/ServerManager.cs:line 650
at Catlight.Common.ServiceBase.Start() in /Users/admin/buildagent/devmac-1/_work/15/s/Catlight.Common/ServiceBase.cs:line 21
at Web.Services.ServerCollectionManager.AddServer(String serverType) in /Users/admin/buildagent/devmac-1/_work/15/s/Desktop/LocalWeb/Services/ServerCollectionManager.cs:line 109
at Web.Services.DashboardService.AddNewConnectionsIfNeeded(DashboardSettings settings) in /Users/admin/buildagent/devmac-1/_work/15/s/Desktop/LocalWeb/Services/DashboardService.cs:line 842
at Web.Services.DashboardService.OpenSharedDashboard(Guid id) in /Users/admin/buildagent/devmac-1/_work/15/s/Desktop/LocalWeb/Services/DashboardService.cs:line 728
at Web.Controllers.Api.DashboardController.OpenSharedDashboard(Guid id) in /Users/admin/buildagent/devmac-1/_work/15/s/Desktop/LocalWeb/Controllers/Api/DashboardController.cs:line 188
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Catlight.Service.Common.ApiErrorHandlingMiddleware.Invoke(HttpContext context) in /Users/admin/buildagent/devmac-1/_work/15/s/Catlight.Service.Common/ApiErrorHandlingMiddleware.cs:line 55
2022-11-25 08:54:22.4089 | DEBUG | ConfigurationManager | 110 | Web proxy not configured.