Skip to content

Troubleshooting

Alexander Smirnov edited this page Mar 12, 2019 · 12 revisions

ADVICE: Join our Discord group and check pinned messages in #general channel. You can also ask your questions there and we will answer them if possible.

Console log spams "Starting Web Server" message

This behavior means that bot app can't initialize built-in web server using the settings specified in settings.json file. Usually it means that specified port is being used by another application or is closed by your OS/router/provider/whatever. If your host machine don't have direct access to your internet IP (e.g. you use router hardware) may be it is wise to configure port forwarding to route requests from you external IP:PORT to internal network IP:PORt available to your host machine.

WARNING: If you use Digital Ocean hosting please use search on #general channel on our Discord to solve possible IP/Port issues. In short: with DO you should add firewall rule to accept port 8000 as all ports there are closed by default.

Console log displays some error messages colored in RED

Contact me on Discord or create new issue on GitHub and we will get it sorted out and fixed!

MySQL database connection throws an error like EnsureDBExists

Docker runs inside its own container so to access MySQL you will have to allow remote connections to the database and then connect to it via public ip instead of localhost. When you use localhost on Docker it tries to look for a MySQL inside the Docker container.