Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

No connection to database #11

@FreezFree

Description

@FreezFree

Brief background:
Everything has worked before, but since I moved the bot files to a new server, unfortunately nothing works anymore.

When I started the application for the first time on the new server (bot was not yet on any discord server) the logs looked good:
[08:17:15.818][main][DEBUG]: com.shimmermare.inviteroles.InviteRoles: Reading application properties from resource [08:17:15.823][main][INFO]: com.shimmermare.inviteroles.InviteRoles: Starting InviteRoles Discord Bot version 1.0.1-SNAPSHOT. I'm alive! [08:17:16.532][OkHttp https://discordapp.com/...][DEBUG]: net.dv8tion.jda.internal.requests.Requester: Received response with following cf-rays: [5f487e6e3ace2681-TXL] [08:17:16.934][OkHttp https://discordapp.com/...][DEBUG]: net.dv8tion.jda.internal.requests.Requester: Received response with following cf-rays: [5f487e6f8def2681-TXL] [08:17:16.938][main][INFO]: net.dv8tion.jda.api.JDA: Login Successful! [08:17:17.225][JDA MainWS-ReadThread][INFO]: net.dv8tion.jda.internal.requests.WebSocketClient: Connected to WebSocket [08:17:17.225][JDA MainWS-ReadThread][DEBUG]: net.dv8tion.jda.internal.requests.WebSocketClient: Sending Identify-packet... [08:17:17.282][JDA MainWS-ReadThread][DEBUG]: net.dv8tion.jda.internal.requests.WebSocketClient: Got HELLO packet (OP 10). Initializing keep-alive. [08:17:17.479][JDA MainWS-ReadThread][DEBUG]: net.dv8tion.jda.internal.handle.GuildSetupController: Setting incomplete count to 0 [08:17:17.480][JDA MainWS-ReadThread][INFO]: net.dv8tion.jda.api.JDA: Finished Loading! [08:17:17.516][main][INFO]: com.shimmermare.inviteroles.InviteRoles: Successfully logged in as FF-Invite (745918671117090816). [08:17:17.601][main][INFO]: com.shimmermare.inviteroles.DatabaseService: Successfully connected to database './InviteRoles.db'. [08:17:17.603][main][INFO]: com.shimmermare.inviteroles.InviteRoles: Currently joined 0 servers with a total of 0 members. [08:18:03.284][JDA MainWS-ReadThread][DEBUG]: net.dv8tion.jda.internal.handle.GuildSetupController: Sending chunking requests for 1 guilds [08:18:03.492][JDA Gateway-Worker 1][DEBUG]: net.dv8tion.jda.internal.requests.WebSocketClient: Sending chunk/sync request {"op":8,"d":{"query":"","guild_id":711319243592826941,"limit":0}}

Then I invited the bot to my discord server. After a restart of the .jar file, there is no message anymore that a connection to the database is being established and the bot does not respond to any commands in Discord.
Neither with "/ir", nor with "/inviteroles".
(The bot did not accept any commands even at the first start with successful connection to the database).

Current logs (The last two lines are constantly repeated):
[08:35:34.188][main][DEBUG]: com.shimmermare.inviteroles.InviteRoles: Reading application properties from resource [08:35:34.193][main][INFO]: com.shimmermare.inviteroles.InviteRoles: Starting InviteRoles Discord Bot version 1.0.1-SNAPSHOT. I'm alive! [08:35:34.957][OkHttp https://discordapp.com/...][DEBUG]: net.dv8tion.jda.internal.requests.Requester: Received response with following cf-rays: [5f48993f585c2671-TXL] [08:35:35.275][OkHttp https://discordapp.com/...][DEBUG]: net.dv8tion.jda.internal.requests.Requester: Received response with following cf-rays: [5f4899407b182671-TXL] [08:35:35.279][main][INFO]: net.dv8tion.jda.api.JDA: Login Successful! [08:35:35.588][JDA MainWS-ReadThread][INFO]: net.dv8tion.jda.internal.requests.WebSocketClient: Connected to WebSocket [08:35:35.588][JDA MainWS-ReadThread][DEBUG]: net.dv8tion.jda.internal.requests.WebSocketClient: Sending Identify-packet... [08:35:35.628][JDA MainWS-ReadThread][DEBUG]: net.dv8tion.jda.internal.requests.WebSocketClient: Got HELLO packet (OP 10). Initializing keep-alive. [08:35:35.823][JDA MainWS-ReadThread][DEBUG]: net.dv8tion.jda.internal.handle.GuildSetupController: Setting incomplete count to 1 [08:35:35.851][JDA MainWS-ReadThread][DEBUG]: net.dv8tion.jda.internal.handle.GuildSetupController: Sending chunking requests for 1 guilds [08:35:36.300][JDA Gateway-Worker 1][DEBUG]: net.dv8tion.jda.internal.requests.WebSocketClient: Sending chunk/sync request {"op":8,"d":{"query":"","guild_id":[711319243592826941],"limit":0}} [08:35:55.824][JDA Gateway-Worker 1][DEBUG]: net.dv8tion.jda.internal.handle.GuildSetupController: Sending chunking requests for 1 guilds [08:35:56.321][JDA Gateway-Worker 1][DEBUG]: net.dv8tion.jda.internal.requests.WebSocketClient: Sending chunk/sync request {"op":8,"d":{"query":"","guild_id":[711319243592826941],"limit":0}} [08:36:15.825][JDA Gateway-Worker 1][DEBUG]: net.dv8tion.jda.internal.handle.GuildSetupController: Sending chunking requests for 1 guilds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions