Thank you!
Hi Ismcagdas, Thank you. This will help to configure SignalR on the client side. Is there a way to access SignalR configuration from the server side while initializing a Hub?
Hi @ismcagdas, We use Angular
Hello, We've been seeing a lot of SignalR related errors in production environments: one of the most common issues is this request fails with response code 0. POST /signalr-chat/negotiate?enc_auth_token=wNYmO41%2F48SHNstaLVXxHCCre29BZQl1NhC6NM3R3rzpXtPQxVzH6jEzA%2FQhXFN5tu6Fk7pO53uppm1mVXMZgxbyRVz26dnepi%2FFyB6axBY%2B6gq1GL%2BuRQgoiFUCjRN2p8w6LevViwKlHyWZZJZO1DGVSjAi1m2U%2Bog9pkHw9%2FSxl3%2FCN5UQl0zWOAF1kZIOvFlT8rcg3PxdGPwFTMql9snkIL29UFtw7ie5BwWrOOXGeIpwMw7Q582asrU1E8G%2FwLcc7d38xTPFUCgSUVYrlUSdjC1wVJIMfTBdfVKxJVuLz%2FVKNqwGWSkISts00UySZwgoQT4HK4O0E0fnkOAdrcOwsbNP%2FvQuHXKpd7dNX%2FFA7V4MMCVGPzwYmQKsewZopNUtqtRJiyIKrO%2BaooXJ8%2FR6jz77s%2FqATwXK%2BQqcGWBA3LV5uhs%2FLNmPOjMZzARUPNc3ZbsTUPBsMyl2q7FV8cGlE4nw5KPJvtwOYXsMeyjqhdgbSXMntyTlywvrJRcEsS8t3qdbwuQkPVleeydZlKTs6J7BNYZzy8p3NeyeSEEgTQAZjQ%2B5zVnnmhNF3BdGpLsiCT3%2FZ3JdyrTSfFrhnptDPD6Ih3BfC2hTMmMA4OfhAfaTDUDpc88y3cxCn3kaXO%2BgIxuTdjU%2BZayNLFu8cNI5%2BYaQoLpDyavc5lUq7HwRX8p226CvDERJjDMNvyybye6UoZYnz%2BahBr3Uohi3zly000T5r%2B8oAvLxk3Marl5NaBwY0E0Q0N1HjtDn4o18QINsYs5ieyzK6%2FbzzbUu4G3L5V2FgTWNmnOWSPmaYP7BtdoWoItFXlptwpo4MHgmOvIe2f2hX0RKfXATsSfW2SMky1qoEDRpur6fe8ZXWnBkUIIg9LjfdFaVQwq7%2FUz
In the following article Microsoft mentions a way to configure SignalR to use only WebSocket and turn off Negotiation. What is the way to apply this in ASPNet Boilerplate? https://learn.microsoft.com/en-us/aspnet/core/signalr/scale?view=aspnetcore-7.0 Please advise Thanks
Hi @musa.demir, sorry for the confusion I think I wrongly typed the version, it's 5.3.0 and the picture you attached from your response is correct.
Thanks
Hi @musa.demir,
I noticed that the link you provided for the help center is for abp.io, we are using asp.net zero and we do not have an account in abp.io.
Hi @musa.demir, thanks for the link will ask them there.
What is your product version?
What is your product type (Angular or MVC)?
What is product framework type (.net framework or .net core)?
What is ABP Framework version?
We have a requirement from client to make user first name non-mandatory I know that in asp.net zero this is a required field. I am trying to find a way but couldn't find a good solution from forums to do this with minimal changes. Is there a way, or a work around for this requirement?
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
We have a deployment on Azure with scaled out enabled with 3 instances for Web API tier.
ARR (Affinity Cookie) configuration is enabled to allow all requiests to be directed to the same instance for a given user (sticky session) .
All the functionality works fine except for Impersonation. When admin user selects one of the other users to impersonate he gets an error:
"Abp.UI.UserFriendlyException: Impersonation token is invalid or expired! at PatientPortal.Authorization.Impersonation.ImpersonationManager.GetImpersonatedUserAndIdentity(String impersonationToken) in D:\a\1\s\src\PatientPortal.Core\Authorization\Impersonation\ImpersonationManager.cs:line 38 at PatientPortal.Web.Controllers.TokenAuthController.ImpersonatedAuthenticate(String impersonationToken) in D:\a\1\s\src\PatientPortal.Web.Core\Controllers\TokenAuthController.cs:line 346 at lambdamethod(Closure , Object ) at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult() at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at System.Threading.Tasks.ValueTask1.getResult() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync() UserFriendlyException.Code:0 UserFriendlyException.Details:"
We use AbpMemoryCacheManager, and if every user requests hits the same appservice instance there should not be an issue.
Please share your experience with such issues
Thanks, Sergei
Hi @ismcagdas
I will send the pentest results via email.
Thanks