Hi,
We have hosted our Angularjs + ASP.net core application on AWS EC2 linux + S3 bucket. It's login to host admin tenant without any issue. Also we can create new tenant in host admin and new tenant successfully saved in the database. After creation new tenant when we click on action loggin as this tenant, it gives "An internal error ocurred during your request".
This not happen in development.
Logs.txt file also attached.
Highly appreciate your response to this query. We'll send the host and UI application's link via email. Thanks
5 Answer(s)
-
0
Hi,
Can you check Logs.txt file under your deployed host project ? It should contains detailed error message.
Thanks.
-
0
Logs.txt is not attached.
<cite>ideazco: </cite> Hi,
We have hosted our Angularjs + ASP.net core application on AWS EC2 linux + S3 bucket. It's login to host admin tenant without any issue. Also we can create new tenant in host admin and new tenant successfully saved in the database. After creation new tenant when we click on action loggin as this tenant, it gives "An internal error ocurred during your request".
This not happen in development.
Logs.txt file also attached.
Highly appreciate your response to this query. We'll send the host and UI application's link via email. Thanks
-
0
Hi,
We re-published the host application and here is the exception logged on Log.txt file.
ERROR 2017-08-22 06:31:45,931 [6 ] Mvc.ExceptionHandling.AbpExceptionFilter - Current tenant is different than given tenant. AbpSession.TenantId: , given tenantId: 6 System.Exception: Current tenant is different than given tenant. AbpSession.TenantId: , given tenantId: 6 at ideazco.ideazco.Authorization.Impersonation.ImpersonationManager.CheckCurrentTenant(Nullable
1 tenantId) in D:\Projects\ideazco\ideazco-mysql\aspnet-core\src\ideazco.ideazco.Core\Authorization\Impersonation\ImpersonationManager.cs:line 104 at ideazco.ideazco.Authorization.Impersonation.ImpersonationManager.<GetImpersonatedUserAndIdentity>d__8.MoveNext() in D:\Projects\ideazco\ideazco-mysql\aspnet-core\src\ideazco.ideazco.Core\Authorization\Impersonation\ImpersonationManager.cs:line 44 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at ideazco.ideazco.Web.Controllers.TokenAuthController.<ImpersonatedAuthenticate>d__19.MoveNext() in D:\Projects\ideazco\ideazco-mysql\aspnet-core\src\ideazco.ideazco.Web.Core\Controllers\TokenAuthController.cs:line 194 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ObjectMethodExecutor.<CastToObject>d__40
1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__25.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextExceptionFilterAsync>d__24.MoveNext()We are using ASPNetZero project version 4.0.0.0
.txt not allowed to attach here.
Thanks.
-
0
Hi,
Is there any updates about this issue ?
-
0
Hi,
We have replied your email, can you reply to that ?
Thanks.