Comments (7)
This was certainly introduced by this change.
It was changed in the hopes of behaving more like protoc
, so that an invocation of proto include paths and source files that works with protoc
would also work with grpcurl
. But protoc
behaves correctly/intuitively for this particular case and grpcurl
fails. So this is definitely a bug.
from grpcurl.
thanks for the fast response.
I see the fix/change is in protoreflect but no changes apparently in grpcurl; is there a new version planned for grpc or how can I get the latest to test this?
I just tried go get/install-ing this again after deleting old files but it seems to be pulling the same grpcurl files
from grpcurl.
Sorry - I didn't mean to close this issue. Github did that automatically due to my comment in the protoreflect PR.
I still need to build a release of protoreflect and then update grpcurl to use that new release. (I'll then also need a new release of grpcurl.)
If you want to try it out before I get everything release, you'd have to do so w/out Go modules, so that you can just go get -u github.com/jhump/protoreflect
and let the grpcurl build use that. (If you are using Go modules, the grpcurl build will always use the version pinned in its go.mod
file. To make that work, you'd have to hack up its go.mod
a bit...)
from grpcurl.
I tried grpcurl 1.8.7
and grpcurl dev build <no version set>
and it still throwing this error. Any solution yet?
from grpcurl.
@iamatulsingh, a fix was released three years ago. If you are seeing this error message, it is likely due to misuse of the -proto
and -import-path
flags. Please open a new issue with more details of what you are doing, including the command-line flags you are using and the directory layout of sources you are trying to use.
from grpcurl.
I'll open new issue regarding this. Thank you @jhump
from grpcurl.
I encountered the same issue on Windows, and here’s a workaround:
- Download and extract the files from this link to a local folder.
- Add the extracted folder to your system's PATH variable: go to System Advanced Environment → System Variables → Path, and include the path to the extracted folder.
Hope it helps.
from grpcurl.
Related Issues (20)
- Add the OpenSSF Scorecard Github Action HOT 1
- Attempts to install fail because of "missing do in first path element" HOT 2
- Cannot list methods of a service and make requests HOT 1
- Publish releases to winget HOT 1
- Possible to support other codec? HOT 1
- Server reflection fails when using well-known types (Timestamp) HOT 3
- Google Cloud Run producing `context deadline exceeded`
- protoset-out does not get namespace when using reflection HOT 5
- Create Process Failed to Run Issue HOT 1
- Include more output while connecting and reflecting with verbose mode
- Does grpcurl support pulling a client certificate from the OS X Keychain?
- How Do I invoke a grpc call which utilizes Bearer token as authorization HOT 1
- Is there any way to not specify a port when connecting to an address HOT 1
- Url path argument
- Missing special handling for json 'null' value for google.protobuf.NullValue
- Add --proto-out-dir option to generate .proto files
- Headers are lowercased HOT 1
- Understanding the parameter RequestData in the method InvokeRPC call HOT 2
- Version 1.9.1: Failed to process proto source files
- Dial fails with a timeout when the server requires a client certificate, but none is provided
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 grpcurl.