Skip to content

The GRPC request message parameter with post request is null #3

Open
@l1honghui

Description

@l1honghui

fail: Ocelot.GrpcHttpGateway.OcelotGrpcHttpMiddleware[0]
requestId: 0HLSG279IK3G9:00000002, previousRequestId: no previous request id, message: error in request grpc service.--grpc://127.0.0.1:50051/PlayerSearch/SearchTeam, exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: message
at Google.Protobuf.ProtoPreconditions.CheckNotNull[T](T value, String name)
at Google.Protobuf.MessageExtensions.ToByteArray(IMessage message)
at Built.Grpcc.ArgsParser`1.<>c.<.cctor>b__2_1(T arg) in E:\workspace\lihonghui\csharp\Ocelot.GrpcHttpGateway\src\Ocelot.GrpcHttpGateway\Built.Grpcc\GrpcMethod.cs:line 40

message is null

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions