Activities of "jeffbuot"

Hi,

This has been here week ago, we needed the grpc to be on the webgateway since we don't expose the microservices. Is there a backlog or a roadmap on abp dev team where we can possibly implement this later with abp?

Hi, Okay so I changed the gateway from Ocelot to Yarp but I have problems with authentication,

Volo.Abp.Authorization.AbpAuthorizationException: Exception of type 'Volo.Abp.Authorization.AbpAuthorizationException' was thrown.
if (Self._grpcChannel == null)
            {
                var grpcOptions = Self._serviceProvider.GetRequiredService<IOptions<GrpcServiceOptions>>().Value;
                var userAccount = Self._serviceProvider.GetRequiredService<UserAccountSessionManager>();
                var token = userAccount.AccessTokenInfo.AccessToken;
                var credentials = CallCredentials.FromInterceptor((context, metadata) =>
                {
                    if (!string.IsNullOrEmpty(token))
                    {
                        metadata.Add("Authorization", $"Bearer {token}");
                    }
                    return Task.CompletedTask;
                });

                Self._grpcChannel = GrpcChannel.ForAddress(grpcOptions.GrpcServiceUri, new GrpcChannelOptions
                {
                    Credentials = ChannelCredentials.Create(new SslCredentials(), credentials)
                });
            }
            
            return Self._grpcChannel;

Hi, I think it was not related to my case, basket service is just another service that acts as a client that requests to catalogservice. My question is related to gateway, I wanted the client to only call request into a single url or the url of webgateway proxy that routes the request to the grpc server hosts (these hosts are containerized and is inside a private network). The microservice service template project is using ocelot.

  • ABP Framework version: v7.0.3
  • DB provider: EF Core
  • Project Template: Microservice

Need help on how to implement grpc for a microservice solution. I followed the article here: https://community.abp.io/posts/using-grpc-with-the-abp-framework-2dgaxzw3 but this was for a single-layer application project.

We have multiple host services running and each have a different port for gRPC, how can I configure to forward them in the WebGateway project?

Yeah I asked him it was working on his machine but not mine 🤔, we checked the same commit.

Hi, I tried using --without-contracts, it's weird I'm getting this exception:

Hi, I sent it through your email.

Hi, This one isn't upgrading. I created a fresh project template from abp suite. Also i tried abp clean then dotnet build but no luck.

Hi,

I did not change the generated client proxy's namespace.

Hi, I tried again just now, it's still showing the same error.

Showing 1 to 10 of 61 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11