{"action":"created","comment":{"url":"https://api.github.com/repos/grpc/grpc-java/pulls/comments/34090406","id":34090406,"diff_hunk":"@@ -123,17 +123,18 @@ subprojects {\n \n                 // Test dependencies.\n                 junit: 'junit:junit:4.11',\n-                mockito: 'org.mockito:mockito-core:1.10.19'\n+                mockito: 'org.mockito:mockito-core:1.10.19',\n+                tcnative: 'io.netty:netty-tcnative:1.1.33.Fork3'","path":"build.gradle","position":6,"original_position":6,"commit_id":"8a395986b95e52f9832e0bb2e9811e1c52e9ca68","original_commit_id":"8a395986b95e52f9832e0bb2e9811e1c52e9ca68","user":{"login":"ejona86","id":2811396,"avatar_url":"https://avatars.githubusercontent.com/u/2811396?v=3","gravatar_id":"","url":"https://api.github.com/users/ejona86","html_url":"https://github.com/ejona86","followers_url":"https://api.github.com/users/ejona86/followers","following_url":"https://api.github.com/users/ejona86/following{/other_user}","gists_url":"https://api.github.com/users/ejona86/gists{/gist_id}","starred_url":"https://api.github.com/users/ejona86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejona86/subscriptions","organizations_url":"https://api.github.com/users/ejona86/orgs","repos_url":"https://api.github.com/users/ejona86/repos","events_url":"https://api.github.com/users/ejona86/events{/privacy}","received_events_url":"https://api.github.com/users/ejona86/received_events","type":"User","site_admin":false},"body":"That's because you have explicitly selected it with sslProvider(SslProvider.OPENSSL). Don't specify OpenSSL if you are trying to use NPN with alpnboot.","created_at":"2015-07-07T21:03:40Z","updated_at":"2015-07-07T21:03:40Z","html_url":"https://github.com/grpc/grpc-java/pull/580#discussion_r34090406","pull_request_url":"https://api.github.com/repos/grpc/grpc-java/pulls/580","_links":{"self":{"href":"https://api.github.com/repos/grpc/grpc-java/pulls/comments/34090406"},"html":{"href":"https://github.com/grpc/grpc-java/pull/580#discussion_r34090406"},"pull_request":{"href":"https://api.github.com/repos/grpc/grpc-java/pulls/580"}}},"pull_request":{"url":"https://api.github.com/repos/grpc/grpc-java/pulls/580","id":38836177,"html_url":"https://github.com/grpc/grpc-java/pull/580","diff_url":"https://github.com/grpc/grpc-java/pull/580.diff","patch_url":"https://github.com/grpc/grpc-java/pull/580.patch","issue_url":"https://api.github.com/repos/grpc/grpc-java/issues/580","number":580,"state":"open","locked":false,"title":"For demonstration purpose, will be closed after discussion.","user":{"login":"madongfly","id":1962333,"avatar_url":"https://avatars.githubusercontent.com/u/1962333?v=3","gravatar_id":"","url":"https://api.github.com/users/madongfly","html_url":"https://github.com/madongfly","followers_url":"https://api.github.com/users/madongfly/followers","following_url":"https://api.github.com/users/madongfly/following{/other_user}","gists_url":"https://api.github.com/users/madongfly/gists{/gist_id}","starred_url":"https://api.github.com/users/madongfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madongfly/subscriptions","organizations_url":"https://api.github.com/users/madongfly/orgs","repos_url":"https://api.github.com/users/madongfly/repos","events_url":"https://api.github.com/users/madongfly/events{/privacy}","received_events_url":"https://api.github.com/users/madongfly/received_events","type":"User","site_admin":false},"body":"@ejona86 \r\n\r\nI'm trying to run the netty test server that only support NPN. with this change, and running with jdk7u75 as http://www.eclipse.org/jetty/documentation/9.2.8.v20150217/npn-chapter.html suggested, but got the following error:\r\n```\r\nsimonma@simonma-linux:~/github/grpc-java$ java -version\r\njava version \"1.7.0_75\"\r\nJava(TM) SE Runtime Environment (build 1.7.0_75-b13)\r\nJava HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)\r\nsimonma@simonma-linux:~/github/grpc-java$ ./run-test-server.sh \r\nGradle is no longer run automatically. Make sure to run './gradlew installDist' or\r\n'./gradlew :grpc-interop-testing:installDist' after any changes.\r\n\r\nUsing fake CA for TLS certificate. Test clients should expect host\r\n*.test.google.fr and our test CA. For the Java test client binary, use:\r\n--server_host_override=foo.test.google.fr --use_test_ca=true\r\n\r\nException in thread \"main\" java.lang.UnsatisfiedLinkError: failed to load the required native library\r\n\tat io.netty.handler.ssl.OpenSsl.ensureAvailability(OpenSsl.java:154)\r\n\tat io.netty.handler.ssl.OpenSslContext.<init>(OpenSslContext.java:137)\r\n\tat io.netty.handler.ssl.OpenSslServerContext.<init>(OpenSslServerContext.java:316)\r\n\tat io.netty.handler.ssl.OpenSslServerContext.<init>(OpenSslServerContext.java:227)\r\n\tat io.netty.handler.ssl.SslContext.newServerContextInternal(SslContext.java:403)\r\n\tat io.netty.handler.ssl.SslContextBuilder.build(SslContextBuilder.java:207)\r\n\tat io.grpc.testing.integration.TestServiceServer.start(TestServiceServer.java:138)\r\n\tat io.grpc.testing.integration.TestServiceServer.main(TestServiceServer.java:76)\r\nCaused by: java.lang.UnsatisfiedLinkError: no netty-tcnative in java.library.path\r\n\tat java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)\r\n\tat java.lang.Runtime.loadLibrary0(Runtime.java:849)\r\n\tat java.lang.System.loadLibrary(System.java:1088)\r\n\tat io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:168)\r\n\tat io.netty.handler.ssl.OpenSsl.<clinit>(OpenSsl.java:58)\r\n\t... 7 more\r\nShutting down\r\njava.lang.NullPointerException\r\n\tat io.grpc.testing.integration.TestServiceServer.stop(TestServiceServer.java:150)\r\n\tat io.grpc.testing.integration.TestServiceServer.access$000(TestServiceServer.java:51)\r\n\tat io.grpc.testing.integration.TestServiceServer$1.run(TestServiceServer.java:70)\r\n```\r\n\r\nDo you know what I'm missing? thanks!","created_at":"2015-06-30T02:02:41Z","updated_at":"2015-07-07T21:03:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eaae468f8ef841ca558aaff207e38bf3594a5ade","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/grpc/grpc-java/pulls/580/commits","review_comments_url":"https://api.github.com/repos/grpc/grpc-java/pulls/580/comments","review_comment_url":"https://api.github.com/repos/grpc/grpc-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/grpc/grpc-java/issues/580/comments","statuses_url":"https://api.github.com/repos/grpc/grpc-java/statuses/8a395986b95e52f9832e0bb2e9811e1c52e9ca68","head":{"label":"madongfly:npn-server","ref":"npn-server","sha":"8a395986b95e52f9832e0bb2e9811e1c52e9ca68","user":{"login":"madongfly","id":1962333,"avatar_url":"https://avatars.githubusercontent.com/u/1962333?v=3","gravatar_id":"","url":"https://api.github.com/users/madongfly","html_url":"https://github.com/madongfly","followers_url":"https://api.github.com/users/madongfly/followers","following_url":"https://api.github.com/users/madongfly/following{/other_user}","gists_url":"https://api.github.com/users/madongfly/gists{/gist_id}","starred_url":"https://api.github.com/users/madongfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madongfly/subscriptions","organizations_url":"https://api.github.com/users/madongfly/orgs","repos_url":"https://api.github.com/users/madongfly/repos","events_url":"https://api.github.com/users/madongfly/events{/privacy}","received_events_url":"https://api.github.com/users/madongfly/received_events","type":"User","site_admin":false},"repo":{"id":32011307,"name":"grpc-java","full_name":"madongfly/grpc-java","owner":{"login":"madongfly","id":1962333,"avatar_url":"https://avatars.githubusercontent.com/u/1962333?v=3","gravatar_id":"","url":"https://api.github.com/users/madongfly","html_url":"https://github.com/madongfly","followers_url":"https://api.github.com/users/madongfly/followers","following_url":"https://api.github.com/users/madongfly/following{/other_user}","gists_url":"https://api.github.com/users/madongfly/gists{/gist_id}","starred_url":"https://api.github.com/users/madongfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madongfly/subscriptions","organizations_url":"https://api.github.com/users/madongfly/orgs","repos_url":"https://api.github.com/users/madongfly/repos","events_url":"https://api.github.com/users/madongfly/events{/privacy}","received_events_url":"https://api.github.com/users/madongfly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/madongfly/grpc-java","description":"The Java gRPC implementation. HTTP/2 based RPC","fork":true,"url":"https://api.github.com/repos/madongfly/grpc-java","forks_url":"https://api.github.com/repos/madongfly/grpc-java/forks","keys_url":"https://api.github.com/repos/madongfly/grpc-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/madongfly/grpc-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/madongfly/grpc-java/teams","hooks_url":"https://api.github.com/repos/madongfly/grpc-java/hooks","issue_events_url":"https://api.github.com/repos/madongfly/grpc-java/issues/events{/number}","events_url":"https://api.github.com/repos/madongfly/grpc-java/events","assignees_url":"https://api.github.com/repos/madongfly/grpc-java/assignees{/user}","branches_url":"https://api.github.com/repos/madongfly/grpc-java/branches{/branch}","tags_url":"https://api.github.com/repos/madongfly/grpc-java/tags","blobs_url":"https://api.github.com/repos/madongfly/grpc-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/madongfly/grpc-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/madongfly/grpc-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/madongfly/grpc-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/madongfly/grpc-java/statuses/{sha}","languages_url":"https://api.github.com/repos/madongfly/grpc-java/languages","stargazers_url":"https://api.github.com/repos/madongfly/grpc-java/stargazers","contributors_url":"https://api.github.com/repos/madongfly/grpc-java/contributors","subscribers_url":"https://api.github.com/repos/madongfly/grpc-java/subscribers","subscription_url":"https://api.github.com/repos/madongfly/grpc-java/subscription","commits_url":"https://api.github.com/repos/madongfly/grpc-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/madongfly/grpc-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/madongfly/grpc-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/madongfly/grpc-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/madongfly/grpc-java/contents/{+path}","compare_url":"https://api.github.com/repos/madongfly/grpc-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/madongfly/grpc-java/merges","archive_url":"https://api.github.com/repos/madongfly/grpc-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/madongfly/grpc-java/downloads","issues_url":"https://api.github.com/repos/madongfly/grpc-java/issues{/number}","pulls_url":"https://api.github.com/repos/madongfly/grpc-java/pulls{/number}","milestones_url":"https://api.github.com/repos/madongfly/grpc-java/milestones{/number}","notifications_url":"https://api.github.com/repos/madongfly/grpc-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/madongfly/grpc-java/labels{/name}","releases_url":"https://api.github.com/repos/madongfly/grpc-java/releases{/id}","created_at":"2015-03-11T10:19:21Z","updated_at":"2015-04-29T23:27:25Z","pushed_at":"2015-07-07T17:14:55Z","git_url":"git://github.com/madongfly/grpc-java.git","ssh_url":"git@github.com:madongfly/grpc-java.git","clone_url":"https://github.com/madongfly/grpc-java.git","svn_url":"https://github.com/madongfly/grpc-java","homepage":"","size":3113,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"grpc:master","ref":"master","sha":"f88779e4220bfd5ef19979e511f07719af8b1891","user":{"login":"grpc","id":7802525,"avatar_url":"https://avatars.githubusercontent.com/u/7802525?v=3","gravatar_id":"","url":"https://api.github.com/users/grpc","html_url":"https://github.com/grpc","followers_url":"https://api.github.com/users/grpc/followers","following_url":"https://api.github.com/users/grpc/following{/other_user}","gists_url":"https://api.github.com/users/grpc/gists{/gist_id}","starred_url":"https://api.github.com/users/grpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grpc/subscriptions","organizations_url":"https://api.github.com/users/grpc/orgs","repos_url":"https://api.github.com/users/grpc/repos","events_url":"https://api.github.com/users/grpc/events{/privacy}","received_events_url":"https://api.github.com/users/grpc/received_events","type":"Organization","site_admin":false},"repo":{"id":27729926,"name":"grpc-java","full_name":"grpc/grpc-java","owner":{"login":"grpc","id":7802525,"avatar_url":"https://avatars.githubusercontent.com/u/7802525?v=3","gravatar_id":"","url":"https://api.github.com/users/grpc","html_url":"https://github.com/grpc","followers_url":"https://api.github.com/users/grpc/followers","following_url":"https://api.github.com/users/grpc/following{/other_user}","gists_url":"https://api.github.com/users/grpc/gists{/gist_id}","starred_url":"https://api.github.com/users/grpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grpc/subscriptions","organizations_url":"https://api.github.com/users/grpc/orgs","repos_url":"https://api.github.com/users/grpc/repos","events_url":"https://api.github.com/users/grpc/events{/privacy}","received_events_url":"https://api.github.com/users/grpc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/grpc/grpc-java","description":"The Java gRPC implementation. HTTP/2 based RPC","fork":false,"url":"https://api.github.com/repos/grpc/grpc-java","forks_url":"https://api.github.com/repos/grpc/grpc-java/forks","keys_url":"https://api.github.com/repos/grpc/grpc-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grpc/grpc-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grpc/grpc-java/teams","hooks_url":"https://api.github.com/repos/grpc/grpc-java/hooks","issue_events_url":"https://api.github.com/repos/grpc/grpc-java/issues/events{/number}","events_url":"https://api.github.com/repos/grpc/grpc-java/events","assignees_url":"https://api.github.com/repos/grpc/grpc-java/assignees{/user}","branches_url":"https://api.github.com/repos/grpc/grpc-java/branches{/branch}","tags_url":"https://api.github.com/repos/grpc/grpc-java/tags","blobs_url":"https://api.github.com/repos/grpc/grpc-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grpc/grpc-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grpc/grpc-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/grpc/grpc-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grpc/grpc-java/statuses/{sha}","languages_url":"https://api.github.com/repos/grpc/grpc-java/languages","stargazers_url":"https://api.github.com/repos/grpc/grpc-java/stargazers","contributors_url":"https://api.github.com/repos/grpc/grpc-java/contributors","subscribers_url":"https://api.github.com/repos/grpc/grpc-java/subscribers","subscription_url":"https://api.github.com/repos/grpc/grpc-java/subscription","commits_url":"https://api.github.com/repos/grpc/grpc-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/grpc/grpc-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/grpc/grpc-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/grpc/grpc-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/grpc/grpc-java/contents/{+path}","compare_url":"https://api.github.com/repos/grpc/grpc-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grpc/grpc-java/merges","archive_url":"https://api.github.com/repos/grpc/grpc-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grpc/grpc-java/downloads","issues_url":"https://api.github.com/repos/grpc/grpc-java/issues{/number}","pulls_url":"https://api.github.com/repos/grpc/grpc-java/pulls{/number}","milestones_url":"https://api.github.com/repos/grpc/grpc-java/milestones{/number}","notifications_url":"https://api.github.com/repos/grpc/grpc-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grpc/grpc-java/labels{/name}","releases_url":"https://api.github.com/repos/grpc/grpc-java/releases{/id}","created_at":"2014-12-08T19:00:00Z","updated_at":"2015-07-07T13:27:39Z","pushed_at":"2015-07-07T17:14:44Z","git_url":"git://github.com/grpc/grpc-java.git","ssh_url":"git@github.com:grpc/grpc-java.git","clone_url":"https://github.com/grpc/grpc-java.git","svn_url":"https://github.com/grpc/grpc-java","homepage":"","size":19014,"stargazers_count":766,"watchers_count":766,"language":"Java","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":172,"mirror_url":null,"open_issues_count":96,"forks":172,"open_issues":96,"watchers":766,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/grpc/grpc-java/pulls/580"},"html":{"href":"https://github.com/grpc/grpc-java/pull/580"},"issue":{"href":"https://api.github.com/repos/grpc/grpc-java/issues/580"},"comments":{"href":"https://api.github.com/repos/grpc/grpc-java/issues/580/comments"},"review_comments":{"href":"https://api.github.com/repos/grpc/grpc-java/pulls/580/comments"},"review_comment":{"href":"https://api.github.com/repos/grpc/grpc-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/grpc/grpc-java/pulls/580/commits"},"statuses":{"href":"https://api.github.com/repos/grpc/grpc-java/statuses/8a395986b95e52f9832e0bb2e9811e1c52e9ca68"}}}}