Grpc: addrConn.createTransport failed to connect to {localhost:8000 0 <nil>}

@brocaar:

Hello,
I have installed lora-app-server in aws instance.Installation done successfully and i got the webui.

When i configure network servers i am getting this error message?Kindly help me to go forward.

error message:

WARN[2420] creating insecure network-server client       server="localhost:8000"
WARN[2420] grpc: addrConn.createTransport failed to connect to {localhost:8000 0  <nil>}. Err :connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:8000: getsockopt: connection refused". Reconnecting...
WARN[2420] Failed to dial localhost:8000: context canceled; please retry.
ERRO[2420] finished unary call with code Unknown         error="rpc error: code = Unknown desc = context deadline exceeded" grpc.code=Unknown grpc.method=Create grpc.service=api.NetworkServer grpc.start_time="2018-02-22T11:11:09Z" grpc.time_ms=503.714 peer.address="127.0.0.1:41504" span.kind=server system=grpc

Thanks,
Praveen

It seems i also have the same problem

loraserver lora-app-server[1520]: time=“2019-04-29T20:19:35+02:00” level=warning msg=“grpc: addrConn.createTransport failed to connect to {localhost:8080 0 }. Err :connection error: desc = “transport: Error while dialing dial tcp [::1]:8080: connect: connection refused”. Reconnecting…”

So far I could not find any solution.Please someone advise on this

Hello all, i have same experience also like that, in my solution is by configure the firewall due to blocked programs to access that port (localhost:8000) since i use windows to try docker images loraserver, and i use cmd.exe to execute the docker, then just add cmd.exe to the firewall to allow it access through firewall.

Hi @3nd0y

I am trying to run this docker file https://gitlab.com/snippets/1713665

consoles

I have running iroha container as you can see in right console on 50051 port, but on running the above docker file for web GRPC then you can see in left console it is unable to make connection. as i have also tried with enabling and disabling the firewalls and also with opening the 50051 withudo ufw allow 50051 sudo ufw allow 50051 …But in the end i have the same results
"Err: connection error: desc = “transport: Error while dialing dial tcp 127.0.0.1:50051: connect: connection refused”. Reconnecting… system=system"grpc: addrConn.createTransport failed to connect to {dev.localdomain:50051 dev.localdomain:50051 0 }. Err: connection error: desc = “transport: Error while dialing dial tcp: lookup dev.localdomain on 8.8.8.8:53: no such host”