api7 / grpc_server_example

Apache License 2.0
15 stars 14 forks source link

Bug: failure to start #16

Open jwrookie opened 2 years ago

jwrookie commented 2 years ago

Reproduction:

  1. cd path_to_grpc_server_example
  2. go run main.go

Errors message: grpc_server_example git:(master) go run main.go 2022/06/03 22:54:50 credentials.NewServerTLSFromFile err: open ../t/cert/apisix.crt: no such file or directory exit status 1

Cause of problem: https://github.com/api7/grpc_server_example/blob/5e74be697f24151648be1712fce0ab2fdd0ec964/main.go#L55-L56