I have a problem with the service in title.I created a user with username and password by using Flexmonster Admin Panel for the base authentication, and everything works.
Restarting the service from both console and Windows service panel I am forced to re-enter the password using Flexmonster Admin Panel otherwise does not work.
What i have to do.
Thanks in advance
This is the error in log while execute call
2021-06-09 10:56:53|ERROR|Flexmonster.DataServer.Middlewares.ErrorHandlingMiddleware|One or more errors occurred. (Object reference not set to an instance of an object.)
2021-06-09 10:56:53|WARN|Flexmonster.DataServer.Middlewares.ErrorHandlingMiddleware| at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task`1.get_Result() at Flexmonster.DataServer.Attributes.SwitchableAuthFilter.IsAuthorized(AuthorizationFilterContext context, String username, String password) at Flexmonster.DataServer.Attributes.SwitchableAuthFilter.OnAuthorization(AuthorizationFilterContext context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Flexmonster.DataServer.Startup.<>c__DisplayClass7_0.<<Configure>b__2>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Flexmonster.DataServer.Middlewares.ErrorHandlingMiddleware.Invoke(HttpContext context)
2021-06-09 10:56:53|ERROR|Flexmonster.DataServer.Middlewares.ErrorHandlingMiddleware|One or more errors occurred. (Object reference not set to an instance of an object.)
2021-06-09 10:56:53|WARN|Flexmonster.DataServer.Middlewares.ErrorHandlingMiddleware| at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task`1.get_Result() at Flexmonster.DataServer.Attributes.SwitchableAuthFilter.IsAuthorized(AuthorizationFilterContext context, String username, String password) at Flexmonster.DataServer.Attributes.SwitchableAuthFilter.OnAuthorization(AuthorizationFilterContext context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Flexmonster.DataServer.Startup.<>c__DisplayClass7_0.<<Configure>b__2>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Flexmonster.DataServer.Middlewares.ErrorHandlingMiddleware.Invoke(HttpContext context)
Hi Massimo,
Thank you for reporting this.
We've noticed similar behavior on our side – our team will take a look at this and we'll return to you with a fix next week.
We'll keep you posted.
Best regards,
Mykhailo
Hi Massimo,
Hope you're doing well!
We've introduced a fix addressing the issue with re-entering the user password after restarting the Data Server.
This is available in the 2.9.1 version of Flexmonster: https://www.flexmonster.com/release-notes/.
You are welcome to update the component. Here is our updating to the latest version guide for assistance: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
Best regards,
Mykhailo
Hi Massimo,
How are you?
Have you had a chance to test out our latest fix?
We would be happy to hear your feedback.
Regards,
Mykhailo
Hi Mykhailo,
sorry for the delay the problem is resolved.
Bye