Skip to content

The class MvcRemoteTenantStore always fails to return correct tenant information #20276

@aitting

Description

@aitting

Is there an existing issue for this?

  • I have searched the existing issues

Description

abp version 8.2.0

var tenantConfiguration = await Cache.GetAsync(cacheKey);
if (tenantConfiguration?.Value == null)
{
    await TenantAppService.FindTenantByIdAsync(id);  // There is no assignment to the result here, the result always returns null
    tenantConfiguration = await Cache.GetAsync(cacheKey);
}
/

await TenantAppService.FindTenantByIdAsync(id); // There is no assignment to the result here, the result always returns null

I have tested countless times, cleared the cache countless times, and the cache address has changed. I find that every time I request a remote address, it always prompts that I cannot find the tenant. I requested a remote address separately, and everything works fine together!

Reproduction Steps

No response

Expected behavior

No response

Actual behavior

No response

Regression?

No response

Known Workarounds

No response

Version

8.2.0

User Interface

Angular

Database Provider

EF Core (Default)

Tiered or separate authentication server

Separate Auth Server

Operation System

Windows (Default)

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions