Game is crashing on joining server with DH on client and server
[21:56:54] [DH-LOD Update Propagator Thread[1]/ERROR] [Di.se.di.co.fi.AbstractDataSourceHandler/]: Error updating pos [-250], error: com.seibel.distanthorizons.core.sql.DbConnectionClosedException: java.sql.SQLException: database connection closed
java.lang.RuntimeException: com.seibel.distanthorizons.core.sql.DbConnectionClosedException: java.sql.SQLException: database connection closed
at com.seibel.distanthorizons.core.sql.repo.FullDataSourceV2Repo.getTimestampsForRange(FullDataSourceV2Repo.java:344) ~[DistantHorizons-forge-2.3.0-a-dev-1.20.1.jar%23724!/:2.3.0-a-dev] {re:classloading}
at com.seibel.distanthorizons.core.file.fullDatafile.FullDataSourceProviderV2.getTimestampsForRange(FullDataSourceProviderV2.java:627) ~[DistantHorizons-forge-2.3.0-a-dev-1.20.1.jar%23724!/:2.3.0-a-dev] {re:classloading}
at com.seibel.distanthorizons.core.file.fullDatafile.RemoteFullDataSourceProvider.get(RemoteFullDataSourceProvider.java:91) ~[DistantHorizons-forge-2.3.0-a-dev-1.20.1.jar%23724!/:2.3.0-a-dev] {re:classloading}
at com.seibel.distanthorizons.core.file.fullDatafile.RemoteFullDataSourceProvider.get(RemoteFullDataSourceProvider.java:41) ~[DistantHorizons-forge-2.3.0-a-dev-1.20.1.jar%23724!/:2.3.0-a-dev] {re:classloading}
at com.seibel.distanthorizons.core.file.AbstractDataSourceHandler.updateDataSourceAtPos(AbstractDataSourceHandler.java:247) ~[DistantHorizons-forge-2.3.0-a-dev-1.20.1.jar%23724!/:2.3.0-a-dev] {re:classloading}
8 Replies
at com.seibel.distanthorizons.core.file.AbstractDataSourceHandler.lambda$updateDataSourceAsync$1(AbstractDataSourceHandler.java:204) ~[DistantHorizons-forge-2.3.0-a-dev-1.20.1.jar%23724!/:2.3.0-a-dev] {re:classloading}
at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source) ~[?:?] {}
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?] {}
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?] {}
at java.lang.Thread.run(Unknown Source) ~[?:?] {re:mixin}
Caused by: com.seibel.distanthorizons.core.sql.DbConnectionClosedException: java.sql.SQLException: database connection closed
at com.seibel.distanthorizons.core.sql.repo.AbstractDhRepo.createPreparedStatement(AbstractDhRepo.java:423) ~[DistantHorizons-forge-2.3.0-a-dev-1.20.1.jar%23724!/:2.3.0-a-dev] {re:classloading}
at com.seibel.distanthorizons.core.sql.repo.FullDataSourceV2Repo.getTimestampsForRange(FullDataSourceV2Repo.java:321) ~[DistantHorizons-forge-2.3.0-a-dev-1.20.1.jar%23724!/:2.3.0-a-dev] {re:classloading}
... 9 more
Caused by: java.sql.SQLException: database connection closed
at org.sqlite.SQLiteConnection.checkOpen(SQLiteConnection.java:429) ~[DistantHorizons-forge-2.3.0-a-dev-1.20.1.jar%23724!/:2.3.0-a-dev] {re:classloading}
at org.sqlite.jdbc4.JDBC4Connection.prepareStatement(JDBC4Connection.java:31) ~[DistantHorizons-forge-2.3.0-a-dev-1.20.1.jar%23724!/:2.3.0-a-dev] {re:classloading}
at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:225) ~[DistantHorizons-forge-2.3.0-a-dev-1.20.1.jar%23724!/:2.3.0-a-dev] {re:classloading}
at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:205) ~[DistantHorizons-forge-2.3.0-a-dev-1.20.1.jar%23724!/:2.3.0-a-dev] {re:classloading}
at com.seibel.distanthorizons.core.sql.repo.AbstractDhRepo.createPreparedStatement(AbstractDhRepo.java:415) ~[DistantHorizons-forge-2.3.0-a-dev-1.20.1.jar%23724!/:2.3.0-a-dev] {re:classloading}
at com.seibel.distanthorizons.core.sql.repo.FullDataSourceV2Repo.getTimestampsForRange(FullDataSourceV2Repo.java:321) ~[DistantHorizons-forge-2.3.0-a-dev-1.20.1.jar%23724!/:2.3.0-a-dev] {re:classloading}
... 9 more
Weird, the database is either closing when it shouldn't, or never opening.
Never seen this before
If you dont care about the LODs you've generated, try deleting them.
/lodstored
Single Player:
- Overworld:
.minecraft/saves/WORLD_NAME/data/DistantHorizons.sqlite
- Nether: .minecraft/saves/WORLD_NAME/DIM-1/data/DistantHorizons.sqlite
- End: .minecraft/saves/WORLD_NAME/DIM1/data/DistantHorizons.sqlite
- Custom Dimensions: .minecraft/saves/WORLD_NAME/DIMENSION_FOLDER/data/DistantHorizons.sqlite
Multiplayer:
- .minecraft/Distant_Horizons_server_data/SERVER_NAME/
/logstored
You should send your
latest.log
file to provide additional useful information.
Logs are usually located in the .minecraft/logs
directory.
On Windows: %appdata%\.minecraft\logs
On Linux: ~/.minecraft/logs
On Mac: ~/Library/Application Support/minecraft/logs
Please upload the file to mclo.gs instead of sending the raw file. This makes reading the contents of the file a lot easier and improves the chances of you getting the help needed.
After uploading the file, click on Save
and send the link.actually i found the cause, sorry to bother yall
i think i thought it was DH fault because of the error when in reality it was throwing the error because of a DIFFERENT issue that didnt actually cause a crash itself
basically using C3ME would prevent players from loading into the server, and when the players got stuck on Joining World... certain mods like DH would hang or something and start tweaking
but the problem was with C3ME, not yall
(C3ME is the version of c2me that works with sinytra)
it works in singleplayer, and the server ran fine with it installed so i just assumed it was one of the mods in the crash report
very odd
Remember that C2ME slows DH generator by up to 30%
i understand, DH is disabled on the server since i was gonna use chunky to load all the chunks beforehand
c2me/c3me was to speed up that process