MooseElkingtons / mutinyirc

extensible IRC plugin with a simple, yet elegant design.
MIT License
0 stars 1 forks source link

Locks up server initialisation until IRC server is ready or times out. #8

Open upwhere opened 10 years ago

upwhere commented 10 years ago

Server waits until IRC connection is ready, which may take a few minutes. During this time, console commands are unresponsive and player logins time out.

git-Bukkit-1.7.2-R0.2-b2974jnks (MC: 1.7.2) (Implementing API version 1.7.2-R0.2)

[11:01:03 INFO]: [MutinyIRC] Starting IRC connection to example.com.
[11:03:10 ERROR]: [MutinyIRC] Error initiating IRC connection
java.net.ConnectException: Connection timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:1.7.0_55]
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) ~[?:1.7.0_55]
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) ~[?:1.7.0_55]
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) ~[?:1.7.0_55]
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.7.0_55]
        at java.net.Socket.connect(Socket.java:579) ~[?:1.7.0_55]
        at java.net.Socket.connect(Socket.java:528) ~[?:1.7.0_55]
        at java.net.Socket.<init>(Socket.java:425) ~[?:1.7.0_55]
        at java.net.Socket.<init>(Socket.java:208) ~[?:1.7.0_55]
        at com.mutinycraft.irc.plugin.Plugin.onEnable(Plugin.java:39) [MutinyIRC.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:218) [craftbukkit-1.7.2-R0.2.jar:git-Buk
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) [craftbukkit-1.7.2-R0
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:384) [craftbukkit-1.7.2-R
        at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:298) [craftbukkit-1.7.2-R0.2.j
        at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:280) [craftbukkit-1.7.2-R0.
        at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:342) [craftbukkit-1.7.2-R0.2.jar:
        at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:319) [craftbukkit-1.7.2-R0.2.jar:
        at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:275) [craftbukkit-1.7.2-R0.2.jar:
        at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:175) [craftbukkit-1.7.2-R0.2.j
        at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit-1.7.2-R0.2.ja
        at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-1.7.2-R0.2.jar:
[11:03:10 INFO]: [MutinyIRC] MutinyIRC Plugin Enabled.
MooseElkingtons commented 10 years ago

That's odd, it should be thread-safe.