DEADLINE_EXCEEDED Error

394 views
Skip to first unread message

tony bonn

unread,
Oct 18, 2018, 6:29:38 PM10/18/18
to Google Cloud Pub/Sub Discussions
When running a pub/sub application on my desktop system, I nearly always encounter DEADLINE_EXCEEDED error. Running on our server is usually successful. Both instances use the same credentials and connect to the same pub/sub instance and topic. environment is .net/c#, nuget 1.0.0-beta10 Go9ogle.Cloud.PusSub.V1.

If upgrading libraries is a requirement, that could be an issue since at some version around beta19 the api signatures change.

the relevant lines of code. Any ideas would be appreciated

private readonly SubscriberClient _subscriberClient;



 
var pullRecordsTask = _subscriberClient.PullAsync(_subscriptionName, true, maxRecordsPerPull);


 

 
Task.WaitAll(pullRecordsTask);

 
var response = pullRecordsTask.Result;



 

Kir Titievsky

unread,
Oct 19, 2018, 1:19:50 PM10/19/18
to tony bonn, Google Cloud Pub/Sub Discussions
Tony, Might you be so kind as to submit this as an issue in the dot net client GitHub repo: 
https://github.com/GoogleCloudPlatform/google-cloud-dotnet/issues ?   Higher chances of a well informed response there. 

Also; anything special about your desktop setup that would artificially inflate latency?  Maybe firewalls keep the requests from leaving?

--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/b7580c5b-4134-47ec-a92a-6e5a68b5c9c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Kir Titievsky | Product Manager | Google Cloud Pub/Sub 

tony bonn

unread,
Oct 19, 2018, 1:41:10 PM10/19/18
to Google Cloud Pub/Sub Discussions
i decided to take the time to upgrade libraries and follow some of the more current examples for pulling. if that does not achieve satisfactory results, i will post as advised. thanks.


On Friday, October 19, 2018 at 1:19:50 PM UTC-4, Kir Titievsky wrote:
Tony, Might you be so kind as to submit this as an issue in the dot net client GitHub repo: 
https://github.com/GoogleCloudPlatform/google-cloud-dotnet/issues ?   Higher chances of a well informed response there. 

Also; anything special about your desktop setup that would artificially inflate latency?  Maybe firewalls keep the requests from leaving?
On Thu, Oct 18, 2018 at 6:29 PM tony bonn <tony...@interlinebrands.com> wrote:
When running a pub/sub application on my desktop system, I nearly always encounter DEADLINE_EXCEEDED error. Running on our server is usually successful. Both instances use the same credentials and connect to the same pub/sub instance and topic. environment is .net/c#, nuget 1.0.0-beta10 Go9ogle.Cloud.PusSub.V1.

If upgrading libraries is a requirement, that could be an issue since at some version around beta19 the api signatures change.

the relevant lines of code. Any ideas would be appreciated

private readonly SubscriberClient _subscriberClient;



 
var pullRecordsTask = _subscriberClient.PullAsync(_subscriptionName, true, maxRecordsPerPull);


 

 
Task.WaitAll(pullRecordsTask);

 
var response = pullRecordsTask.Result;




 

--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-discuss+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages