Skip to content

Commit

Permalink
fix: error code PROTOCOL_ERROR
Browse files Browse the repository at this point in the history
  • Loading branch information
2637309949 committed Sep 9, 2022
1 parent 7c16667 commit ab0e8c7
Show file tree
Hide file tree
Showing 22 changed files with 151 additions and 178 deletions.
33 changes: 18 additions & 15 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ module github.com/2637309949/micro/v3
go 1.16

require (
github.com/HdrHistogram/hdrhistogram-go v1.1.2 // indirect
github.com/HdrHistogram/hdrhistogram-go v1.1.0 // indirect
github.com/aws/aws-sdk-go v1.36.30
github.com/bitly/go-simplejson v0.5.0
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect
github.com/caddyserver/certmagic v0.10.6
github.com/chzyer/logex v1.2.0 // indirect
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
github.com/chzyer/test v0.0.0-20210722231415-061457976a23 // indirect
github.com/cloudflare/cloudflare-go v0.10.9 // indirect
github.com/davecgh/go-spew v1.1.1
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect
github.com/dustin/go-humanize v1.0.0
Expand All @@ -19,7 +18,7 @@ require (
github.com/fsnotify/fsnotify v1.5.1
github.com/getkin/kin-openapi v0.26.0
github.com/go-acme/lego/v3 v3.4.0
github.com/go-redis/redis/v8 v8.10.1-0.20210615084835-43ec1464d9a6
github.com/go-redis/redis/v8 v8.11.5
github.com/gofrs/uuid v4.0.0+incompatible
github.com/golang-jwt/jwt v0.0.0-20210529014511-0f726ea0e725
github.com/golang/protobuf v1.5.2
Expand All @@ -30,23 +29,24 @@ require (
github.com/hashicorp/go-version v1.2.1
github.com/hpcloud/tail v1.0.0
github.com/improbable-eng/grpc-web v0.13.0
github.com/jackc/pgx/v4 v4.17.1
github.com/jackc/pgx/v4 v4.17.2
github.com/klauspost/cpuid v1.3.1 // indirect
github.com/kr/pretty v0.3.0
github.com/lib/pq v1.10.4
github.com/lib/pq v1.10.7
github.com/miekg/dns v1.1.43
github.com/mitchellh/hashstructure v1.0.0
github.com/nats-io/nats-streaming-server v0.24.1 // indirect
github.com/nats-io/nats.go v1.13.1-0.20220121202836-972a071d373d
github.com/nats-io/stan.go v0.10.2
github.com/mitchellh/hashstructure v1.1.0
github.com/nats-io/nats-server/v2 v2.8.4 // indirect
github.com/nats-io/nats-streaming-server v0.24.6 // indirect
github.com/nats-io/nats.go v1.16.0
github.com/nats-io/stan.go v0.10.3
github.com/nightlyone/lockfile v1.0.0
github.com/olekukonko/tablewriter v0.0.5
github.com/onsi/gomega v1.17.0
github.com/onsi/gomega v1.18.1
github.com/opentracing/opentracing-go v1.2.0
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.11.1
github.com/rs/cors v1.8.2 // indirect
github.com/serenize/snaker v0.0.0-20171204205717-a683aaf2d516
github.com/stoewer/go-strcase v1.2.0
github.com/stretchr/objx v0.4.0
Expand All @@ -57,14 +57,17 @@ require (
github.com/urfave/cli/v2 v2.3.0
github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca
go.etcd.io/bbolt v1.3.6
go.etcd.io/etcd v0.0.0-20200513171258-e048e166ab9c
go.etcd.io/etcd/api/v3 v3.5.4
go.etcd.io/etcd/client/v3 v3.5.4
go.uber.org/zap v1.17.0
go.uber.org/zap v1.23.0
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa
golang.org/x/net v0.0.0-20220607020251-c690dde0001d
google.golang.org/genproto v0.0.0-20220421151946-72621c1f0bd3
google.golang.org/grpc v1.45.0
google.golang.org/protobuf v1.28.0
tailscale.com v1.28.0
gopkg.in/square/go-jose.v2 v2.4.1 // indirect
tailscale.com v1.30.1
)

// fix error code PROTOCOL_ERROR
replace google.golang.org/grpc => google.golang.org/grpc v1.40.0
222 changes: 96 additions & 126 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion plugin/etcd/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ import (
"github.com/2637309949/micro/v3/service/registry"
hash "github.com/mitchellh/hashstructure"
"go.etcd.io/etcd/api/v3/mvccpb"
"go.etcd.io/etcd/api/v3/v3rpc/rpctypes"
clientv3 "go.etcd.io/etcd/client/v3"
"go.etcd.io/etcd/etcdserver/api/v3rpc/rpctypes"
"go.uber.org/zap"
)

Expand Down
4 changes: 2 additions & 2 deletions proto/alert/alert.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/api/api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/auth/auth.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/broker/broker.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/client/client.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/config/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/debug/debug.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/errors/errors.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/events/events.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/network/network.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/registry/registry.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/router/router.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/runtime/runtime.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/store/store.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/transport/transport.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion service/runtime/cells/go/util/entrypoint/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/2637309949/micro/service/runtime/cells/go/util/entrypoint

go 1.14

require github.com/2637309949/micro/v3 v3.8.8
require github.com/2637309949/micro/v3 v3.8.9

// This can be removed once etcd becomes go gettable, version 3.4 and 3.5 is not,
// see https://github.com/etcd-io/etcd/issues/11154 and https://github.com/etcd-io/etcd/issues/11931.
Expand Down
4 changes: 2 additions & 2 deletions service/runtime/cells/go/util/entrypoint/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RX
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
contrib.go.opencensus.io/exporter/ocagent v0.4.12/go.mod h1:450APlNTSR6FrvC3CTRqYosuDstRB9un7SOx2k/9ckA=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
github.com/2637309949/micro/v3 v3.8.8 h1:I9ErkGkfZ8f9d3cp4kWdgxMD6QLER+Oo5+X9tkpDD0g=
github.com/2637309949/micro/v3 v3.8.8/go.mod h1:mQoekeNtMF6+ylAlnsu55AFVC1K29vNh/euecTZU1Rk=
github.com/2637309949/micro/v3 v3.8.9 h1:I9ErkGkfZ8f9d3cp4kWdgxMD6QLER+Oo5+X9tkpDD0g=
github.com/2637309949/micro/v3 v3.8.9/go.mod h1:mQoekeNtMF6+ylAlnsu55AFVC1K29vNh/euecTZU1Rk=
github.com/Azure/azure-sdk-for-go v32.4.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
github.com/Azure/go-autorest/autorest v0.1.0/go.mod h1:AKyIcETwSUFxIcs/Wnq/C+kwCtlEYGUVd7FPNb2slmg=
github.com/Azure/go-autorest/autorest v0.5.0/go.mod h1:9HLKlQjVBH6U3oDfsXOeVc56THsLPw1L03yban4xThw=
Expand Down
2 changes: 1 addition & 1 deletion service/runtime/cells/v3/loader/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/2637309949/micro/service/runtime/cells/go/loader

go 1.18

require github.com/2637309949/micro/v3 v3.8.8
require github.com/2637309949/micro/v3 v3.8.9

require (
github.com/beorn7/perks v1.0.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions service/runtime/cells/v3/loader/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RX
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
contrib.go.opencensus.io/exporter/ocagent v0.4.12/go.mod h1:450APlNTSR6FrvC3CTRqYosuDstRB9un7SOx2k/9ckA=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
github.com/2637309949/micro/v3 v3.8.8 h1:I9ErkGkfZ8f9d3cp4kWdgxMD6QLER+Oo5+X9tkpDD0g=
github.com/2637309949/micro/v3 v3.8.8/go.mod h1:mQoekeNtMF6+ylAlnsu55AFVC1K29vNh/euecTZU1Rk=
github.com/2637309949/micro/v3 v3.8.9 h1:I9ErkGkfZ8f9d3cp4kWdgxMD6QLER+Oo5+X9tkpDD0g=
github.com/2637309949/micro/v3 v3.8.9/go.mod h1:mQoekeNtMF6+ylAlnsu55AFVC1K29vNh/euecTZU1Rk=
github.com/Azure/azure-sdk-for-go v32.4.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
github.com/Azure/go-autorest/autorest v0.1.0/go.mod h1:AKyIcETwSUFxIcs/Wnq/C+kwCtlEYGUVd7FPNb2slmg=
github.com/Azure/go-autorest/autorest v0.5.0/go.mod h1:9HLKlQjVBH6U3oDfsXOeVc56THsLPw1L03yban4xThw=
Expand Down

0 comments on commit ab0e8c7

Please sign in to comment.