Google-Cloud: Jetty ALPN / NPN não foi configurado corretamente

Obtendo exceção ao usar o Google Pubsub para listar tópicos, meu aplicativo da Web está sendo executado no tomcat.

public static List<String> listTopics(GcpCredentials gcCredentials, String project) throws GCPException, IOException
{
    List<String> topics = new ArrayList<>();
    TopicAdminClient client = getTopicClient(gcCredentials);
    ProjectName projectName = ProjectName.create(project);
    ListTopicsPagedResponse response = client.listTopics(projectName);
    for (Topic topic :response.iterateAll())
    {
        topics.add(topic.getNameAsTopicName().getTopic());
    }
    return topics;
}`

Exceção:

java.lang.IllegalArgumentException: Jetty ALPN / NPN não foi configurado corretamente.
em io.grpc.netty.GrpcSslContexts.selectApplicationProtocolConfig (GrpcSslContexts.java:174) em io.grpc.netty.GrpcSslContexts.configure (GrpcSslContexts.java:151s): io.grpnet. ) em io.grpc.netty.GrpcSslContexts.forClient (GrpcSslContexts.java:109) em io.grpc.netty.NettyChannelBuilder.createProtocolNegotiatorByType (NettyChannelBuilder.java:335er): io.grpc.Notícias 308) em io.grpc.netty.NettyChannelBuilder $ NettyTransportFactory $ DynamicNettyTransportParams.getProtocolNegotiator (NettyChannelBuilder.java:499) em io.grpc.netty.NettyChannelBuilder $ NettyTransportFactory.newClientTransport: NettyChannelBuilder.com: .newClientTransport (CallCredentialsApplyingTransportFactory.java:61) em io.grpc.internal.InternalSubchannel.startNewTransport (InternalSubchannel.java:209) em io.grpc.internal.InternalSubchannel.obtainActive Transporte (InternalSubchannel.java:186) em io.grpc.internal.ManagedChannelImpl $ SubchannelImplImpl.obtainActiveTransport (ManagedChannelImpl.java:806) em io.grpc.internal.GrpcUtil.getTransportFromPickResult.Grpc.internal. .DelayedClientTransport.reprocess (DelayedClientTransport.java:296) em io.grpc.internal.ManagedChannelImpl $ LbHelperImpl $ 5.run (ManagedChannelImpl.java:724) em io.grpc.internal.ChannelExecutor.drain: ChannelExecutor.java: .grpc.internal. java: 174) em java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142) em java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:617) em java.lang.Thread.run (Thread .java: 745)

questionAnswers(2)

yourAnswerToTheQuestion