Open Closed

SignalR exception with upgrade to version 8.1.1 #7075


User avatar
0
yasin.hallak.89@gmail.com created
  • ABP Framework version: v8.1.1

  • UI Type: MVC /

  • Database System: EF Core (SQL Server) /

  • Tiered (for MVC) or Auth Server Separated (for Angular): no

  • Host terminated unexpectedly! Volo.Abp.AbpInitializationException: An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module ManarahTech.NeuErp.Web.NeuErpWebModule, ManarahTech.NeuErp.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: The hub type HR.Web.SignalR.UiNotificationHub is already registered with route pattern /signalr-hubs/ui-notification. See the inner exception for details. ---> Volo.Abp.AbpException: The hub type HR.Web.SignalR.UiNotificationHub is already registered with route pattern /signalr-hubs/ui-notification at Volo.Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule.<>c__DisplayClass2_0.<ConfigureServices>b__4(EndpointRouteBuilderContext endpointContext) at Microsoft.AspNetCore.Builder.AbpAspNetCoreApplicationBuilderExtensions.<>c__DisplayClass0_0.<UseConfiguredEndpoints>b__0(IEndpointRouteBuilder endpoints) at Microsoft.AspNetCore.Builder.EndpointRoutingApplicationBuilderExtensions.UseEndpoints(IApplicationBuilder builder, Action1 configure) at Microsoft.AspNetCore.Builder.AbpAspNetCoreApplicationBuilderExtensions.UseConfiguredEndpoints(IApplicationBuilder app, Action1 additionalConfigurationAction) at ManarahTech.NeuErp.Web.NeuErpWebModule.OnApplicationInitialization(ApplicationInitializationContext context) in C:\Mywork\NeuErp\src\ManarahTech.NeuErp.Web\NeuErpWebModule.cs:line 602 at Volo.Abp.Modularity.AbpModule.OnApplicationInitializationAsync(ApplicationInitializationContext context) at Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor.InitializeAsync(ApplicationInitializationContext context, IAbpModule module) at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitializationContext context) --- End of inner exception stack trace --- at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitializationContext context) at Volo.Abp.AbpApplicationBase.InitializeModulesAsync() at Volo.Abp.AbpApplicationWithExternalServiceProvider.InitializeAsync(IServiceProvider serviceProvider) at Microsoft.AspNetCore.Builder.AbpApplicationBuilderExtensions.InitializeApplicationAsync(IApplicationBuilder app) at ManarahTech.NeuErp.Web.Program.Main(String[] args) in C:\Mywork\NeuErp\src\ManarahTech.NeuErp.Web\Program.cs:line 38:

Hello Support,

I have upgraded to version 8.1.1 and run migration, then run application gave me this error,

previos verion is 8.0.4 and the application is running

app.UseEndpoints(endpoints =>
 {
     endpoints.MapHub<UiNotificationHub>("/notification-hub");
 });

 app.UseConfiguredEndpoints();

Can you give me some solution Plz

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The hub type HR.Web.SignalR.UiNotificationHub is already registered with route pattern /signalr-hubs/ui-notification

    Can you share the code of HR.Web.SignalR.UiNotificationHub and its other related codes?

    Thanks.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    yasin.hallak.89@gmail.com created

    hi

    The hub type HR.Web.SignalR.UiNotificationHub is already registered with route pattern /signalr-hubs/ui-notification

    Can you share the code of HR.Web.SignalR.UiNotificationHub and its other related codes?

    Thanks.

    Yes I can,

    And this interface

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    1
    maliming created
    Support Team Fullstack Developer

    hi

    Please try to remove the ITransientDependency.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    yasin.hallak.89@gmail.com created

    hi

    Please try to remove the ITransientDependency.

    Solved, Thanx a lot bro

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    You're welcome : )

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 09, 2026, 11:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.