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

Error connecting agent to vault #14

Open
tknrng opened this issue Oct 24, 2023 · 3 comments
Open

Error connecting agent to vault #14

tknrng opened this issue Oct 24, 2023 · 3 comments

Comments

@tknrng
Copy link

tknrng commented Oct 24, 2023

Create local vault and configure by manual
create acc - test1 with access key and secret key
configure agent - vault api url - http://demo.myhomelab.local/api
provider - provider name in vault - kerb
directory - vault user name - test1
access key = vault account test1 accesskey
secret key = vault account test1 secretkey

when click verify connection error - Something went wrong while verifying the persistence :undefined
but some file create in vault with no play option

all works in docker
agent version - kerberos/agent:2844a5a
vault version - kerberos/vault:latest

@john871
Copy link

john871 commented Oct 31, 2023

Had the same issue. For some reason, test-480.mp4 file was missing from home directory (is the file that is used to verify POST to vault's storage). As a workaround you can copy the file to the home directory (will get reverted on next container creation):

  1. docker exec $agent_container_name sh
  2. cp data/test-480.mp4 .
    However, although it is now connected to vault, I don't see the camera there.

@winston0410
Copy link

winston0410 commented Jun 30, 2024

I have the same issue, and I can see the following response payload:

{
    "data": "cloud.VerifyHub(): something went wrong while reaching the Kerberos Hub API: {\"data\":\"Missing X-Kerberos-Hub-PublicKey.\"}",
    "message": null,
    "ptz_functions": null,
    "can_zoom": false,
    "can_pan_tilt": false
}

Is Hub a pre-requisite? Can we just use Agent and Vault without Hub?
@cedricve

@winston0410
Copy link

I have the same issue, and I can see the following response payload:

{
    "data": "cloud.VerifyHub(): something went wrong while reaching the Kerberos Hub API: {\"data\":\"Missing X-Kerberos-Hub-PublicKey.\"}",
    "message": null,
    "ptz_functions": null,
    "can_zoom": false,
    "can_pan_tilt": false
}

Is Hub a pre-requisite? Can we just use Agent and Vault without Hub? @cedricve

Just found out the issue, seems to just be my configuration issue. Please ignore my above reply.

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

3 participants