gRPC

4 DEADLINE_EXCEEDED

The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully.

このコードが表示された場合

The RPC took longer than the configured deadline allows. Common in slow network conditions, overloaded servers, or when the deadline is set too aggressively.

修正方法

Increase the client deadline, optimize the server-side processing, or add server-side caching. If the operation might have succeeded, check idempotency before retrying.

仕様

RFC / 仕様書を見る →

クロスプロトコル対応コード

比較

ガイド

用語集