spacewander commented on issue #9007:
URL: https://github.com/apache/apisix/issues/9007#issuecomment-1457383072

   Look like it crashed in 
https://github.com/grpc/grpc-go/blob/682ed1a71602fa94a9b9c56d2b2b2a716bccd036/internal/status/status.go#L155,
 which is called in 
https://github.com/grpc/grpc-go/blob/682ed1a71602fa94a9b9c56d2b2b2a716bccd036/status/status.go#L94
   
   ```
   func FromError(err error) (s *Status, ok bool) {
        if err == nil {
                return nil, true
        }
        if se, ok := err.(interface {
                GRPCStatus() *Status
        }); ok {
                return se.GRPCStatus(), true
        }
        return New(codes.Unknown, err.Error()), false
   }
   ```
   It's quite strange as this function has checked if `err` is nil before 
calling it.
   
   Can it be reproduced by running another client writing in Go?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to