sorroko / httpconsole Goto Github PK
View Code? Open in Web Editor NEWA bukkit plugin to allow access via GET and POST to console
A bukkit plugin to allow access via GET and POST to console
Hello, we keep getting this error
14:40:01 [SEVERE] HTTPConsole: Error writing HTTP request output stream
14:40:01 [SEVERE] Broken pipe
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at java.io.DataOutputStream.writeBytes(Unknown Source)
at org.theanticookie.bukkit.httpconsole.HTTPResponseHeaderHelper.outputHeaders(HTTPResponseHeaderHelper.java:60)
at org.theanticookie.bukkit.httpconsole.HTTPServer.requestHandler(HTTPServer.java:92)
at org.theanticookie.bukkit.httpconsole.HTTPServer.run(HTTPServer.java:335)
14:40:01 [SEVERE] HTTPConsole: Error writing HTTP request output stream
14:40:01 [SEVERE] Broken pipe
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at java.io.DataOutputStream.writeBytes(Unknown Source)
at org.theanticookie.bukkit.httpconsole.HTTPResponseHeaderHelper.outputHeaders(HTTPResponseHeaderHelper.java:60)
at org.theanticookie.bukkit.httpconsole.HTTPServer.requestHandler(HTTPServer.java:92)
at org.theanticookie.bukkit.httpconsole.HTTPServer.run(HTTPServer.java:335)
i use command save-all, and get erorr in my log.
2013-02-12 20:00:01 [INFO] �[34;1m[all] Autosaving world...�[m
2013-02-12 20:00:01 [INFO] CONSOLE: Forcing save..�[m
2013-02-12 20:00:01 [SEVERE] java.util.ConcurrentModificationException
2013-02-12 20:00:01 [SEVERE] at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1115)
2013-02-12 20:00:01 [SEVERE] at java.util.TreeMap$KeyIterator.next(TreeMap.java:1169)
2013-02-12 20:00:01 [SEVERE] at net.minecraft.server.v1_4_R1.WorldServer.a(WorldServer.java:518)
2013-02-12 20:00:01 [SEVERE] at net.minecraft.server.v1_4_R1.ChunkRegionLoader.a(ChunkRegionLoader.java:261)
2013-02-12 20:00:01 [SEVERE] at net.minecraft.server.v1_4_R1.ChunkRegionLoader.a(ChunkRegionLoader.java:126)
2013-02-12 20:00:01 [SEVERE] at net.minecraft.server.v1_4_R1.ChunkProviderServer.saveChunk(ChunkProviderServer.java:208)
2013-02-12 20:00:01 [SEVERE] at net.minecraft.server.v1_4_R1.ChunkProviderServer.saveChunks(ChunkProviderServer.java:265)
2013-02-12 20:00:01 [SEVERE] at net.minecraft.server.v1_4_R1.WorldServer.save(WorldServer.java:709)
2013-02-12 20:00:01 [SEVERE] at org.bukkit.craftbukkit.v1_4_R1.CraftWorld.save(CraftWorld.java:648)
2013-02-12 20:00:01 [SEVERE] at org.bukkit.command.defaults.SaveCommand.execute(SaveCommand.java:30)
2013-02-12 20:00:01 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186)
2013-02-12 20:00:01 [SEVERE] at org.bukkit.craftbukkit.v1_4_R1.CraftServer.dispatchCommand(CraftServer.java:514)
2013-02-12 20:00:01 [SEVERE] at org.theanticookie.bukkit.httpconsole.RequestHandler.executeConsoleCommand(RequestHandler.java:86)
2013-02-12 20:00:01 [SEVERE] at org.theanticookie.bukkit.httpconsole.RequestHandler.HandleRequest(RequestHandler.java:130)
2013-02-12 20:00:01 [SEVERE] at org.theanticookie.bukkit.httpconsole.HTTPServer.requestHandler(HTTPServer.java:139)
2013-02-12 20:00:01 [SEVERE] at org.theanticookie.bukkit.httpconsole.HTTPServer.run(HTTPServer.java:335)
2013-02-12 20:00:01 [SEVERE] HTTPConsole: An HTTP request handler failed
2013-02-12 20:00:01 [SEVERE] Unhandled exception executing 'save-all' in org.bukkit.command.defaults.SaveCommand(save-all)
org.bukkit.command.CommandException: Unhandled exception executing 'save-all' in org.bukkit.command.defaults.SaveCommand(save-all)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:190)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.dispatchCommand(CraftServer.java:514)
at org.theanticookie.bukkit.httpconsole.RequestHandler.executeConsoleCommand(RequestHandler.java:86)
at org.theanticookie.bukkit.httpconsole.RequestHandler.HandleRequest(RequestHandler.java:130)
at org.theanticookie.bukkit.httpconsole.HTTPServer.requestHandler(HTTPServer.java:139)
at org.theanticookie.bukkit.httpconsole.HTTPServer.run(HTTPServer.java:335)
Caused by: java.util.ConcurrentModificationException
at org.bukkit.craftbukkit.v1_4_R1.util.LongObjectHashMap$ValueIterator.next(LongObjectHashMap.java:299)
at net.minecraft.server.v1_4_R1.ChunkProviderServer.saveChunks(ChunkProviderServer.java:257)
at net.minecraft.server.v1_4_R1.WorldServer.save(WorldServer.java:709)
at org.bukkit.craftbukkit.v1_4_R1.CraftWorld.save(CraftWorld.java:648)
at org.bukkit.command.defaults.SaveCommand.execute(SaveCommand.java:30)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186)
... 5 more
2013-02-12 20:00:01 [INFO] �[34;1m[all] Autosaving complete!�[m
Would you possible be able to add a password feature, so for example you have to set the password GET variable to a string defined in the config file.
The current release and the community fixes releases do not work with Minecraft 1.5. The community modified version does run but certain commands such as /lag and /who sent through httpconsole receive an error response instead of the correct information.
A fix would be greatly appreciated.
Error:
http://pastebin.com/raw.php?i=EcsPXeWH
Thanks for the awesome plugin
Command sent was "bal Playername" to get the player balance in their economy account.
It works sometimes and other times I get the following error in the console and the page times out on the request:
2012-04-07 13:41:50 [SEVERE] HTTPConsole: Error reading HTTP request input stream
2012-04-07 13:41:50 [SEVERE] Connection reset
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at org.theanticookie.bukkit.httpconsole.HTTPRequest.(HTTPRequest.java:36)
at org.theanticookie.bukkit.httpconsole.HTTPServer.requestHandler(HTTPServer.java:80)
at org.theanticookie.bukkit.httpconsole.HTTPServer.run(HTTPServer.java:335)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.