Giter Site home page Giter Site logo

themanchineel / vaultwarden-api Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 31 KB

A simple read-only API fort the Vaultwarden Server

Dockerfile 5.67% Python 94.33%
api dashboard docker fastapi homepage middleware password-manager python vaultwarden wrapper-api

vaultwarden-api's People

Contributors

t3chguy avatar themanchineel avatar

Stargazers

 avatar

Watchers

 avatar

vaultwarden-api's Issues

Basic question about your docker run

Is this the $argo2 token or the one you enter in when you go the /admin page?

-e VAULTWARDEN_TOKEN=your_vaultwarden_token \

I tried both the regular login I use when entering the /admin page and then the $argo2 one from my compose file which Vaultwarden uses and it spams the login enough to get locked out of the admin page unless I reboot the server I'm running it on to clear the failures.

Vaultwarden API Error

Hi,

I set this up in Portainer like so:

version: '3'

services:
  vaultwarden-api:
    image: ghcr.io/themanchineel/vaultwarden-api:main
    container_name: vaultwarden-api
    restart: always
    ports:
      - 8019:8019
    env_file: stack.env

The environment variables are all setup.

When testing with curl I get:
curl "http://localhost:8019/api/stats" -H 'X-API-Key: [APIKEY]'
{"detail":"Vaultwarden API error"}

The logs show this:

INFO:     Started server process [1]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8019 (Press CTRL+C to quit)
INFO:     10.0.6.1:11059 - "GET /api/stats HTTP/1.1" 500 Internal Server Error
INFO:     10.0.6.1:36873 - "GET /api/stats HTTP/1.1" 500 Internal Server Error
INFO:     172.16.176.1:36006 - "GET /api/stats HTTP/1.1" 500 Internal Server Error
INFO:     10.0.6.1:36912 - "GET /api/stats HTTP/1.1" 500 Internal Server Error
INFO:     172.16.176.1:34382 - "GET /api/stats HTTP/1.1" 500 Internal Server Error
INFO:     10.0.6.1:36938 - "GET /api/stats HTTP/1.1" 500 Internal Server Error
INFO:     10.0.6.1:37044 - "GET /api/stats HTTP/1.1" 500 Internal Server Error

Any idea what's wrong?

Thank you for your work on this, this is great!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.