Comments (1)
@domgreen I have just tried, first from head, then with the exact version 1.6.0, but I cannot reproduce the bug [1]. Any chance you could run an instrumented polyglot from source and log the following:
- Verify that this branch [2] is getting triggered by logging something.
- Logging any exceptions that happen here [3].
Also, in your log above, how did polyglot actually get the schema? Did you feed it the actual proto files?
[1]
echo {'name':'dom'} | java -jar ~/Downloads/polyglot-1.6.0.jar \
--command=call \
--use_reflection=true --endpoint=localhost:50051 \
--full_method=helloworld.Greeter/SayHello \
--proto_discovery_root=.
[main] INFO me.dinowernli.grpc.polyglot.Main - Polyglot version: 1.6.0
[main] INFO me.dinowernli.grpc.polyglot.Main - Loaded configuration:
[main] INFO me.dinowernli.grpc.polyglot.command.ServiceCall - Creating channel to: localhost:50051
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/Users/dino/Downloads/polyglot-1.6.0.jar) to constructor java.nio.DirectByteBuffer(long,int)
WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[main] INFO me.dinowernli.grpc.polyglot.command.ServiceCall - Using proto descriptors fetched by reflection
[main] INFO me.dinowernli.grpc.polyglot.command.ServiceCall - Creating dynamic grpc client
[main] INFO me.dinowernli.grpc.polyglot.command.ServiceCall - Making rpc with 1 request(s) to endpoint [localhost:50051]
[main] INFO me.dinowernli.grpc.polyglot.grpc.DynamicGrpcClient - Making unary call
[grpc-default-executor-1] INFO me.dinowernli.grpc.polyglot.io.LoggingStatsWriter - Got response message
{
"message": "Hello dom"
}
[grpc-default-executor-1] INFO me.dinowernli.grpc.polyglot.io.LoggingStatsWriter - Completed rpc with 1 response(s)
from polyglot.
Related Issues (20)
- Strange reponse using OneOf HOT 1
- redefined error HOT 1
- Work with IDE HOT 4
- Capturing response HOT 2
- Parsing Authorization fails HOT 9
- google.protobuf.Empty as param HOT 1
- Using proto text files instead of json HOT 2
- How to build a polyglot.jar? HOT 2
- Polyglot just exits without any error
- --proto_path error since 1.6.0 HOT 1
- Feature Request - Use server reflection to lists services and methods exposed at a given port
- Unable to compile latest master repo HOT 2
- hello,invoking ServerReflectionClient.listServices() Method errors
- google/api/annotations.proto: File not found.
- Can't build using Bazel HOT 1
- Intermittent Issues in using polyglot with reflection
- Not able to get complete response
- Request for a homebrew package HOT 1
- Java 7 support
- run call-command-example error 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 polyglot.