We have a dockerized served over aws ecs environment.
I think it must be related to the cache, different instances may use different Redis in the docker container.
Hi,
Is there any error log?
Hi,
You can try to generate a new certificate to replace the old one.
dotnet dev-certs https -v -ep authserver.pfx -p GUID....
private X509Certificate2 GetSigningCertificate(IWebHostEnvironment hostingEnv, IConfiguration configuration)
{
var fileName = "authserver.pfx";
var passPhrase = "GUID....";
var file = Path.Combine(hostingEnv.ContentRootPath, fileName);
if (!File.Exists(file))
{
throw new FileNotFoundException($"Signing Certificate couldn't found: {file}");
}
return new X509Certificate2(file, passPhrase);
}
Hi,
ABP uses distributed cache to store the download token.
Is the Redis server available?
Hi,
You need to add the static JS proxy file.
<abp-script src="/client-proxies/fileManagement-proxy.js" />
Or add JS proxy file to global bundle:
Configure<AbpBundlingOptions>(options =>
{
options.ScriptsBundles.Configure(
LeptonXThemeBundles.Scripts.Global,
bundle =>
{
bundle.AddFiles("/client-proxies/fileManagement-proxy.js");
}
);
});
Hi,
Have you added &apply a new migration file?
dotnet ef migrations add upgrade_to_abp8
Run the Dbmigratior
Hi,
The position looks like no problem, have you added this attrubute?
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(AccountAppService))]
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(EmailConfirmationModel))]
Hi,
Sorry, should install the version 2.4.3.
You can try add this to the Web.csproj file
<ItemGroup>
<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="2.4.3" />
</ItemGroup>
@vinhlam0112
Could you share the error logs? (HttpApi.Host & AuthServer)