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

immugw as auditor - error - unknown method CurrentRoot #20

Open
cezar-radan opened this issue Sep 18, 2022 · 2 comments
Open

immugw as auditor - error - unknown method CurrentRoot #20

cezar-radan opened this issue Sep 18, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@cezar-radan
Copy link

What happened
I don't know if this problem is a bug but, please, I need guidance to overcome the issue.

I am using immudb (v.1.3.2) and immugw (latest) as docker containers.
Immugw container is set to run as auditor (IMMUGW_AUDIT=true). Actually the environment variables are:

    environment:
      - IMMUGW_ADDRESS=0.0.0.0
      - IMMUGW_PORT=3323
      - IMMUGW_IMMUDB_ADDRESS=immudb
      - IMMUGW_IMMUDB_PORT=3322
      - IMMUGW_AUDIT=true
      - IMMUGW_AUDIT_INTERVAL=1m
      - IMMUGW_AUDIT_USERNAME=immudb
      - IMMUGW_AUDIT_PASSWORD=immudb

Unfortunately, inside immugw log I have noticed an error :

error getting current root: rpc error: code = Unimplemented desc = unknown method CurrentRoot for service immudb.schema.ImmuService

I don't understand what I am doing wrong. Should I perform additional configuration ?

What you expected to happen
immugw to run in audit mode without errors

How to reproduce it (as minimally and precisely as possible)

Environment

Additional info (any other context about the problem)

@cezar-radan cezar-radan added the bug Something isn't working label Sep 18, 2022
@jeroiraz
Copy link
Contributor

What happened I don't know if this problem is a bug but, please, I need guidance to overcome the issue.

I am using immudb (v.1.3.2) and immugw (latest) as docker containers. Immugw container is set to run as auditor (IMMUGW_AUDIT=true). Actually the environment variables are:

    environment:
      - IMMUGW_ADDRESS=0.0.0.0
      - IMMUGW_PORT=3323
      - IMMUGW_IMMUDB_ADDRESS=immudb
      - IMMUGW_IMMUDB_PORT=3322
      - IMMUGW_AUDIT=true
      - IMMUGW_AUDIT_INTERVAL=1m
      - IMMUGW_AUDIT_USERNAME=immudb
      - IMMUGW_AUDIT_PASSWORD=immudb

Unfortunately, inside immugw log I have noticed an error :

error getting current root: rpc error: code = Unimplemented desc = unknown method CurrentRoot for service immudb.schema.ImmuService

I don't understand what I am doing wrong. Should I perform additional configuration ?

What you expected to happen immugw to run in audit mode without errors

How to reproduce it (as minimally and precisely as possible)

Environment

Additional info (any other context about the problem)

Hi @cezar-radan, thanks for reaching out. We're about to release a new version of immugw that will be compatible with 1.3.2+. Meanwhile, it should be possible to build from current master, see section Build the container images yourself in the readme (or just the binary with make)

@cezar-radan
Copy link
Author

@jeroiraz
Thank you for your fast answer and for guidance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants