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

Vault API 404 when connecting the Agent with Local setup #21

Open
sidharthbh8 opened this issue Aug 26, 2024 · 4 comments
Open

Vault API 404 when connecting the Agent with Local setup #21

sidharthbh8 opened this issue Aug 26, 2024 · 4 comments

Comments

@sidharthbh8
Copy link

So, I'm trying to connect the agent with the vault from persistence. When verifying, the system throws the error Something went wrong while verifying the persistence :cloud.VerifyPersistence(kerberosvault): Something went wrong while verifying storage credentials: 404 page not found on verification. Also unable to access API endpoints from browser, direct requests to http://localhost:80/api returns a 404. Swagger indicates a missing cookie token.

The documentation specifies the API URL for Kerberos Vault as http://{your-vault-domain}/api.
My setup uses localhost:80.

@cedricve
Copy link
Member

cedricve commented Aug 26, 2024

hello @sidharthbh8, can you verify you can reach the http://localhost:80 endpoint, and can login? Also swagger endpoint should be accessible through http://localhost:80/swagger/index.html

@sidharthbh8
Copy link
Author

Yes I can reach and have logged into the localhost:80, and I have added the storage provider and account in the vault

@sidharthbh8
Copy link
Author

sidharthbh8 commented Aug 27, 2024

Hi @cedricve when trying to make a API call from swagger its throwing a error in response

{
  "code": 401,
  "message": "cookie token is empty"
}

Not sure why the cookie token would be empty if I'm making a request from the browser

@cedricve
Copy link
Member

The 401 indicates its an unauthorized request. Did you provide the appropriate headers to authenticate?

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

2 participants