Base solution for your next web application
Open Closed

E-mail Verification Problem #10693


User avatar
0
QuickApp created

What is your product version? v10.2.0 What is your product type (Angular or MVC)? Angular What is product framework type (.net framework or .net core)? .Net Core

Hi, A customer of ours had a problem with e-mail verification and we could not understand why.

The relevant log record is as follows:

2021-11-18 13:08:47,037 [43 ] Mvc.ExceptionHandling.AbpExceptionFilter - 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. System.FormatException: 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. at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength) at System.Convert.FromBase64String(String s) at Abp.Runtime.Security.SimpleStringCipher.Decrypt(String cipherText, String passPhrase, Byte[] salt, Nullable'1 keySize, Byte[] initVectorBytes) at QCloud.Authorization.Accounts.AccountAppService.ResolveTenantId(ResolveTenantIdInput input) in /home/ec2-user/workspace/QCloud/src/QCloud.Application/Authorization/Accounts/AccountAppService.cs:line 85 at lambda_method2984(Closure , Object , Object[] ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask'1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)


7 Answer(s)
  • User Avatar
    0
    musa.demir created

    Hi @QuickApp

    Can you plase share input.c and the resolved parameters: https://github.com/aspnetzero/aspnet-zero-core/blob/4d3594892329ff787be83bcade7abe1296443134/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Application/Authorization/Accounts/AccountAppService.cs#L84

  • User Avatar
    0
    QuickApp created

    Where can I find the parameters you request? When I check the database, the user appears to be approved.

    However, the tenant informed us that he received an error message and no activation.

  • User Avatar
    0
    musa.demir created

    You can use a debugger on the code block I mentioned.

  • User Avatar
    0
    reesoncare created

    We are having the same problem. Can somebody tell me if there was a solution found for this?

  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @reesoncare,

    What is your ANZ version? In the current version, we don't have a problem with email verification.

  • User Avatar
    0
    reesoncare created

    We are using version 9.3.0

  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @reesoncare,

    Could you reproduce this problem with the new version? We suggest updating your ANZ version.