cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to setup Blue Prism environment in Hub

Hi Everyone,

I am facing challenge in setting up environment in Hub. 

I created a new Database and I was able to connect to it, but not to one I am supposed to. Here is the logs from Hub Server - 

[2024-10-10 05:34:02.271] 226fb8a26b384763b6b0d579ecbe5467 d3bf0856415b7507b98a91bac9f9ef43 Connect.Web.Startup - Error while processing request. System.Collections.Generic.KeyNotFoundException: The given key '7809375c-e156-4a7b-ae5e-267881c7a7ec' was not present in the dictionary. =>> at Connect.Core.Services.Services.DatabasesSynchronizationService.<>c__DisplayClass7_1.<SynchronizeVirtualWorkers>b__10(ConnectVirtualWorker x) =>> at System.Collections.Generic.List`1.ForEach(Action`1 action) =>> at Connect.Core.Services.Services.DatabasesSynchronizationService.SynchronizeVirtualWorkers(String environmentName) =>> at Connect.Core.Services.Services.ConnectionSettingsService.SyncDatabase(String environmentName) =>> at Connect.Core.Frontend.Areas.Backend.Controllers.ConnectionSettingsController.SyncDatabase(String name) =>> 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.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) =>> at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ExceptionContextSealed context) =>> at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(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 Connect.Core.Frontend.Middlewares.AjaxRequestsAccessMiddleware.InvokeAsync(HttpContext context) =>> at Connect.Core.Frontend.Middlewares.RpaEnvironmentInSessionMiddleware.InvokeAsync(HttpContext context) =>> at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) =>> at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) =>> at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) =>> at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) =>> at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) =>> at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) =>> at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult) =>> at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) =>> at NWebsec.AspNetCore.Middleware.Middleware.CspMiddleware.Invoke(HttpContext context) =>> at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context) =>> at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context) =>> at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context) =>> at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context) =>> at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context) =>> at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)

I am also attaching the screenshot form the Website.

Snip.jpg

WeitghtRPAMatey
1 REPLY 1

KodiSrihari
Level 8

Hi @rsrivastava2 

Which version of HUB you are installing? Please check the necessary Troubleshoot steps which are mentioned in Blue prism Hub 5.1 Install Guide. Attaching the Screenshot below.

KodiSrihari_0-1728646104268.png

Thanks,

Srihari