Category : grpc

I am facing a peculiar situation, could not find much help from web. I have a container(based on alpine image) running on Centos7 host in host network mode which essentially means it shares the network stack, /etc/hosts, and /etc/resolv.conf with host. Trying to connect to a remote machine(UB1804-MN1-131) within our organization network (so no proxy ..

Read more

i am new in airflow and gRPC i use airflow running in docker with default setting https://airflow.apache.org/docs/apache-airflow/stable/start/docker.html when i try to do this in DAG airflow channel = grpc.insecure_channel(‘localhost:50051′) number = calculator_pb2.Number(value=25) con = GrpcHook(grpc_conn_id=’grpc_con’, interceptors=[UnaryUnaryClientInterceptor] ) run = GrpcOperator(task_id=’square_root’, stub_class=calculator_pb2_grpc.CalculatorStub(channel), call_func=’SquareRoot’, grpc_conn_id=’grpc_con’, data=number, log_response=True, interceptors=[UnaryUnaryClientInterceptor] ) no response in DAG log even server is ..

Read more

i am new in airflow and gRPC i use airflow running in docker with default setting https://airflow.apache.org/docs/apache-airflow/stable/start/docker.html when i try to do this in DAG airflow channel = grpc.insecure_channel(‘localhost:50051′) number = calculator_pb2.Number(value=25) con = GrpcHook(grpc_conn_id=’grpc_con’, interceptors=[UnaryUnaryClientInterceptor] ) run = GrpcOperator(task_id=’square_root’, stub_class=calculator_pb2_grpc.CalculatorStub(channel), call_func=’SquareRoot’, grpc_conn_id=’grpc_con’, data=number, log_response=True, interceptors=[UnaryUnaryClientInterceptor] ) no response in DAG log even server is ..

Read more

Using the image php:7.0-fpm-alpine I’ve already tried using RUN pecl install grpc and it takes about 4 minutes before failing with this error message: failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c pecl install grpc]; exit code: 1 I’ve tried building from source per their own instructions and ..

Read more