목록grpc (2)
이야기박스

gRPC는 java로만 개발을 해봤었는데, 이번에 go로도 사용할 기회가 생겨 테스트 코드 진행 겸 포스트를 남겨봅니다. 이번 포스팅은 아래의 gRPC 공식 문서의 Quick start를 바탕으로 작성되었습니다. Quick start This guide gets you started with gRPC in Go with a simple working example. grpc.io 사전 준비 우선 protocol buffer 파일을 이용하여 코드를 생성하기 위해 아래 라이브러리를 설치합니다. go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28 go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1..
배경netty-grpc 서버의 ssl 통신을 시도하는 도중, 에러가 발생하였다.해당 에러 코드Caused by: javax.net.ssl.SSLHandshakeException: General OpenSslEngine problemCaused by: java.security.cert.CertificateException: No subject alternative DNS name matching localhost found. 로그 레벨을 trace로 변경 후, 찍어보니2018-09-07 15:01:29 DEBUG: io.netty.util.internal.NativeLibraryLoader - Unable to load the library 'netty_tcnative_windows_x86_64', try..