खुला हुआ बंद किया हुआ

Audit Log #3061


User avatar
0
narinder@urvin.finance बनाया था
  • ABP Framework version: 5.2.1
  • UI type: Blazor
  • DB provider: EF Core

I'm using microservices with Blazor Server. I'm getting issue with Audit Logs. The IP address is not local IP instead of inbound(Client IP Address)


3 उत्तर (ओं)
  • User Avatar
    0
    maliming बनाया था
    सहायता दल Fullstack Developer

    hi

    You can try to override the GetClientIpAddress method.

    https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/WebClientInfo/HttpContextWebClientInfoProvider.cs#L30

  • User Avatar
    0
    narinder@urvin.finance बनाया था

    Hi. I Did that is there any thing else needs to be done. also i am able to get client ip address insdide blazor app. but not in gateway. its always.::1.

  • User Avatar
    0
    maliming बनाया था
    सहायता दल Fullstack Developer

    hi

    https://github.com/dotnet/aspnetcore/issues/37728#issuecomment-948511840

Made with ❤️ on ABP v8.2.0-preview Updated on मार्च 25, 2024, 15:11