1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help with UmbAccess

Discussion in 'Skript' started by Duetro, Apr 18, 2017.

Thread Status:
Not open for further replies.
  1. Duetro

    Duetro Active Member

    Joined:
    Jan 26, 2017
    Messages:
    138
    Likes Received:
    51
    Medals:
    Hey, i am currently making some Websites for my Server using UmbAccess.


    I am always getting this error when trying to send 8193 Characters (8192 are working)

    Code (Skript):
    1. [18:43:48] [Server thread/WARN]: [Umbaska] [Fail] Failed to send back the string `X to web server on port 8315
    2. [18:43:48] [Server thread/WARN]: java.io.IOException: response headers not sent yet
    3. [18:43:48] [Server thread/WARN]:     at sun.net.httpserver.PlaceholderOutputStream.checkWrap(Unknown Source)
    4. [18:43:48] [Server thread/WARN]:     at sun.net.httpserver.PlaceholderOutputStream.write(Unknown Source)
    5. [18:43:48] [Server thread/WARN]:     at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
    6. [18:43:48] [Server thread/WARN]:     at sun.nio.cs.StreamEncoder.implWrite(Unknown Source)
    7. [18:43:48] [Server thread/WARN]:     at sun.nio.cs.StreamEncoder.write(Unknown Source)
    8. [18:43:48] [Server thread/WARN]:     at sun.nio.cs.StreamEncoder.write(Unknown Source)
    9. [18:43:48] [Server thread/WARN]:     at java.io.OutputStreamWriter.write(Unknown Source)
    10. [18:43:48] [Server thread/WARN]:     at java.io.Writer.write(Unknown Source)
    11. [18:43:48] [Server thread/WARN]:     at uk.co.umbaska.modules.access.skript.webserver.effects.EffSendBack.execute(EffSendBack.java:33)
    12. [18:43:48] [Server thread/WARN]:     at ch.njol.skript.lang.Effect.run(Effect.java:54)
    13. [18:43:48] [Server thread/WARN]:     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:65)
    14. [18:43:48] [Server thread/WARN]:     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:93)
    15. [18:43:48] [Server thread/WARN]:     at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
    16. [18:43:48] [Server thread/WARN]:     at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:152)
    17. [18:43:48] [Server thread/WARN]:     at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:112)
    18. [18:43:48] [Server thread/WARN]:     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    19. [18:43:48] [Server thread/WARN]:     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
    20. [18:43:48] [Server thread/WARN]:     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
    21. [18:43:48] [Server thread/WARN]:     at uk.co.umbaska.modules.access.skript.webserver.handlers.EventWebHandler$1.run(EventWebHandler.java:39)
    22. [18:43:48] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71)
    23. [18:43:48] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353)
    24. [18:43:48] [Server thread/WARN]:     at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:738)
    25. [18:43:48] [Server thread/WARN]:     at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399)
    26. [18:43:48] [Server thread/WARN]:     at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678)
    27. [18:43:48] [Server thread/WARN]:     at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576)
    28. [18:43:48] [Server thread/WARN]:     at java.lang.Thread.run(Unknown Source)

    Does someone know how to fix this?
     
    #1 Duetro, Apr 18, 2017
    Last edited: Apr 18, 2017
    • Funny Funny x 1
  2. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    I'd imagine the solution is to not send more than 8192 characters. It seems like a somewhat arbitrary cap to me (it's 2^13, so three bytes and a bit), but if that's all you're able to send then there's probably a reason for it.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...