boulder/vendor/google.golang.org/grpc
dependabot[bot] 426482781c
build(deps): bump the otel group (#7968)
Update:
- https://github.com/open-telemetry/opentelemetry-go-contrib from 0.55.0 to 0.61.0
- https://github.com/open-telemetry/opentelemetry-go from 1.30.0 to 1.36.0
- several golang.org/x/ packages
- their transitive dependencies
2025-06-06 17:22:48 -07:00
..
attributes Update google.golang.org/grpc to v1.59.0 (#7130) 2023-11-02 10:20:14 -04:00
backoff Update OTel dependencies (#7713) 2024-10-07 13:22:08 -07:00
balancer build(deps): bump the otel group (#7968) 2025-06-06 17:22:48 -07:00
binarylog/grpc_binarylog_v1 build(deps): bump the otel group (#7968) 2025-06-06 17:22:48 -07:00
channelz Upgrade GRPC to v1.53.0 (#6734) 2023-03-15 12:36:04 -07:00
codes Use generic types for gRPC stream implementations (#7501) 2024-05-24 13:54:25 -07:00
connectivity Update grpc from v1.36.1 to v1.49.0 (#6336) 2022-09-01 13:29:06 -07:00
credentials Update certificate-transparency-go for bugfix (#8160) 2025-05-06 12:10:53 -07:00
encoding Update OTel dependencies (#7713) 2024-10-07 13:22:08 -07:00
experimental/stats Update certificate-transparency-go to get static/tiled log support (#8150) 2025-04-30 15:56:31 -07:00
grpclog Update certificate-transparency-go to get static/tiled log support (#8150) 2025-04-30 15:56:31 -07:00
health build(deps): bump the otel group (#7968) 2025-06-06 17:22:48 -07:00
internal build(deps): bump the otel group (#7968) 2025-06-06 17:22:48 -07:00
keepalive Update certificate-transparency-go to get static/tiled log support (#8150) 2025-04-30 15:56:31 -07:00
mem Update certificate-transparency-go to get static/tiled log support (#8150) 2025-04-30 15:56:31 -07:00
metadata Update OTel dependencies (#7713) 2024-10-07 13:22:08 -07:00
peer Use generic types for gRPC stream implementations (#7501) 2024-05-24 13:54:25 -07:00
reflection build(deps): bump the otel group (#7968) 2025-06-06 17:22:48 -07:00
resolver build(deps): bump the otel group (#7968) 2025-06-06 17:22:48 -07:00
serviceconfig Upgrade GRPC to v1.53.0 (#6734) 2023-03-15 12:36:04 -07:00
stats build(deps): bump the otel group (#7968) 2025-06-06 17:22:48 -07:00
status Update google.golang.org/grpc to v1.59.0 (#7130) 2023-11-02 10:20:14 -04:00
tap Update google.golang.org/grpc to v1.59.0 (#7130) 2023-11-02 10:20:14 -04:00
AUTHORS Update gRPC (#3817) 2018-08-20 10:55:42 -04:00
CODE-OF-CONDUCT.md deps: update google.golang.org/grpc 1.20.0->1.25.1 (#4629) 2020-01-06 11:03:28 -08:00
CONTRIBUTING.md Update certificate-transparency-go to get static/tiled log support (#8150) 2025-04-30 15:56:31 -07:00
GOVERNANCE.md deps: update google.golang.org/grpc 1.20.0->1.25.1 (#4629) 2020-01-06 11:03:28 -08:00
LICENSE Update gRPC (#3817) 2018-08-20 10:55:42 -04:00
MAINTAINERS.md Update OTel dependencies (#7713) 2024-10-07 13:22:08 -07:00
Makefile Use generic types for gRPC stream implementations (#7501) 2024-05-24 13:54:25 -07:00
NOTICE.txt Update grpc from v1.36.1 to v1.49.0 (#6336) 2022-09-01 13:29:06 -07:00
README.md Update OTel dependencies (#7713) 2024-10-07 13:22:08 -07:00
SECURITY.md Update OTel dependencies (#7713) 2024-10-07 13:22:08 -07:00
backoff.go Upgrade GRPC to v1.53.0 (#6734) 2023-03-15 12:36:04 -07:00
balancer_wrapper.go Update certificate-transparency-go for bugfix (#8160) 2025-05-06 12:10:53 -07:00
call.go Update google.golang.org/grpc to v1.59.0 (#7130) 2023-11-02 10:20:14 -04:00
clientconn.go build(deps): bump the otel group (#7968) 2025-06-06 17:22:48 -07:00
codec.go Update certificate-transparency-go to get static/tiled log support (#8150) 2025-04-30 15:56:31 -07:00
dialoptions.go Update certificate-transparency-go for bugfix (#8160) 2025-05-06 12:10:53 -07:00
doc.go Update OTel dependencies (#7713) 2024-10-07 13:22:08 -07:00
interceptor.go Update google.golang.org/grpc to v1.59.0 (#7130) 2023-11-02 10:20:14 -04:00
picker_wrapper.go Update certificate-transparency-go for bugfix (#8160) 2025-05-06 12:10:53 -07:00
preloader.go Update certificate-transparency-go to get static/tiled log support (#8150) 2025-04-30 15:56:31 -07:00
resolver_wrapper.go Update certificate-transparency-go for bugfix (#8160) 2025-05-06 12:10:53 -07:00
rpc_util.go Update certificate-transparency-go for bugfix (#8160) 2025-05-06 12:10:53 -07:00
server.go Update certificate-transparency-go for bugfix (#8160) 2025-05-06 12:10:53 -07:00
service_config.go Update certificate-transparency-go for bugfix (#8160) 2025-05-06 12:10:53 -07:00
stream.go Update certificate-transparency-go for bugfix (#8160) 2025-05-06 12:10:53 -07:00
stream_interfaces.go Update certificate-transparency-go to get static/tiled log support (#8150) 2025-04-30 15:56:31 -07:00
trace.go build(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.46.1 to 0.51.0 (#7467) 2024-05-20 12:14:27 -04:00
trace_notrace.go build(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.46.1 to 0.51.0 (#7467) 2024-05-20 12:14:27 -04:00
trace_withtrace.go build(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.46.1 to 0.51.0 (#7467) 2024-05-20 12:14:27 -04:00
version.go build(deps): bump the otel group (#7968) 2025-06-06 17:22:48 -07:00

README.md

gRPC-Go

GoDoc GoReportCard codecov

The Go implementation of gRPC: A high performance, open source, general RPC framework that puts mobile and HTTP/2 first. For more information see the Go gRPC docs, or jump directly into the quick start.

Prerequisites

Installation

Simply add the following import to your code, and then go [build|run|test] will automatically fetch the necessary dependencies:

import "google.golang.org/grpc"

Note: If you are trying to access grpc-go from China, see the FAQ below.

Learn more

FAQ

I/O Timeout Errors

The golang.org domain may be blocked from some countries. go get usually produces an error like the following when this happens:

$ go get -u google.golang.org/grpc
package google.golang.org/grpc: unrecognized import path "google.golang.org/grpc" (https fetch: Get https://google.golang.org/grpc?go-get=1: dial tcp 216.239.37.1:443: i/o timeout)

To build Go code, there are several options:

  • Set up a VPN and access google.golang.org through that.

  • With Go module support: it is possible to use the replace feature of go mod to create aliases for golang.org packages. In your project's directory:

    go mod edit -replace=google.golang.org/grpc=github.com/grpc/grpc-go@latest
    go mod tidy
    go mod vendor
    go build -mod=vendor
    

    Again, this will need to be done for all transitive dependencies hosted on golang.org as well. For details, refer to golang/go issue #28652.

Compiling error, undefined: grpc.SupportPackageIsVersion

Please update to the latest version of gRPC-Go using go get google.golang.org/grpc.

How to turn on logging

The default logger is controlled by environment variables. Turn everything on like this:

$ export GRPC_GO_LOG_VERBOSITY_LEVEL=99
$ export GRPC_GO_LOG_SEVERITY_LEVEL=info

The RPC failed with error "code = Unavailable desc = transport is closing"

This error means the connection the RPC is using was closed, and there are many possible reasons, including:

  1. mis-configured transport credentials, connection failed on handshaking
  2. bytes disrupted, possibly by a proxy in between
  3. server shutdown
  4. Keepalive parameters caused connection shutdown, for example if you have configured your server to terminate connections regularly to trigger DNS lookups. If this is the case, you may want to increase your MaxConnectionAgeGrace, to allow longer RPC calls to finish.

It can be tricky to debug this because the error happens on the client side but the root cause of the connection being closed is on the server side. Turn on logging on both client and server, and see if there are any transport errors.