Skip to content

Warnings in GRPC ClientSubscriber Pubsub #12964

@kamisoft-fr

Description

@kamisoft-fr

Environment details

OS: doesn't seem to matter (tested it in Windows 11 as well as in a Ubuntu Docker container)
.NET version: net8.0
Package name and version: Google.Cloud.PubSub.V1, Version 3.12.0

Steps to reproduce

Download sample from https://github.com/kamisoft-fr/GooglePubsubSampleApp
shorter version: #12965

Replace with your GCP settings : projectid & topicName
subcription name can be left as is

Run it

Open the "Output" window
Now wait for about 70 seconds. After that, Visual Studio begins to log occurring exceptions:

15:39:19 dbug: Microsoft.Extensions.Hosting.Internal.Host[1] Hosting starting
15:39:19 trce: Common.Infrastructure.Pubsub.Google.GoogleChannelSubscriber[0] Starting duplex streaming API call to StreamingPull.
15:39:19 trce: Common.Infrastructure.Pubsub.Google.GoogleChannelSubscriber[0] Starting duplex streaming API call to StreamingPull.
15:39:19 trce: Common.Infrastructure.Pubsub.Google.GoogleChannelSubscriber[0] Starting duplex streaming API call to StreamingPull.
15:39:19 trce: Common.Infrastructure.Pubsub.Google.GoogleChannelSubscriber[0] Starting duplex streaming API call to StreamingPull.
15:39:19 trce: Common.Infrastructure.Pubsub.Google.GoogleChannelSubscriber[0] Starting duplex streaming API call to StreamingPull.
15:39:19 info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down.
15:39:19 info: Microsoft.Hosting.Lifetime[0] Hosting environment: development
15:39:19 dbug: Microsoft.Extensions.Hosting.Internal.Host[2] Hosting started
15:40:22 warn: Common.Infrastructure.Pubsub.Google.GoogleChannelSubscriber[0] Recoverable error in streaming pull; will retry. System.AggregateException: One or more errors occurred. (Status(StatusCode="Unavailable", Detail="The service was unable to fulfill your request. Please try again. [code=8a75]")) ---> Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="The service was unable to fulfill your request. Please try again. [code=8a75]") at Grpc.Net.Client.Internal.HttpContentClientStreamReader2.MoveNextCore(CancellationToken cancellationToken) --- End of inner exception stack trace --- 15:40:22 warn: Common.Infrastructure.Pubsub.Google.GoogleChannelSubscriber[0] Recoverable error in streaming pull; will retry. System.AggregateException: One or more errors occurred. (Status(StatusCode="Unavailable", Detail="The service was unable to fulfill your request. Please try again. [code=8a75]")) ---> Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="The service was unable to fulfill your request. Please try again. [code=8a75]") at Grpc.Net.Client.Internal.HttpContentClientStreamReader2.MoveNextCore(CancellationToken cancellationToken) --- End of inner exception stack trace ---
15:40:22 dbug: Common.Infrastructure.Pubsub.Google.GoogleChannelSubscriber[0] Delaying for 0s before streaming pull call.
15:40:22 dbug: Common.Infrastructure.Pubsub.Google.GoogleChannelSubscriber[0] Delaying for 0s before streaming pull call.
15:40:22 trce: Common.Infrastructure.Pubsub.Google.GoogleChannelSubscriber[0] Starting duplex streaming API call to StreamingPull.
15:40:22 trce: Common.Infrastructure.Pubsub.Google.GoogleChannelSubscriber[0] Starting duplex streaming API call to StreamingPull.
15:40:27 warn: Common.Infrastructure.Pubsub.Google.GoogleChannelSubscriber[0] Recoverable error in streaming pull; will retry. System.AggregateException: One or more errors occurred. (Status(StatusCode="Unavailable", Detail="The service was unable to fulfill your request. Please try again. [code=8a75]")) ---> Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="The service was unable to fulfill your request. Please try again. [code=8a75]") at Grpc.Net.Client.Internal.HttpContentClientStreamReader`2.MoveNextCore(CancellationToken cancellationToken) --- End of inner exception stack trace ---
15:40:27 dbug: Common.Infrastructure.Pubsub.Google.GoogleChannelSubscriber[0] Delaying for 0s before streaming pull call.
15:40:27 trce: Common.Infrastructure.Pubsub.Google.GoogleChannelSubscriber[0] Starting duplex streaming API call to StreamingPull.

Thanks!

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions