Giter Club home page Giter Club logo

Comments (7)

moonstar-x avatar moonstar-x commented on June 28, 2024

Fixed in #39.

from discord-tts-bot.

haloflooder avatar haloflooder commented on June 28, 2024

Fixed in #39.

Didn't want to create a new issue but it seems like this problem still exists.

I'm hosting the bot via docker with docker-compose and when you use "aeiou", it does nothing. Then when you try to use "say", the bot no longer says anything.

from discord-tts-bot.

moonstar-x avatar moonstar-x commented on June 28, 2024

Have you tried updating your container to the latest image?

I haven't had this issue in a really long time and I've been hosting the bot for over 200 servers. Do you get a 400 error code as well?

from discord-tts-bot.

haloflooder avatar haloflooder commented on June 28, 2024

I put it up a fresh instance 2 days ago but just pulled the latest image right now just in case. Seems like the problem still exists on my side and not sure what could be causing it. Going to try hosting it somewhere else to see if it's somehow an issue with the connection on the current host I'm using.

I don't get any 400 error code in console or dm's.

I also discovered that instead of just restarting the docker container to get it unstuck, you can just use the stop command then use say afterwards. After the aeiou clip plays nothing (it shows "Playing aeiou for " in console), the bot doesn't play any other clips from say or aeiou.

console logs

Just for reference, this is the docker compose I'm using in case you wanted to see it

version: "3.2"

services:
  obbytts:
    image: moonstarx/discord-tts-bot
    restart: always
    environment:
      DISCORD_TOKEN: "<redacted>"
      DISCORD_PREFIX: "."
      DISCORD_OWNER_ID: 136676457987571713

from discord-tts-bot.

moonstar-x avatar moonstar-x commented on June 28, 2024

Hmmm, this is weird, it doesn't seem like it's related to the initial problem from this issue.

This kinda looks like aeiou doesn't work altogether for you, not that using aeiou first (making the bot join the channel with aeiou) would break subsequent requests.

It could certainly be the host you're using that cannot connect to the url from where the aeiou tts is being pulled.

Are you hosting on firebase / google cloud platform by any chance?

from discord-tts-bot.

haloflooder avatar haloflooder commented on June 28, 2024

Yeah, doesn't matter if the bot was summoned with say or aeiou. Just doesn't work overall for some reason and makes the bot stuck after using aeiou.

I currently have the bot hosted on a VPS at OVH (4 vcore, 8gb ram, gigabit). I will see if I'll have better luck at my homelab. Funny thing is, I am also having an ongoing unrelated problem recently with other discord bots I'm hosting. Haven't seen this issue before at this host but it takes 5 seconds to react/respond to the discord api which is odd but don't think that would affect the tts bot unless you think it would.

When I get around to it, I will try running the bot in my homelab.

Btw, should I just make a new issue since it's not related to the 400 request error or is it fine to stick to this issue?

from discord-tts-bot.

moonstar-x avatar moonstar-x commented on June 28, 2024

I think it would be best if you created a new issue just so that the conversation stays relevant there, as long as you feel as the issue is really related to the project because so far it sounds like it's an issue with your VPS.

I've never used OVH before for VPSs so I wouldn't be able to give you an honest opinion on them. However, I suspect that it must be an issue on the OVH side since you mention you're having latency issues to the discord API on other bots.

It somewhat sounds like outgoing connections are being throttled by either something in your VPS or by OVH themselves because if you're having trouble with small payloads (like reacting...), sending voice packets will surely be affected.

In any case, try it in your homelab to see if it works, if it does then you can assume that the problem lies in your VPS. Maybe even try deploying a new VPS instance to see if it's a config issue or something?

from discord-tts-bot.

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.