Comments (4)
Related to akka/akka-grpc#1103
from lagom-samples.
Hi @venkateshzifo, I've put together a couple of commits in https://github.com/ignasi35/lagom-samples/commits/lagom-grpc-maven. You can test the application using:
cd grpc-example/grpc-example-java
sbt test
or with the new maven build:
cd grpc-example/grpc-example-java
mvn clean verify -e
I've added you as co-author on the commit and I'll push that code as a PR.
from lagom-samples.
When i do mvn lagom:runAll I am getting below error when i hit http://localhost:9000/proxy/grpc-hello/Steve
{"name":"io.grpc.StatusRuntimeException: UNAVAILABLE: io exception","detail":"io.grpc.StatusRuntimeException: UNAVAILABLE: io exception\r\n\tat io.grpc.Status.asRuntimeException(Status.java:533)\r\n\tat akka.grpc.internal.UnaryCallAdapter.onClose(UnaryCallAdapter.scala:40)\r\n\tat io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:426)\r\n\tat io.grpc.internal.ClientCallImpl.access$500(ClientCallImpl.java:66)\r\n\tat io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.close(ClientCallImpl.java:689)\r\n\tat io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.access$900(ClientCallImpl.java:577)\r\n\tat io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:751)\r\n\tat io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:740)\r\n\tat io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)\r\n\tat io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)\r\n\tat java.base/java.lang.Thread.run(Thread.java:832)\r\nCaused by: io.grpc.netty.shaded.io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: ZSLP012/172.16.4.3:11011\r\nCaused by: java.net.ConnectException: Connection refused: no further information\r\n\tat java.base/sun.nio.ch.Net.pollConnect(Native Method)\r\n\tat java.base/sun.nio.ch.Net.pollConnectNow(Net.java:589)\r\n\tat java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:839)\r\n\tat io.grpc.netty.shaded.io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:330)\r\n\tat io.grpc.netty.shaded.io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334)\r\n\tat io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:702)\r\n\tat io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)\r\n\tat io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)\r\n\tat io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)\r\n\tat io.grpc.netty.shaded.io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)\r\n\tat io.grpc.netty.shaded.io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)\r\n\tat io.grpc.netty.shaded.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\r\n\tat java.base/java.lang.Thread.run(Thread.java:832)\r\n"}
Please help me with this
from lagom-samples.
hi @venkateshzifo, this sounds like a OS-level PROXY setup is affecting your dev mode.
See this discussion (lagom/lagom#1575) for more details on how to solve th issue.
from lagom-samples.
Related Issues (20)
- Job "Run tests mixed persistence (java)" is flaky
- gRPC examples: Why are .proto in `impl` and not `api`? HOT 2
- Deployment jobs failures (RBAC issues?)
- Recommend using a recent JDK version, de-emphasize jetty-alpn
- Repository for publishing is not specified. HOT 2
- Introduce Startup Probe in shopping-cart samples
- Unable to run lagom grpc code HOT 2
- Replace Confirmation/Accepted/Rejected with StatusReply
- [maven/grpc] unable to find valid certification path to requested target HOT 2
- Entity testing with EventSourcedBehaviorTestKit
- gRPC: updated information about ALPN HOT 1
- grpc-specific scripts no longer necessary
- [Win/Linux] StatusRuntimeException: UNAVAILABLE: io exception in some OS HOT 1
- Migrate shopping-cart-scala tests to EventSourcedBehaviorTestkit
- AskTimeoutException in shopping-cart-java HOT 1
- gRPC integration tests can't start minikube on Travis HOT 1
- GRPC example doesn't run
- Tests using withJdbc() fail to start up with timeout HOT 1
- Undocumented behavior of Topic Subscription with ShoppingCart-Java HOT 4
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 lagom-samples.