Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Error logging into Android app #7830


User avatar
0
majid created

Hi I work with the Xamarin Android app .

I'm having trouble logging in for the first time I log in. After selecting a TENANT and entering a User name and Password, I click the login button. The program waits a long time and gives a error.

For further explanation, this problem arises when we first try to log in and the TENANT and User name and Password are empty. But if we close the program and try again (In this situation, the branch and username are not empty).

Comes into the program without waiting.

Thanks for the guidance


11 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    see

    • https://support.aspnetzero.com/QA/Questions/5655#answer-5d954d49-6321-fdb1-dd14-39e92be160a6
    • https://support.aspnetzero.com/QA/Questions/7579
    • https://support.aspnetzero.com/QA/Questions/7488
    • https://support.aspnetzero.com/QA/Questions/5583#answer-867de663-b456-4da3-8326-cc0772de1ffd
  • User Avatar
    0
    majid created

    My problem is not connecting to the service , Because after importing TenantName, I get TenantId from server. My problem is when I first log in and the tenant is empty. When I open the application and the tenant is empty, I can't even log in with the correct data (In this situation, the Tenant and Username and Password are not empty). I enter the tenant and the username and password and click the login button several times, but each time it gives the following error: I need to close and reopen the app so that I can login successfully. Please follow the same steps in the Xamarin program and announce the result.

    I tested on Samsung j7 and Asus fonepad . Application version 7.2.0.0 Thanks

  • User Avatar
    0
    alper created
    Support Team

    can you show the issue with a video?

  • User Avatar
    0
    majid created

    can you show the issue with a video?

    @alper See the problem as a movie: https://youtu.be/kaBEontsvf0

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @majid

    Have you solved this problem ?

    Thanks,

  • User Avatar
    0
    majid created

    Hi @ismcagdas I made a great effort to solve the problem. But the problem was not solved. At the top of the page I put my problem in the movie format.

  • User Avatar
    0
    alper created
    Support Team

    hi majid,

    When you set Tenant, a header with "Abp.TenantId" is being sent to host. If you are using NGINX, it may modify this header to "Abp-TenantId"

  • User Avatar
    0
    majid created

    Hi @alper We only use IIS and we don't use NGINX.

    Please guide, where do we check that "Abp.TenantId" comes as "Abp-TenantId" (Function name or method to check)? I don't think there is a problem with this. Because in debug mode, TenantId is fetched from the server immediately by entering TenantName

    More explanation: No errors are written to the log file server when calling "IsTenantAvailable" . But when the Xamarin program receives the TenantId , the program falls into the following code

    More explanation that we turn off all vpn and proxy .

    The web and swagger programs run correctly. This problem is only in the xamarin program.

    This problem only occurs once in the beginning of the program and in the explanation given

  • User Avatar
    0
    alper created
    Support Team

    it'll be hard to understand the issue with messaging. If you are Ok to send your project to us, we'll check out what's going on... Please delete all bin & obj folders , then zip your project and upload to dropbox/google drive/firefox send etc... and then send us the link to [email protected] with your support ticket number #7830

  • User Avatar
    0
    alper created
    Support Team

    I've tried your mobile solution and there was no problem logging in with the default tenant. I made a video that shows how I login. See https://files.fm/f/caaw67er

    Can you download a fresh copy of AspNet Zero and try that?

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.