Thanks Srini; it worked after this particular addition to my proxy
settings.
we can mark this thread as resolved now
On Monday, November 19, 2018 at 4:52:17 PM UTC-8, Srini Polavarapu wrote:
>
> Your connection issue is due to proxy configuration on your machine. As
> you can see gRPC is
Thanks Srini; it worked after this particular addition to my proxy settings.
we can mark this thread as resolved now
On Mon, Nov 19, 2018 at 4:52 PM 'Srini Polavarapu' via grpc.io
wrote:
>
> Your connection issue is due to proxy configuration on your machine. As you
> can see gRPC is connecting
Your connection issue is due to proxy configuration on your machine. As you
can see gRPC is connecting to a proxy for localhost.
http_connect_handshaker.cc:300] Connecting to server localhost:50051 via
HTTP proxy ipv4:10.19.8.225:912
Try setting http_proxy= or try no_proxy=localhost.
On
Today i tried this example on Centos 7.5 machine and i had same issue.
On Friday, November 9, 2018 at 3:54:50 PM UTC-8, Lidi Zheng wrote:
>
> Hi Ankit,
>
> Thanks for providing the trace log. I will look into it and update if I
> found anything.
>
> Lidi Zheng
>
> On Fri, Nov 9, 2018 at 3:04 PM
Hi Ankit,
Thanks for providing the trace log. I will look into it and update if I
found anything.
Lidi Zheng
On Fri, Nov 9, 2018 at 3:04 PM wrote:
> here is server log; i killed server at the end by cntrl+c
>
> I1109 15:02:26.154260194 13636 ev_epoll1_linux.cc:116] grpc epoll
> fd: 3
>
here is server log; i killed server at the end by cntrl+c
I1109 15:02:26.154260194 13636 ev_epoll1_linux.cc:116] grpc epoll fd:
3
D1109 15:02:26.154434159 13636 ev_posix.cc:169]Using polling
engine: epoll1
D1109 15:02:26.154530558 13636 dns_resolver.cc:338]Using
Hi Lidi
here is the log from client side
I1109 14:55:12.420854517 13623 ev_epoll1_linux.cc:116] grpc epoll fd:
3
D1109 14:55:12.420880472 13623 ev_posix.cc:169]Using polling
engine: epoll1
D1109 14:55:12.421021052 13623 dns_resolver.cc:338]Using native
dns
Hi Ankit,
To define variables in separate line, you need to export them to the whole
environment like this:
$ export GRPC_VERBOSITY=DEBUG
$
export GRPC_TRACE=api,channel,call_error,connectivity_state,http,server_channel
Then you can run the examples:
$ python greeter_client.py
$ python
Hi Lidi
how do i get debug logs? what location they are saved at?
I have done following and i dont see any extra information on stdout
#server side terminal
root@fmx216:~/gRPC/grpc/examples/python/helloworld# GRPC_VERBOSITY=DEBUG
root@fmx216:~/gRPC/grpc/examples/python/helloworld#
Hi Ankit,
There is one more thing I would like to try. Can you provide the detailed
tracing log for the example server and client?
The trace and debug logs can be turned on by setting environment variables.
$ GRPC_VERBOSITY=DEBUG
Hi Ankit,
I span up a Ubuntu 16.04 machine to investigate this issue. I used the
default Python2.7, and installed `pip` through `get-pip.py`. And I
Installed `grpcio` through `pip`.
Here are the version infos of my machine:
$ uname -a
Linux lidiz-dev-ubuntu-16-04 4.15.0-1023-gcp
Hi Lidi
$ python -m SimpleHTTPServer 8000
$ curl http://localhost:8000 *Works.*
$ nc -6 -l 1234 # in one terminal
$ echo 'Hello' | nc localhost 1234 # in another terminal
# The 'Hello' should appear in the first terminal *Works.*
# Check your gRPC
Hi Ankit,
Sorry to hear that none of the fixes work for you. If the server is started
and able to bind tcp port, there is a great chance that this might due to
some local network setting.
To detect whether there is a local network issue or gRPC Python issue, can
you try to start other
Hi Lidi
greeterserver.py is running on a terminal from other terminal i can see
that port 50051 is bound to python
# lsof -i :50051
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
python 18126 root6u IPv6 32226 0t0 TCP *:50051 (LISTEN)
Hi Ankit,
After the greeter_server.py started, have you observed the port 50051 been
bound in your system? Also, have you use any sort of VPN or local proxy
that may redirect the traffic? One more check, is there a loopback entry
for 'localhost' in your /etc/hosts?
Lidi
On Wednesday,
15 matches
Mail list logo