Downloading Terrain?

Discussion in 'Bukkit Help' started by Macks, Feb 16, 2011.

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

    Macks

    When I or anyone try to connect to my Craftbukkit server (or even default minecraft server software), it hangs at "Downloading Terrain" and gives a disconnect.genericReason error in the cmd.

    I can connect to the server fine with localhost.

    Any suggestions? I've enabled 25565 as an exception in Windows firewall.
     
  2. Offline

    gnftoxic

  3. Offline

    Macks

    I have several plugins enabled, but I get the same problem when I disable them or run the stock Minecraft server. I have the latest version of CB.

    Windows 7 64 bit, as well.
     
  4. Offline

    TnT

    You and another guy on here are having the same problems. Exactly the same. Windows 7 x64.
    As of yet, I do not know why. If it happens on stock MC server though, it has to be something with either your router, Windows Firewall, or some Antivirus/Firewall software, imo.
     
  5. Offline

    mughi

    random shot.. does windows think your local network is public or private/office?
     
  6. Offline

    Macks

    It just shows it as a home network.
     
  7. Offline

    mughi

    i THINK that means it trusts other computers... so much for that idea

    you say it works with a client on the same physical machine as the server, but not other machines.
    have you tried another machine on the same network (so behind your router/modem)?
     
  8. Offline

    Macks

    A few more pieces of info:

    - It hangs at "Logging in" for everyone, and it only hangs at "Downloading terrain" for me.
    - I've allocated 1024mb of ram to the server, with no change in performance.
    - Modem: Motorola SB5101U
    - Router: Netgear Wireless-N 150
     
  9. Offline

    mughi

    This is probably a dumb question, but it keeps bugging me. Your symptoms sound almost exactly like the results of trying to use a new minecraft client with an old server (from back when MC went from alpha to beta)

    the fact that the forums are not flooded with this probably means that notch hasn't pushed a new client, and the fact that you can connect with a local client probably invalidates in anyhow, but I figured i may as well throw it out there.. your client/server ARE up to date, right? :)
     
  10. Offline

    Macks

    Ok, I just tried connecting with another computer and it hangs at "Logging in" every time. It could be just me hanging at "Downloading terrain" since I didn't verify with other users.

    So every user hangs at "Logging in", and I (running on the server machine) hang at "Downloading terrain".

    Edit: Yes, client and server are newest version.
     
  11. Offline

    mughi

    you said in your original post that it worked if you connected via localhost. generally that indicates a client running on the server..

    can you confirm if that does or does not work.. because that changes everything troubleshooting wise
     
  12. Offline

    Macks

    If I connect via Localhost, it connects fine. If I connect with the external IP address, it hangs.
     
  13. Offline

    TnT

  14. Offline

    Macks

    I just set up a static IP address, and now I can't even connect to the server.

    Any thoughts?

    Edit: I can still connect via Localhost, just not external IP.
     
  15. Offline

    JohnTheRipper

    Here's one thing to consider...

    Most of the time, when you setup a port forward, you do something like 10.0.0.220 (computer IP) forwards port 25565 to external. However, if your computer's IP (NOT the external IP) changes, then it can't find it unless you connect via localhost OR fix the computer's IP as static at 10.0.0.220 (example).

    Though that (above) is a bit of a different thing, it's semi-possible some of the problems are caused by this.
     
  16. Offline

    Macks

    I just changed the port forward to my new static IP, and I'm back to the same problem.
     
  17. Offline

    mughi

    i've asked this, but not quite sure i've gotten a direct answer.

    if you connect using a different physical machine, on the SAME physical network, what happens?
    you would use the internal IP of the server for this (or its name)

    [assuming you are not familiar w/ networks, i'll explain .. if you are, then you can just ignore the rest of this message] [numbers pulled from a dark dark place, and are not likely to match exactly]

    ISP (cable company) --------- ROUTER --------------------- SERVER
    66.66.74.1..........66.66.74.43...192.168.1.1.......192.168.1.10

    other computer: 192.168.1.15

    other computer would connect to 192.168.1.10:25565

    that will verify if your router is stopping the traffic or if the server is doing it.
     
  18. Offline

    Macks

    Trying this right now.
    --- merged: Feb 16, 2011 8:00 PM ---
    I tried this, and it gives the same problem; hangs at login, and disconnects.
     
  19. Offline

    mughi

    and you definitely have an entry in the windows firewall to allow craftbukkit in/out?
     
  20. Offline

    Macks

    I don't know how to let a Java program through the firewall, though I do have the port opened through it.
     
  21. Offline

    mughi

    in AND out?

    i guess you could let JAVA.EXE through, but that seems like a REALLY BAD IDEA :)
     
  22. Offline

    Macks

    In and out, yes.
    --- merged: Feb 16, 2011 8:26 PM ---
    2011-02-16 14:23:23 [INFO] Starting minecraft server version Beta 1.2_01
    2011-02-16 14:23:23 [INFO] Loading properties
    2011-02-16 14:23:23 [INFO] Starting Minecraft server on *:25565
    2011-02-16 14:23:23 [INFO] This server is running Craftbukkit version git-Bukkit
    -0.0.0-409-gcb2bced (MC: 1.2_01)
    2011-02-16 14:23:23 [INFO] Preparing level "world4"
    2011-02-16 14:23:23 [INFO] Preparing start region
    2011-02-16 14:23:24 [INFO] Preparing spawn area: 48%
    2011-02-16 14:23:26 [INFO] Preparing spawn area: 89%
    2011-02-16 14:23:26 [INFO] Loaded Essentials build 192 by Zenexer, ementalo, Eri
    s, and Brettflan
    2011-02-16 14:23:26 [INFO] Loaded EssentialsHelp build 192 by Zenexer, ementalo,
    Eris, and EggRoll
    2011-02-16 14:23:26 [INFO] Loaded EssentialsHome build 192 by Zenexer, ementalo,
    Eris, and Brettflan
    2011-02-16 14:23:26 [INFO] Loaded EssentialsSpawn build 192 by Zenexer, ementalo
    , Eris, and Brettflan
    2011-02-16 14:23:26 [INFO] Minecart Mania Core version 0.9 is enabled!
    2011-02-16 14:23:26 [INFO] Done! For help, type "help" or "?"
    138 recipes
    2011-02-16 14:23:49 [INFO] Yrl [/98.163.235.26:50721] logged in with entity id 1
    66
    Player count: 1
    2011-02-16 14:23:55 [INFO] Yrl lost connection: disconnect.endOfStream
    2011-02-16 14:23:56 [INFO] Freed 103.79241943359375 MB.
    2011-02-16 14:23:57 [INFO] Yrl [/98.163.235.26:50727] logged in with entity id 2
    31
    Player count: 1
    java.net.SocketException: Connection reset by peer: socket write error
    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.write(Unknown Source)
    at net.minecraft.server.Packet.a(SourceFile:113)
    at net.minecraft.server.NetworkManager.e(SourceFile:142)
    at net.minecraft.server.NetworkManager.d(SourceFile:15)
    at net.minecraft.server.NetworkWriterThread.run(SourceFile:85)
    2011-02-16 14:24:19 [INFO] Yrl lost connection: disconnect.genericReason
    2011-02-16 14:24:20 [INFO] Freed 59.706939697265625 MB.
    2011-02-16 14:24:24 [INFO] Yrl [/98.163.235.26:50735] logged in with entity id 3
    16
    Player count: 1
    java.net.SocketException: Connection reset by peer: socket write error
    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.write(Unknown Source)
    at net.minecraft.server.Packet.a(SourceFile:113)
    at net.minecraft.server.NetworkManager.e(SourceFile:142)
    at net.minecraft.server.NetworkManager.d(SourceFile:15)
    at net.minecraft.server.NetworkWriterThread.run(SourceFile:85)
    2011-02-16 14:24:43 [INFO] Yrl lost connection: disconnect.genericReason
    2011-02-16 14:24:44 [INFO] Freed 61.757530212402344 MB.
    --- merged: Feb 16, 2011 8:26 PM ---
    I thought this might help.
     
  23. Offline

    mughi

    several dumb questions:

    1. did it ever work?
    2. how does the server handle other network traffic (loose cable, bad card/port/etc)
     
  24. Offline

    Macks

    It has never worked, save for me directly connecting with localhost or server IP.

    The server computer has served as my main computer for a while, and it handles internet gaming like a pro.
    --- merged: Feb 16, 2011 8:35 PM ---
    On a side note, I briefly attempted to hook up my gaming laptop (on the same network) as a server and ran into the same problem.
     
  25. Offline

    mughi

    what os is on the laptop?
     
  26. Offline

    Macks

    Same as the server, Windows 7 64 bit.
    --- merged: Feb 16, 2011 8:40 PM ---
    I really do wonder about your theory; could the router/modem be completely stopping the connection as the player logs in?
     
  27. Offline

    mughi

    usually they do not restrict internal traffic.. (LAN side)

    unless you have a switch or crossover cable laying around, it will be difficult to verify that though.
     
  28. Offline

    Macks

    I don't know what else to try, other than assume that my router/modem will not let people connect to the server.
     
  29. Offline

    mughi

    quoting TNT to bring him in here for second opinion..

    what about an ubuntu live cd and a usb disk?
    yeah it will be slower than dirt, but it will eliminate windows from the equation...
    --- merged: Feb 16, 2011 9:08 PM ---
    @Macks

    if my previous post made sense to you, try it..
    1. put craftbukkit on a usb stick
    2. download an ubuntu live cd
    3. boot from the cd
    4. insert the stick
    5. try running craftbukkit and connecting
    if that doesn't make sense, hold off until i get a second opinion before i provide more detail
     
  30. Offline

    TnT

    Its worth a shot, at least to test out the problem. Would be nice to get these guys up and running.
     
Thread Status:
Not open for further replies.

Share This Page