grpc-ecosystem / grpc-spring

Spring Boot starter module for gRPC framework.
https://grpc-ecosystem.github.io/grpc-spring/
Apache License 2.0
3.41k stars 808 forks source link

Only in the Kubernetes environment, adding the server.servlet.context-path parameter to the spring boot web results in GRPC server startup failure #1084

Open thousmile opened 3 months ago

thousmile commented 3 months ago

Only in the Kubernetes environment, when set in the application.yaml of spring boot

server:
  servlet:
    context-path: /demo1

grpc server start failed

https://github.com/grpc-ecosystem/grpc-spring/assets/28520524/eab20ed6-7652-4032-8327-1fd352a5c729

source code

ST-DDT commented 3 months ago

I don't see the actual failure though? Maybe try to debug into the pod to determine what the pod is doing at that point in time.