Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crashes if no internet #2950

Open
2 tasks done
SergioK29 opened this issue Oct 19, 2024 · 1 comment
Open
2 tasks done

crashes if no internet #2950

SergioK29 opened this issue Oct 19, 2024 · 1 comment

Comments

@SergioK29
Copy link

Server Implementation

Paper

Server Version

1.21

Describe the bug

I have reported this bug before, months ago, still not fixed #2756

[23:26:07 ERROR]: Error occurred while enabling FastAsyncWorldEdit v2.11.3-SNAPSHOT-937;91bdd15 (Is it up to date?)
java.net.SocketTimeoutException: Connection timed out
at java.net.http/jdk.internal.net.http.HttpRequestImpl.(HttpRequestImpl.java:137) ~[java.net.http:?]
at java.net.http/jdk.internal.net.http.HttpClientImpl.sendAsync(HttpClientImpl.java:1018) ~[java.net.http:?]
at java.net.http/jdk.internal.net.http.HttpClientImpl.sendAsync(HttpClientImpl.java:990) ~[java.net.http:?]
at java.net.http/jdk.internal.net.http.HttpClientImpl.sendAsync(HttpClientImpl.java:982) ~[java.net.http:?]
at java.net.http/jdk.internal.net.http.HttpClientFacade.sendAsync(HttpClientFacade.java:143) ~[java.net.http:?]
at FastAsyncWorldEdit-Bukkit-2.11.3-SNAPSHOT-937.jar/com.fastasyncworldedit.core.util.UpdateNotification.doUpdateCheck(UpdateNotification.java:43) ~[FastAsyncWorldEdit-Bukkit-2.11.3-SNAPSHOT-937.jar:?]
at FastAsyncWorldEdit-Bukkit-2.11.3-SNAPSHOT-937.jar/com.sk89q.worldedit.bukkit.WorldEditPlugin.onEnable(WorldEditPlugin.java:241) ~[FastAsyncWorldEdit-Bukkit-2.11.3-SNAPSHOT-937.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[paper-1.21.1.jar:1.21.1-DEV-7cd4f2c]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.21.1.jar:1.21.1-DEV-7cd4f2c]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:640) ~[paper-1.21.1.jar:1.21.1-DEV-7cd4f2c]
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:589) ~[paper-1.21.1.jar:1.21.1-DEV-7cd4f2c]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:293) ~[paper-1.21.1.jar:1.21.1-DEV-7cd4f2c]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1214) ~[paper-1.21.1.jar:1.21.1-DEV-7cd4f2c]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329) ~[paper-1.21.1.jar:1.21.1-DEV-7cd4f2c]
at java.base/java.lang.Thread.run(Thread.java:1570) ~[?:?]

To Reproduce

have no internet/ firewall, FAWE refuses to boot because there is no try catch in its update checker

Expected behaviour

Shouldn't crash when no internet

Screenshots / Videos

No response

Error log (if applicable)

No response

Fawe Debugpaste

no

Fawe Version

FastAsyncWorldEdit-Bukkit-2.11.3-SNAPSHOT-937.jar

Checklist

Anything else?

No response

@SergioK29 SergioK29 added the Requires Testing This is a new issue which needs to be approved before labeled with "bug" label Oct 19, 2024
@dordsor21
Copy link
Member

I'm unable to replicate this. The exception is correctly caught by the CompletableFuture and the server loads as normal

@dordsor21 dordsor21 added [✖] Cannot Replicate and removed Requires Testing This is a new issue which needs to be approved before labeled with "bug" labels Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants