Giter Club home page Giter Club logo

Comments (3)

Nabrok avatar Nabrok commented on June 28, 2024

Is this happening every time you try to start the bot?

from gw2-discord-bot.

myurkoski avatar myurkoski commented on June 28, 2024

No, strangely it happens after the bot has been running for nearly 24 hrs, happily servicing peoples requests the entire time.

If you would like, I can post a longer log dump, which will include logging from when I fired it up, as well as the other failure to date.

from gw2-discord-bot.

Walavouchey avatar Walavouchey commented on June 28, 2024

Looking at the code where the error event was emitted from,
(discord.js/src/client/websocket/WebSocketConnection.js/371:17)
it's described as "Emitted whenever the client's WebSocket encounters a connection error."

I'm no expert on this, but I suppose if connection errors are unhandled, you need to handle them yourself. It's simply a connection issue, so you don't need to post a longer log dump. You need to either have a fully stable internet or find a way to make it reconnect automatically.

If a connection error occurs after 24 hours, it's likely just your internet having some sort of timeout.

from gw2-discord-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.