OpenSSL with gRPC not working, blocked!!!!

42 views
Skip to first unread message

deepakag...@gmail.com

unread,
Jul 10, 2017, 12:08:44 AM7/10/17
to grpc.io
Hi All,
I am trying to start a gRPC server, the server is supposed to be secure using openSSL
So i am create a SslContextBuilder from GrpcSSLBuilder.configure and passing SSLProvider as OpenSSL

But the code is always throwing exception sometimes that the tc-native is failed to load , or initialization failed.
Any pointers how to resolve this problem

The java version is 
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

The open SSL version is 1.1.0f

grpc version is 1.0.1

I have tried the netty-tc-native version 2.0.3, netty-tc-native version 1.1.33.Fork26, netty-tcnative-boringssl-static-2.0.3.Final etc but could not succeed.


Kindly provide some pointers so that i can proceed, currently this is blocking my production release.



 

Nicolas Noble

unread,
Jul 11, 2017, 3:11:47 AM7/11/17
to deepakag...@gmail.com, grpc.io
It would probably help if you would describe the exceptions you are getting, and describe your problem better in general.

Answers to these questions may already help: "Sometimes throwing exceptions" isn't really helpful. How frequent is it ? What are you doing that would cause one or the other ? Or is it just from one run to another ? What is your CPU and operating system ? Have you tried a more recent version of gRPC ? Etc.

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscribe@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/7064ad08-bba4-4e32-bdc1-33c235358300%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages