azlux / botamusique

Bot to play youtube / soundcloud / radio / local music on Mumble (using pymumble).
MIT License
311 stars 78 forks source link

Problems with web interface #244

Closed CodingArctic-zz closed 3 years ago

CodingArctic-zz commented 3 years ago

Describe the bug When enabling web interface, I can't access it from my browser on my main pc. I'm running botamusique on an amazon aws server, and have tested opening all ports to everything, with no success.

Affected version Latest

To Reproduce Steps to reproduce the behavior:

  1. Enable web interface
  2. Try to access web interface online
  3. See it not work

Expected behavior I expect it to let me open the web interface :p

Screenshots https://i.imgur.com/Fwp9rco.png https://i.imgur.com/MooOLAy.png

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

azlux commented 3 years ago

Did you have any reverse proxy front of the botamusique ? If not, you should listen 0.0.0.0 (all networks) I recommend a reverse proxy if you can have one (nginx for example).

CodingArctic-zz commented 3 years ago

@azlux setting it to 0.0.0.0 worked! would it be better to setup a reverse proxy? and if so how should i do that

CodingArctic-zz commented 3 years ago

now my console spamming with these: https://i.imgur.com/fmZ1dDY.png

music is playing fine tho? and web interface is working

update: looks like they only spam when i'm connected to the web interface

TerryGeng commented 3 years ago

These outputs are fine. It indicates the web interface is talking to the client.

Please let me know if you have further questions.

TerryGeng commented 3 years ago

would it be better to setup a reverse proxy? and if so how should i do that

It would if you have a well-managed website with domains and SSLs done. You can check out the wiki page of this repo. But it is not really necessary for you I think. It's just a good practice.

CodingArctic-zz commented 3 years ago

alright, and this a bad place to ask about running botamusique as a daemon? I'm having issues with supervisor @TerryGeng

TerryGeng commented 3 years ago

You can ask, but I would strongly recommend you read the official manual and see the examples of supervisor first.

CodingArctic-zz commented 3 years ago

I went through their tutorial, and to start it, it said to run $BINDIR/supervisord but that just gives me a no such file or directory error.

TerryGeng commented 3 years ago

You are seeing the wrong guide. You need to check out how to run supervisors on your Linux distributions.

E.g. try a search of "install supervisors on ubuntu/debian/centos"

CodingArctic-zz commented 3 years ago

https://i.imgur.com/DQSN4jO.png

getting this when attempting to start. followed a guide on ubuntu

TerryGeng commented 3 years ago

Looks like you are asking for very specific help. This is not the purpose of a github issue.

Please come to #mumble at freenode.net so we can continue.