I found the answer, it caused by the password encrypt of mail smtp in settings, it is a bug fix in 4.2.1, here : <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/194">https://github.com/aspnetzero/aspnet-ze ... issues/194</a>
On the server the deployed version, GetAllSettings method of the HostSettingsAppService throw below exception, but on the development environment it works fine, could give me some guide how to identify the problem?
System.FormatException: Invalid length for a Base-64 char array or string.
at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
at System.Convert.FromBase64String(String s)
at Abp.Runtime.Security.SimpleStringCipher.Decrypt(String cipherText, String passPhrase)
at Viewtance.MES.Configuration.Host.HostSettingsAppService.d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Viewtance.MES.Configuration.Host.HostSettingsAppService.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Abp.Threading.InternalAsyncHelper.d__5`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Abp.Threading.InternalAsyncHelper.d__3`1.MoveNext()
I will keep on eye on this and do more testing.
Yes, already opened the issue [https://github.com/aspnetzero/aspnet-zero-core/issues/264])
In MPA, on the same server when request a page it will spend more than 200ms to wait the server get response, if request the API (which also requested in the page via AJAX) directly it only needs spend more or less 60ms.
request a page needs to wait more than 200ms will let people feel the page is slowly.
Is there a way to optimize the page loading performance?
Yes, already got it, thanks for your informing
It seems the audit logs not delete the records with a interval period automatically, this is a bad design.
I am running a test application with multi background workers to insert record per second to database, after several days the audit log table with supper larger data, it caused the audit log page failed to query.
It needs to be deleted with an interval period using background worker.
It seems it doesn't work, it still execute the sql with default timeout 30 seconds.
Add this in application module or core module?
ABP 2.1.1 released, when I update the package via nuget to 2.1.1, the project cannot run as there are lots of break changes, is there a plan to release v4.1 with abp 2.1.1, because we want use ABP 2.1.1 in our project.