Those QUEUE_TIMEOUT events don't really mean anything. They just show the library polling for new events and not finding any at that time. If there's nothing else in the log, that probably implies that the client can't establish a connection to the server at all. If you enable tracing on the client, you may get a better idea of what is going wrong.
On Sat, May 1, 2021 at 1:51 AM Chris Tyler <[email protected]> wrote: > I have created a gRPC client/server for processing Unary requests. I have > had it working fine on my laptop. Now, I am working to deploy it to a > Kubernetes cluster in IBM Cloud. The Deployment succeeds and the Service is > running. I've tried this with both LoadBalancer and NodePort service types. > > I have enabled GRPC_TRACE=all and GRPC_VERBOSITY=DEBUG. When the pod > starts, I see the logs below. I get about 20 repetitions of > RETURN_EVENT...QUEUE_TIMEOUT. When I make a request using grpcurl, I get > the message *transport is closing. * > > Currently, I'm using an insecure credentials connection. > > I have poured over a ton of posts around K8s and gRPC. It seemed pretty > straight forward, but I'm struggling to get this to work. Any help would be > greatly appreciated. > > Log file > D0501 07:53:17.904046507 20 dns_resolver.cc:294] Using native > dns resolver > I0501 07:53:17.904189226 20 timer_manager.cc:88] Spawn timer > thread > I0501 07:53:17.904274322 20 init.cc:164] > grpc_init(void) > I0501 07:53:17.904358489 35 timer_manager.cc:250] timers not > checked: expect another thread to > I0501 07:53:17.904396913 35 timer_manager.cc:197] sleep until > kicked > I0501 07:53:17.904765647 20 completion_queue.cc:501] > grpc_completion_queue_create_internal(completion_type=0, polling_type=0) > I0501 07:53:18.310402717 20 server.cc:1021] > grpc_server_create(0x55a6d0a0ad40, 0) > I0501 07:53:18.310629797 20 server.cc:1002] > grpc_server_register_completion_queue(server=0x55a6d093a980, > cq=0x55a6d0bce8a0, reserved=0) > I0501 07:53:18.330949779 20 server_chttp2.cc:33] > grpc_server_add_insecure_http2_port(server=0x55a6d093a980, addr= > 0.0.0.0:50052) > I0501 07:53:18.331257146 20 tcp_server_custom.cc:382] SERVER > 0x55a6d0b09cc0 add_port [::]:50052 error="No Error" > I0501 07:53:18.331726761 20 server.cc:1111] > grpc_server_start(server=0x55a6d093a980) > I0501 07:53:18.331884195 20 tcp_server_custom.cc:424] SERVER_START > 0x55a6d0b09cc0 > I0501 07:53:18.332028119 20 call_details.cc:31] > grpc_call_details_init(cd=0x55a6d0ad8170) > I0501 07:53:18.332155662 20 metadata_array.cc:29] > grpc_metadata_array_init(array=0x55a6d0ad81d0) > I0501 07:53:18.332369156 20 server.cc:1470] > grpc_server_request_call(server=0x55a6d093a980, call=0x55a6d0ad8168, > details=0x55a6d0ad8170, initial_metadata=0x55a6d0ad81d0, > cq_bound_to_call=0x55a6d0bce8a0, cq_for_notification=0x55a6d0bce8a0, > tag=0x55a6d0b73d60) > I0501 07:53:18.334480815 20 credentials.cc:183] > grpc_server_credentials_release(creds=0) > I0501 07:53:18.334693475 20 completion_queue.cc:952] > grpc_completion_queue_next(cq=0x55a6d0bce8a0, deadline=gpr_timespec { > tv_sec: -9223372036854775808, tv_nsec: 0, clock_type: 0 }, reserved=0) > I0501 07:53:18.334835887 20 completion_queue.cc:1060] > RETURN_EVENT[0x55a6d0bce8a0]: QUEUE_TIMEOUT > I0501 07:53:18.335157812 20 completion_queue.cc:952] > grpc_completion_queue_next(cq=0x55a6d0bce8a0, deadline=gpr_timespec { > tv_sec: -9223372036854775808, tv_nsec: 0, clock_type: 0 }, reserved=0) > I0501 07:53:18.335308566 20 completion_queue.cc:1060] > RETURN_EVENT[0x55a6d0bce8a0]: QUEUE_TIMEOUT > I0501 07:53:25.872128754 20 completion_queue.cc:952] > grpc_completion_queue_next(cq=0x55a6d0bce8a0, deadline=gpr_timespec { > tv_sec: -9223372036854775808, tv_nsec: 0, clock_type: 0 }, reserved=0) > I0501 07:53:25.872209655 20 completion_queue.cc:1060] > RETURN_EVENT[0x55a6d0bce8a0]: QUEUE_TIMEOUT > I0501 07:53:25.872281900 20 completion_queue.cc:952] > grpc_completion_queue_next(cq=0x55a6d0bce8a0, deadline=gpr_timespec { > tv_sec: -9223372036854775808, tv_nsec: 0, clock_type: 0 }, reserved=0) > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/2d7f941e-9148-4d6c-833b-1242f41a684dn%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/2d7f941e-9148-4d6c-833b-1242f41a684dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAPK2-4dw0--HOiJ9Y0ZcGAO-Tp-RmEd6sWpcrs4Xj8BX3CO25w%40mail.gmail.com.
smime.p7s
Description: S/MIME Cryptographic Signature
