Starts in:
1 DAY
2 HRS
20 MIN
24 SEC
Starts in:
1 D
2 H
20 M
24 S
Open Closed

Tenant not Found. Urgent Production Issue #3282


User avatar
0
abpdeveloper@dbizsolution.com created

Hi

Already we have raised multiple tickets for this issue . Ticket ids 2271 & 2507. The Solution provided in the tickets are not working.

Already tried ugrading the ABP Solution version from 4.4.2 to 5 but it throws run time exception and the service is not getting started.

We have used the Application Template for creating a solution.

As the product is live , need this to be resolved on priority. I would request a screen sharing session to solve this issue.


19 Answer(s)
  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Hi

    I will test the situation in version 4.4.2 as soon as possible and reply to you.

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Hello, I tried to reproduce the problem but unfortunately, I couldn't reproduce it. There is no need to repeat what has been said in other tickets, so if you can provide a minimally reproducible example, we will be able to better detect and solve the problem.

  • User Avatar
    0
    abpdeveloper@dbizsolution.com created

    Hello, I tried to reproduce the problem but unfortunately, I couldn't reproduce it. There is no need to repeat what has been said in other tickets, so if you can provide a minimally reproducible example, we will be able to better detect and solve the problem.

    Hi

    Will share the source both service and angular with you today. Pls reproduce the same and let me know.

    Thanks

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Hello again, I am looking forward to the minimal reproducible example of the problem.

  • User Avatar
    0
    abpdeveloper@dbizsolution.com created

    Hi

    [I deleted the url for security reasons. - berkansasmaz]

    The link has both the angular and aspnet core files. Please do let me know if you need more details.

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Hi again, sorry but I can't reproduce the problem. After running the project, I created a tenant and logged in to the application with that tenant's admin user, then I waited for 10 minutes, but I could not see a problem. Is there something I missed? Please guide me so that I can reproduce the error.

  • User Avatar
    0
    abpdeveloper@dbizsolution.com created

    There are other applications generated using abp suite which refers this application for Identity Server. Will there be a problem using that. If I can send that service as well will you be able to replicate.

    If needed I can do a screen sharing as well to show you the same.

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Can you provide an online website?

  • User Avatar
    0
    abpdeveloper@dbizsolution.com created

    It will be difficult to provide a online website. can we do a screen sharing,

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Got it, I'm going to add a module to the sample application you provided and try to reproduce the problem.

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    The tenant exists in the database but still we are getting this error. Step 1: The user is using the applicaiton for say 10 minutes. Step2 : After say 10 mins when trying to access the application we get this error, Tenant not found. Step 3: After clearing cache ,it works.

    Hello, can we just turn off Redis temporarily? I know the application will be very slow, but we will see if the problem is entirely with Redis.

  • User Avatar
    0
    abpdeveloper@dbizsolution.com created

    Will try by turning off the Redis and see if it works. Is it ok if I can change only in the configuration.

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Yes, it may be enough to change the configuration so that it cannot access the Redis server.

  • User Avatar
    0
    abpdeveloper@dbizsolution.com created

    Is there anyother alternative, as this cannot be the solution to disable Redis server as this will slow done the performance.

  • User Avatar
    0
    alper created
    Support Team Director

    you can temporarily disable it for a while. this will filter down the probable problems

  • User Avatar
    0
    abpdeveloper@dbizsolution.com created

    disabling redis config didnt work. Still the issue exists even after disabling it

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    The tenant exists in the database but still we are getting this error. Step 1: The user is using the applicaiton for say 10 minutes. Step2 : After say 10 mins when trying to access the application we get this error, Tenant not found. Step 3: After clearing cache, it works. Need to know why this happens when tenant exists.

    Then there is only one option left: examining incoming calls by putting a breakpoint on TenantStore's GetCacheItemAsync method. I think we will understand the problem by debugging.

    To make this easier, you can override TenantStore's GetCacheItemAsync and call the base method.

  • User Avatar
    0
    abpdeveloper@dbizsolution.com created

    Can we do a screen sharing to understand more details on this

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi abpdeveloper

    Even if we reproduce the problem in your environment, we must do it in ours. It's hard to debug the code remotely, please try to share a way to let us understand the problem.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06