Comments (3)
I think this is a dup of: grpc/grpc-go#581
What happens if you update your vendored copy of the grpc?
from cmux.
Yep, that fixed it.
Would it be nice to warn users about the minimum required version or the recommended versions ? Maybe share a godeps file or something with Glide ?
This is the godeps file with the "working" versions:
{
"ImportPath": "cmux",
"GoVersion": "go1.7",
"GodepVersion": "v74",
"Deps": [
{
"ImportPath": "github.com/golang/protobuf/proto",
"Rev": "8ee79997227bf9b34611aee7946ae64735e6fd93"
},
{
"ImportPath": "github.com/soheilhy/cmux",
"Comment": "v0.1.2",
"Rev": "bf4a8ede9e87c006fe1d4278c6c7f2b8be1fa84c"
},
{
"ImportPath": "golang.org/x/net/context",
"Rev": "4971afdc2f162e82d185353533d3cf16188a9f4e"
},
{
"ImportPath": "golang.org/x/net/http2",
"Rev": "4971afdc2f162e82d185353533d3cf16188a9f4e"
},
{
"ImportPath": "golang.org/x/net/http2/hpack",
"Rev": "4971afdc2f162e82d185353533d3cf16188a9f4e"
},
{
"ImportPath": "golang.org/x/net/idna",
"Rev": "4971afdc2f162e82d185353533d3cf16188a9f4e"
},
{
"ImportPath": "golang.org/x/net/internal/timeseries",
"Rev": "4971afdc2f162e82d185353533d3cf16188a9f4e"
},
{
"ImportPath": "golang.org/x/net/lex/httplex",
"Rev": "4971afdc2f162e82d185353533d3cf16188a9f4e"
},
{
"ImportPath": "golang.org/x/net/trace",
"Rev": "4971afdc2f162e82d185353533d3cf16188a9f4e"
},
{
"ImportPath": "golang.org/x/net/websocket",
"Rev": "4971afdc2f162e82d185353533d3cf16188a9f4e"
},
{
"ImportPath": "google.golang.org/grpc",
"Comment": "v1.0.4-59-gb13ef79",
"Rev": "b13ef794997191ec801db90a42c50034df91850a"
},
{
"ImportPath": "google.golang.org/grpc/codes",
"Comment": "v1.0.4-59-gb13ef79",
"Rev": "b13ef794997191ec801db90a42c50034df91850a"
},
{
"ImportPath": "google.golang.org/grpc/credentials",
"Comment": "v1.0.4-59-gb13ef79",
"Rev": "b13ef794997191ec801db90a42c50034df91850a"
},
{
"ImportPath": "google.golang.org/grpc/examples/helloworld/helloworld",
"Comment": "v1.0.4-59-gb13ef79",
"Rev": "b13ef794997191ec801db90a42c50034df91850a"
},
{
"ImportPath": "google.golang.org/grpc/grpclog",
"Comment": "v1.0.4-59-gb13ef79",
"Rev": "b13ef794997191ec801db90a42c50034df91850a"
},
{
"ImportPath": "google.golang.org/grpc/internal",
"Comment": "v1.0.4-59-gb13ef79",
"Rev": "b13ef794997191ec801db90a42c50034df91850a"
},
{
"ImportPath": "google.golang.org/grpc/metadata",
"Comment": "v1.0.4-59-gb13ef79",
"Rev": "b13ef794997191ec801db90a42c50034df91850a"
},
{
"ImportPath": "google.golang.org/grpc/naming",
"Comment": "v1.0.4-59-gb13ef79",
"Rev": "b13ef794997191ec801db90a42c50034df91850a"
},
{
"ImportPath": "google.golang.org/grpc/peer",
"Comment": "v1.0.4-59-gb13ef79",
"Rev": "b13ef794997191ec801db90a42c50034df91850a"
},
{
"ImportPath": "google.golang.org/grpc/stats",
"Comment": "v1.0.4-59-gb13ef79",
"Rev": "b13ef794997191ec801db90a42c50034df91850a"
},
{
"ImportPath": "google.golang.org/grpc/tap",
"Comment": "v1.0.4-59-gb13ef79",
"Rev": "b13ef794997191ec801db90a42c50034df91850a"
},
{
"ImportPath": "google.golang.org/grpc/transport",
"Comment": "v1.0.4-59-gb13ef79",
"Rev": "b13ef794997191ec801db90a42c50034df91850a"
}
]
}
Cheers.
from cmux.
Thanks for the confirmation. I don't think this has anything to do with cmux. That's natural when you vendor your dependencies.
from cmux.
Related Issues (20)
- Upgrade the x/net version in dependencies?
- metrics for mux usage
- cmux is not usable with GRPC+TLS
- Add benchmarks
- badly-behaved client can deadlock server stopping HOT 3
- Cannot get Matchers to mux h2c gRPC and HTTP2(REST) requests HOT 4
- It's hard to extend protocol HOT 3
- how to write client codeto gprc connect HOT 2
- Doesn't work with grpc-go's hello world example HOT 2
- Pull In Downstream Fixes HOT 1
- Cannot check closed error with errors.Is HOT 1
- Multiplexing gRPC and Prometheus metrics services using Google Cloud Run
- Matching based on URL HOT 1
- Cmux example HOT 1
- Close not working properly on gRPC graceful stop HOT 1
- Multiplexing gRPC & HTTP handlers with H2C+Prior Knowledge HOT 4
- socks5 matcher not working HOT 2
- http2 matcher not working with net/http HOT 2
- I don't understand why calling source.Read() might block?
- HTTP1Fast matcher omits PATCH HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmux.