Skip to content

Warning: Plugin "Anti-VPN Plugin" has had an unhandled exception thrown by one of its GameInitialize handlers:  #15

@CyniBot

Description

@CyniBot

[01/14/25 09:40:30] [Server API] Warning: Plugin "Anti-VPN Plugin" has had an unhandled exception thrown by one of its GameInitialize handlers:
System.Exception: Fatal TShock initialization exception: failed to connect to MySQL database. See inner exception for details.
---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'near ".0": syntax error'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()
at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
at TShockAPI.DB.DbExt.QueryReader(IDbConnection olddb, String query, Object[] args)
--- End of inner exception stack trace ---
at TShockAPI.DB.DbExt.QueryReader(IDbConnection olddb, String query, Object[] args)
at AntiVPN_TShock.Data.IPBans.GetTimeIpWasAdded(String ip)
at AntiVPN_TShock.AntiVPN_TShock.cleanTrustedIps()
at AntiVPN_TShock.AntiVPN_TShock.OnInitialize(EventArgs args)
at TerrariaApi.Server.HandlerCollection`1.Invoke(ArgsType args) in /home/runner/work/TShock/TShock/TerrariaServerAPI/TerrariaServerAPI/TerrariaApi.Server/HandlerCollection.cs:line 109

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