GithubHelp home page GithubHelp logo

Comments (5)

luca0N avatar luca0N commented on June 16, 2024

Are you specifying an authentication certificate in the configuration file, as shown in the snippet below? If so, make sure the path exists.

Also, what version of botamusique are you using? Are you running a stable release or are you running it based on the latest commit in the master branch?

from botamusique.

rabook avatar rabook commented on June 16, 2024

Thank you for your reply. I forgot to set the certificate location. I will try again.

from botamusique.

rabook avatar rabook commented on June 16, 2024

I'm using Docker for deployment. I tried specifying the certificate location but it didn't start successfully.
Uploading 屏幕截图 2024-03-14 183350.png…

from botamusique.

luca0N avatar luca0N commented on June 16, 2024

Hey, sorry for the delay.

I was able to reproduce this with the BAM_CERTIFICATE environment variable. pymumble looks for the Mumble authentication certificate file based on the filesystem from inside the container (i.e., if you have a certificate in the host, you can't just pass its canonical path to the container).

The solution was to create a mount bind and put the certificate in there, like so:

# Directory to share with the container filesystem
CONTAINER_MOUNT_PATH="/home/luca0n/botamusique_container"

# Create the container shared directory (if it doesn't exist)
mkdir -p "$CONTAINER_MOUNT_PATH"

# Move the (existing) certificate file to the shared directory
mv myCertificate.pem "$CONTAINER_MOUNT_PATH"

# Create a new botamusique container with the shared directory,
# and then pass the certificate path from the container filesystem
docker run \
    --mount "type=bind,src=${CONTAINER_MOUNT_PATH},destination=/botamusique" \
    -e "BAM_CERTIFICATE=/botamusique/myCertificate.pem" ...

Hope this has been helpful!

from botamusique.

rabook avatar rabook commented on June 16, 2024

谢谢你 我远方的朋友

from botamusique.

Related Issues (20)

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.