Activities of "brauerj@gc.adventist.org"

Turns out I also needed to add

app.UseForwardedHeaders();

above most everything in PreConfigureServices() and that solved another error. Claude Code helped me find that. Didn't seem to be documented anywhere.

Ok I got it running on 9.1.3 the same way. Creating and running a migration

I confirmed that 10.0.2 worked (on Blazor Server) after adding and running a migration.

I ran the following

abp new MyReport.MainApp -u blazor-server -csf --version 9.1.3 --theme basic -t app-pro

Then opened the solution in ABP Studio and added the Chat module Then ran and opened the site, and gave permission to admin, then enabled all of the features. But still nothing shows.

I had a previous ticket submitted but none of the AI answers were sufficient and I wasn't able to provide code in time. Just running the built in from nothing seems to suggest that Blazor Server isn't supported?

Here is the demo project code for reference https://github.com/brauerj-gc/ABPBlazorServerChatModuleTest

Thanks,

Jonathan

I'm using [DependsOn(typeof(ChatBlazorServerModule))]. In my mind that should take care of everything mentioned above!

It looks like I needed to give chat permissions to the admin role. That got the icon showing but now I'm getting this error.

Antiforgery token validation failed. The required antiforgery header value "RequestVerificationToken" is not present. Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The required antiforgery header value "RequestVerificationToken" is not present. at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.ValidateRequestAsync(HttpContext httpContext) at Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.ValidateAntiforgeryTokenAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)

System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.NegotiateAsync(Uri url, HttpClient httpClient, ILogger logger, CancellationToken cancellationToken) at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.GetNegotiationResponseAsync(Uri uri, CancellationToken cancellationToken) at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.SelectAndStartTransport(TransferFormat transferFormat, CancellationToken cancellationToken) at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.StartAsyncCore(TransferFormat transferFormat, CancellationToken cancellationToken) at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.StartAsync(TransferFormat transferFormat, CancellationToken cancellationToken) at Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionFactory.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken) at Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionFactory.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken) at Microsoft.AspNetCore.SignalR.Client.HubConnection.StartAsyncCore(CancellationToken cancellationToken) at Microsoft.AspNetCore.SignalR.Client.HubConnection.StartAsyncInner(CancellationToken cancellationToken) at Microsoft.AspNetCore.SignalR.Client.HubConnection.StartAsync(CancellationToken cancellationToken) at Volo.Chat.Blazor.Components.MessagesToolbarItem.OnInitializedAsync() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)[12:38:11 INF] Antiforgery token validation failed. The required antiforgery header value "RequestVerificationToken" is not present. Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The required antiforgery header value "RequestVerificationToken" is not present. at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.ValidateRequestAsync(HttpContext httpContext) at Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.ValidateAntiforgeryTokenAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)

The AI bot said something about adding this to the .HttpApi.Host project

   //app.Use(async (ctx, next) =>
   //{
   //    var accessToken = ctx.Request.Query["access_token"];
   //    if (!string.IsNullOrEmpty(accessToken) &&
   //        ctx.Request.Path.StartsWithSegments("/signalr-hubs/chat"))
   //    {
   //        ctx.Request.Headers["Authorization"] = "Bearer " + accessToken;
   //    }
   //    await next();
   //});

But I'm using Blazor Server and thus not hosing the HttpApi.Host project. I don't support Bearer tokens at this point! Everything uses cookie auth I believe.

I've just installed the Chat Module and run the database migration and enabled the setting on the administration page but I'm not seeing anything in toolbar or menu. What am I missing?

Ok I found the issue. It had to do with nuget.config. I had an empty nuget.config in that folder and seemingly either copying a correct one or deleting it solved the issue.

Ok I'm getting this error again! Trying to open abp suite on a sub module that WAS created as a sub module to an app-pro project I get this error: "Suite works only with app-pro and module-pro templates!" I've manually added <PackageReference Include="Volo.Abp.Commercial.SuiteTemplates" Version="9.1.3" /> to the SubModule.Domain project which seems to have fixed it previously, but this time is not! This seems to be a REPEATING issue!

I've tried cleaning and rebuilding. I've tried adding [DependsOn(typeof(VoloAbpCommercialSuiteTemplatesModule))], but still same error. And nothing shows in the abp suite logs either. It'd be nice if at least the logs told us what you were looking at to determine "it wasn't app-pro or module-pro."

Jonathan

Ok I was missing a module dependency. All good now

Showing 1 to 10 of 62 entries
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.2.0-preview. Updated on January 22, 2026, 11:30
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.