Open Closed

license error #3999


User avatar
0
shobhit created
  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:" getting following error when starting api or abp suite

[20:56:44 ERR] ABP-LIC-0013 - License exception: ABP-LIC-0023: An error occured while calling the license server! The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.


8 Answer(s)
  • User Avatar
    0
    dev1_premierpoint created

    Getting the same error over and over again in my logs when starting my Blazor app. The app seems to run fine, but this error doesn't look great in the logs.

    Is it anything to be concered about?

  • User Avatar
    0
    alper created
    Support Team Director

    This is not a normal situtation. If it happens 1-2 times, it's OK but if this happens always, your application may stop running. It happens when your computer doesn't reach to abp.io website.

  • User Avatar
    0
    shobhit created

    Hello Alper, Thanks. So what is the solution?

  • User Avatar
    0
    shobhit created

    And as per my understand "The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters." this is encryption/decryption issue not the website issue.

  • User Avatar
    0
    alper created
    Support Team Director

    this is the result of the connection issue. it waits for a proper response from the license server, but somehow your computer doesn't get a valid response. there are 2 reasons: 1- abp.io may be down for upgrade operations 2- your computer cannot reach to abp.io.

  • User Avatar
    0
    shobhit created

    Hello Alper, as i am getting this option continuosly so assuming that option 1 is not feasible. Regarding next option i am able to access the site. Not sure how to make sure that abp.io is accessible and if not how to fix it. i am sure you have some suggestion.

  • User Avatar
    0
    dev1_premierpoint created

    I found another post in this forum that said logging in to Abp with the Abp CLI would remove it. I did that and, sure enough, the message went away in the logs.

    I guess my question at this point is what will happen in Production? There won't be a way to log into the Abp CLI in production.

  • User Avatar
    0
    alper created
    Support Team Director

    @shobhit you can re-login to get a new token, this might solve the issue. or you can create a new project exactly with the same project name, then copy the new AbpLicenseCode from the new project's appsettings.json file into your existing project appsettings.json files.

    @dev1_premierpoint:

    I found another post in this forum that said logging in to Abp with the Abp CLI would remove it. I did that and, sure enough, the message went away in the logs.

    I guess my question at this point is what will happen in Production? There won't be a way to log into the Abp CLI in production.

    you don't need to care about the prod environment, because this license issue only occurs on the development platform or when the debugger is attached. the published application will never go to the license server for performance precautions.

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