apisix
apisix copied to clipboard
request help: APISIX gateway GRPC transcode returning static token
Discussed in https://github.com/apache/apisix/discussions/7616
Originally posted by ochuko3d August 5, 2022 Hi guys,
I would really love help resolving an issue around grpc transcode returning static tokens. My proto file has a an import embedded. import proto and was able to upload it to apisix admin, and doing a trial run i keep getting an empty static token.
APISIX log report 200 to the server but its not responding properly
can you provide the .pb file? @ochuko3d
Find below
� google/protobuf/any.protogoogle.protobuf"6 Any type_url ( RtypeUrl value (RvalueBv com.google.protobufBAnyProtoPZ,google.golang.org/protobuf/types/known/anypb�GPB�Google.Protobuf.WellKnownTypesbproto3 � google/protobuf/empty.protogoogle.protobuf" EmptyB} com.google.protobufB EmptyProtoPZ.google.golang.org/protobuf/types/known/emptypb��GPB�Google.Protobuf.WellKnownTypesbproto3 � proto/account.protoaccountgoogle/protobuf/any.protogoogle/protobuf/empty.proto"L GenericOperationResponse status (Rstatus message ( Rmessage" CreateUserRequest firstName ( R firstName lastName ( RlastName email ( Remail password ( Rpassword"� UserProfile nationality ( Rnationality. countryOfResidence ( RcountryOfResidence city ( Rcity address ( Raddress zipCode (RzipCode phoneNumber ( RphoneNumber linkedinUrl ( RlinkedinUrl
profession ( R profession company ( Rcompany industry ( Rindustry" annualIncome ( RannualIncomeT modeOfInvestment (2(.account.USER_PROFILE_MODE_OF_INVESTMENTRmodeOfInvestment@ hasPreviousAfricaInvestment (RhasPreviousAfricaInvestment6 hasSyndicateExperience (RhasSyndicateExperienceD attendedPastFutureAfricaEvent (RattendedPastFutureAfricaEvent9 futureAfricaEventName ( H�RfutureAfricaEventName�B _futureAfricaEventName"} CreateUserResponse status (Rstatus, errors (2.google.protobuf.AnyRerrors! user (2 .account.UserRuser"� User id ( Rid firstName ( R firstName lastName ( RlastName email ( Remail createdAt ( R createdAt"@ LoginRequest email ( Remail password ( Rpassword"H
LoginResponse token ( Rtoken! user (2 .account.UserRuser"/ CreateTransactionPinRequest pin (Rpin"4 InitiatePasswordResetRequest email ( Remail"` ResetPasswordRequest email ( Remail otp (Rotp newPassword ( RnewPassword"Q ResetPinRequest otp (Rotp, newTransactionPin (RnewTransactionPin*< USER_PROFILE_MODE_OF_INVESTMENT
INDIVIDUAL� GROUP2� AccountServiceA Signup.account.CreateUserRequest.account.CreateUserResponse6 Login.account.LoginRequest.account.LoginResponse0 GetUser.google.protobuf.Empty .account.User? CreateUserProfile.account.UserProfile.account.UserProfile? UpdateUserProfile.account.UserProfile.account.UserProfile:
GetProfile.google.protobuf.Empty.account.UserProfileT CreatePin$.account.CreateTransactionPinRequest!.account.GenericOperationResponseM InitiatePinReset.google.protobuf.Empty!.account.GenericOperationResponseG ResetPin.account.ResetPinRequest!.account.GenericOperationResponsea InitiatePasswordReset%.account.InitiatePasswordResetRequest!.account.GenericOperationResponseQ
ResetPassword.account.ResetPasswordRequest!.account.GenericOperationResponsebproto3
ping @ochuko3d is this problem solved? and the pb file you posted is unreadable, you can upload it as a file and give the configuration and steps and I will try to reproduce it.
This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.