I must tell you that the problem is happened after I install Volt.Chat module.
in Visual Studio. the problem is the same as in Internet Server.
my HttpApi is very simple. I paste as below.
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp;
namespace Yee.Erp2.Gitlab.Projects
{
[Area(GitlabRemoteServiceConsts.ModuleName)]
[RemoteService(Name = GitlabRemoteServiceConsts.RemoteServiceName)]
[Route("api/gitlab/project")]
public class ProjectController : GitlabController, IProjectAppService
{
private readonly IProjectAppService _gitlabRepositoryService;
public ProjectController(IProjectAppService gitlabRepositoryService)
{
_gitlabRepositoryService = gitlabRepositoryService;
}
[HttpGet]
[Route("id")]
public virtual Task<string> GetGitlabCiYmlAsync(int repositoryId)
{
return this._gitlabRepositoryService.GetGitlabCiYmlAsync(repositoryId);
}
[HttpGet]
[Route("list")]
public virtual Task<List<ProjectDto>> GetProjectsListAsync()
{
return this._gitlabRepositoryService.GetProjectsListAsync();
}
[HttpGet]
[Route("path")]
public virtual Task<ProjectDto> GetProjectAsync(string path)
{
return this._gitlabRepositoryService.GetProjectAsync(path);
}
}
}
[03:21:23 INF] The access_token is active.
[03:21:23 INF] Executing endpoint '/_Host'
[03:21:23 INF] Route matched with {page = "/_Host", action = "", controller = "", area = ""}. Executing page /_Host
[03:21:23 INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
[03:21:23 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)
[03:21:23 INF] Authorization failed for the request at filter 'Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.AutoValidateAntiforgeryTokenAuthorizationFilter'.
[03:21:23 INF] Executing StatusCodeResult, setting HTTP status code 400
[03:21:23 INF] Executed page /_Host in 0.279ms
[03:21:23 INF] Executed endpoint '/_Host'
I log in to Blazor Server application. and I want to set https://localhost:44346/openIddict/Applications. how to split multi URL? why not give some HINT in web UI?
waste 2 hours. hope your reply!
ABP CLI 8.1.0
Password: Two factor authentication is enabled for your account. Please use `abp login --device` command to login.
PS V:\downloads\githubfast-main> abp login --device
ABP CLI 8.1.0
Open your browser, go to: "https://account.abp.io/connect/verify"
and enter the following one-time code:
8595-4011-****
hi
Can you get the same exception on a new 8.0.5 template project?
It is very normal. I have created a new application with ABP Suite 8.0.5 just now.
[09:51:14 WRN] Unhandled exception rendering component: Value cannot be null. (Parameter 'stringLocalizer')
System.ArgumentNullException: Value cannot be null. (Parameter 'stringLocalizer')
at System.ArgumentNullException.Throw(String paramName)
at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
at Microsoft.Extensions.Localization.StringLocalizerExtensions.GetString(IStringLocalizer stringLocalizer, String name)
at Volo.Abp.FeatureManagement.Blazor.Components.FeatureManagementModal.<>c__DisplayClass43_5.<BuildRenderTree>b__21(RenderTreeBuilder __builder9)
at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 sequence, RenderFragment fragment)
at Blazorise.SelectItem`1.BuildRenderTree(RenderTreeBuilder __builder)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
Thanks! It has worked for my.
OH, i have "Reply to" noreply@abp.io.
I have sent again to liming.ma@volosoft.com just now.
I have sent mail to you. The mail includ a webtransfer short link.