{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/issues/1903","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/issues/1903/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/issues/1903/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/issues/1903/events","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-dotnet/issues/1903","id":297932560,"number":1903,"title":"Grpc.Core.RpcException: Status(StatusCode=Unauthenticated, Detail=\"Deadline Exceeded\") ?","user":{"login":"art-grig","id":11050992,"avatar_url":"https://avatars3.githubusercontent.com/u/11050992?v=4","gravatar_id":"","url":"https://api.github.com/users/art-grig","html_url":"https://github.com/art-grig","followers_url":"https://api.github.com/users/art-grig/followers","following_url":"https://api.github.com/users/art-grig/following{/other_user}","gists_url":"https://api.github.com/users/art-grig/gists{/gist_id}","starred_url":"https://api.github.com/users/art-grig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/art-grig/subscriptions","organizations_url":"https://api.github.com/users/art-grig/orgs","repos_url":"https://api.github.com/users/art-grig/repos","events_url":"https://api.github.com/users/art-grig/events{/privacy}","received_events_url":"https://api.github.com/users/art-grig/received_events","type":"User","site_admin":false},"labels":[{"id":544302061,"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/labels/priority:%20p1","name":"priority: p1","color":"ffa03e","default":false},{"id":744591107,"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/labels/status:%20investigating","name":"status: investigating","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":{"login":"jskeet","id":17011,"avatar_url":"https://avatars1.githubusercontent.com/u/17011?v=4","gravatar_id":"","url":"https://api.github.com/users/jskeet","html_url":"https://github.com/jskeet","followers_url":"https://api.github.com/users/jskeet/followers","following_url":"https://api.github.com/users/jskeet/following{/other_user}","gists_url":"https://api.github.com/users/jskeet/gists{/gist_id}","starred_url":"https://api.github.com/users/jskeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jskeet/subscriptions","organizations_url":"https://api.github.com/users/jskeet/orgs","repos_url":"https://api.github.com/users/jskeet/repos","events_url":"https://api.github.com/users/jskeet/events{/privacy}","received_events_url":"https://api.github.com/users/jskeet/received_events","type":"User","site_admin":false},"assignees":[{"login":"jskeet","id":17011,"avatar_url":"https://avatars1.githubusercontent.com/u/17011?v=4","gravatar_id":"","url":"https://api.github.com/users/jskeet","html_url":"https://github.com/jskeet","followers_url":"https://api.github.com/users/jskeet/followers","following_url":"https://api.github.com/users/jskeet/following{/other_user}","gists_url":"https://api.github.com/users/jskeet/gists{/gist_id}","starred_url":"https://api.github.com/users/jskeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jskeet/subscriptions","organizations_url":"https://api.github.com/users/jskeet/orgs","repos_url":"https://api.github.com/users/jskeet/repos","events_url":"https://api.github.com/users/jskeet/events{/privacy}","received_events_url":"https://api.github.com/users/jskeet/received_events","type":"User","site_admin":false}],"milestone":null,"comments":39,"created_at":"2018-02-16T21:58:06Z","updated_at":"2018-02-19T13:40:26Z","closed_at":null,"author_association":"NONE","body":"We are deploying asp.net core 2.0 project to app engine flex(while previous version is under load: about 200req/sec), and in some cases we are getting \"Grpc.Core.RpcException: Status(StatusCode=Unauthenticated, Detail=\"Deadline Exceeded\")\" while trying to run query on datastore with standard datastore client, sometimes errors are gone and sometimes they are rising again, not sure if it depends on requests rate. So here is our app.yaml:\r\n```\r\nenv: flex\r\nruntime: aspnetcore\r\nresources:\r\n cpu: 16\r\n memory_gb: 14.4\r\n\r\nautomatic_scaling:\r\n  min_num_instances: 8\r\n  max_num_instances: 20\r\n  cool_down_period_sec: 180\r\n  cpu_utilization:\r\n    target_utilization: 0.5 \r\n```\r\nAnd here is full stack trace:\r\n\r\n```\r\nGrpc.Core.RpcException: Status(StatusCode=Unauthenticated, Detail=\"Deadline Exceeded\")\r\nat System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw\r\nat System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification\r\nat Grpc.Core.Internal.AsyncCall`2.UnaryCall\r\nat Grpc.Core.DefaultCallInvoker.BlockingUnaryCall[TRequest,TResponse]\r\nat Grpc.Core.Internal.InterceptingCallInvoker.BlockingUnaryCall[TRequest,TResponse]\r\nat Google.Cloud.Datastore.V1.Datastore.DatastoreClient.RunQuery\r\nat Google.Api.Gax.Grpc.ApiCall.<>c__DisplayClass0_0`2.<Create>b__1\r\nat Google.Api.Gax.Grpc.ApiCallRetryExtensions.<>c__DisplayClass1_0`2.<WithRetry>b__0\r\nat Google.Cloud.Datastore.V1.QueryStreamer.<Sync>d__7.MoveNext\r\nat System.Collections.Generic.List`1.AddEnumerable\r\nat System.Linq.Enumerable.ToList[TSource]\r\nat Google.Cloud.Datastore.V1.LazyDatastoreQuery.GetAllResults\r\n```\r\n@vuukle @jskeet "},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/issues/comments/366695896","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-dotnet/issues/1903#issuecomment-366695896","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/issues/1903","id":366695896,"user":{"login":"jskeet","id":17011,"avatar_url":"https://avatars1.githubusercontent.com/u/17011?v=4","gravatar_id":"","url":"https://api.github.com/users/jskeet","html_url":"https://github.com/jskeet","followers_url":"https://api.github.com/users/jskeet/followers","following_url":"https://api.github.com/users/jskeet/following{/other_user}","gists_url":"https://api.github.com/users/jskeet/gists{/gist_id}","starred_url":"https://api.github.com/users/jskeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jskeet/subscriptions","organizations_url":"https://api.github.com/users/jskeet/orgs","repos_url":"https://api.github.com/users/jskeet/repos","events_url":"https://api.github.com/users/jskeet/events{/privacy}","received_events_url":"https://api.github.com/users/jskeet/received_events","type":"User","site_admin":false},"created_at":"2018-02-19T13:40:26Z","updated_at":"2018-02-19T13:40:26Z","author_association":"MEMBER","body":"Just to be clear, I'm not suggesting you make any change to any *production* service - only a test one for the purposes of diagnostics.\r\n\r\nI'll work up a sample for multi-channel clients. I assume you're using `DatastoreDb` rather than just `DatastoreClient` - do you use the same database name for all requests?"}}
{"actor":{"display_login":"jskeet"}}