kerberos-io / vault

Bring Your Own Storage, implement your own apps and scale your machine learning.
https://doc.kerberos.io/vault/first-things-first/
33 stars 7 forks source link

Error connecting agent to vault #14

Open tknrng opened 1 year ago

tknrng commented 1 year ago

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 commented 1 year ago

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 commented 4 months ago

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 commented 4 months ago

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.