Closed aaron-ai closed 1 year ago
I only see Connection closed while performing TLS negotiation
on this side so it is most likely closed by the server and we need to see why it closed it. When you say "... code does work for other environments..." you are saying the same server works with these environments but breaks with your current environment, is that right?
Can you include debug logs from the server side?
See https://github.com/grpc/grpc-java/issues/8751#issuecomment-1015502588 about using LD_PRELOAD=/lib/libgcompat.so.0 to get gcompat to work for tcnative.
@aaron-ai were you able to get this to work with the LD_PRELOAD?
What version of gRPC-Java are you using?
1.50.0
What is your environment?
alpine Linux, docker image: eclipse-temurin:8u352-b08-jre-alpine.
By the way, TLS works on eclipse-temurin:11.0.17_8-jre-alpine,
grpc-netty-shaded
was introduced according to the docs here, and the code does work for other environments except for alpine Linux with alpine Java8.What did you expect to see?
I expect the TLS could work on gRPC client with alpine java8.
What did you see instead?
Steps to reproduce the bug