Google-cloud-java: google-cloud-logging relies on Netty version that conflicts with Tomcat

Created on 28 May 2017  路  7Comments  路  Source: googleapis/google-cloud-java

Hello

google-cloud-logging 1.0.2 relies on netty-codec-http2 and netty-handler-proxy at version 4.1.8.Final,
which has a bug that causes APR to not load the classes from the bundled tcnative.

This was solved in 4.1.9+

SO issue: https://stackoverflow.com/questions/41909764/io-netty-handler-ssl-openssl-uses-tomcat-classes-instead-of-self

logging dependencies p1 blocked

Most helpful comment

All 7 comments

The version of Netty used by google-cloud-java has to match the version that grpc uses exactly, and grpc 1.3 is on Netty 4.1.8.Final. We will be able to get a newer version of Netty when grpc 1.4 is released. Marking as blocked.

It should be noted that the dependency is not broken in isolation; it just causes conflicts with Tomcat.

Is there any way to contribute to assist in resolving this issue? (to this repo or gRPC's or otherwise)

This blocks an important feature we're due to ship in our application (monitoring GCP audit), and we'd really want to avoid falling back to GCP's REST API just because of this :/

Exactly the same problem with PubSub API.

@garrettjonesgoogle
grpc released version 1.4 18 days ago.
any chance this will be merged ?

I can confirm this is now working since the merge of #2171 (using the version that followed the merge - 1.2.1).
Closing.

Was this page helpful?
0 / 5 - 0 ratings