Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grpc_message:"unknown service opi_api.security.v1.IPsec" #187

Open
mgheorghe opened this issue Apr 10, 2024 · 0 comments
Open

grpc_message:"unknown service opi_api.security.v1.IPsec" #187

mgheorghe opened this issue Apr 10, 2024 · 0 comments

Comments

@mgheorghe
Copy link

opi-strongswan-bridge latest as of 10April2024
pydpu latest as of 10April2024

Python 3.9.18 (main, Jan  4 2024, 00:00:00)
[GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pydpu.proto.v1 import ipsec_pb2
>>> from pydpu.proto.v1 import ipsec_pb2_grpc
>>> import grpc
>>> channel = grpc.insecure_channel('127.0.0.1:50151')
>>> stub = ipsec_pb2_grpc.IPsecStub(channel)
>>> stub.IPsecVersion(ipsec_pb2.IPsecVersionReq())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.9/site-packages/grpc/_channel.py", line 1161, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/usr/lib64/python3.9/site-packages/grpc/_channel.py", line 1004, in _end_unary_response_blocking
    raise _InactiveRpcError(state)  # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
        status = StatusCode.UNIMPLEMENTED
        details = "unknown service opi_api.security.v1.IPsec"
        debug_error_string = "UNKNOWN:Error received from peer  {grpc_message:"unknown service opi_api.security.v1.IPsec", grpc_status:12, created_time:"2024-04-03T22:25:46.477784688+00:00"}"
>```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant