1. These forums are still being retired! Please use GitHub discussions or Discord. You cannot create new threads or new accounts now. If you need to contact some user of the forums, you should do it sooner, rather than later. This notice was last updated on May 30th, 2021.

Resolved Players stop being able to connect

Discussion in 'Help and Support' started by Tyson Strange, Oct 9, 2013.

Thread Status:
Not open for further replies.
  1. Tyson Strange

    Tyson Strange Level 5

    Joined:
    Jul 23, 2011
    Messages:
    107
    The last few days, my sever has been locking up after several hours of working fine.

    The console doent show any errors, it shows people still connected although they aren't, and it continues to print "<IP Address> is connecting....> although they never do.

    Attached, because paste bin is down atm, is the log from the last time I had to restart, up until the last time it happened.

    Can anyone shed some light
     

    Attached Files:

  2. Scerion

    Scerion Level 4

    Joined:
    Sep 30, 2013
    Messages:
    54
    Windows? Linux?

    Had an incident when my server locked up a couple days ago, on my linux server.
    No errors, but the CPU was completely pegged and although server would be "Found" users were unable to reconnect.
    Not certain what the behavior was linked to, but I recently updated mono, so that might've been it.
     
  3. Tyson Strange

    Tyson Strange Level 5

    Joined:
    Jul 23, 2011
    Messages:
    107
    Windows Server 2008 R2, performance is fine
     
  4. Olink

    Olink Admin note: Actually a really nice person now

    Joined:
    Jul 21, 2011
    Messages:
    1,397

    1. Yesterday at 9:56 PM - https://tshock.co/xf/data/avatars/s/0/37.jpg?1311404070 Tyson Strange:
      Several times in the last couple days, my server will just stop letting people connect. The server doesnt crash, it just shows IP Connecting... but doesnt let anyone join.

    2. Yesterday at 9:59 PM - https://tshock.co/xf/data/avatars/s/0/62.jpg?1323054570 omega84:
      Is your local IP static or dynamic?

    3. Yesterday at 10:05 PM - https://tshock.co/xf/data/avatars/s/1/1898.jpg?1333758992 Ijwu:
      ^ Very good question. If your DHCP server (your router usually) reassigns your PC to another IP on the LAN your ports will get bananaed up. (They'll be forwarded to the wrong IP, the old one that your PC doesn't use now.)

    4. Yesterday at 10:05 PM - https://tshock.co/xf/data/avatars/s/1/1182.jpg?1358627582 Wolfe:
      Sounds more like you're having deadlocks. I've had a problem with a certain plugin causing it, but the developer is trying to fix it as much as he can :)

    5. Yesterday at 10:06 PM - https://tshock.co/xf/data/avatars/s/1/1898.jpg?1333758992 Ijwu:
      ^ Also possible.

    6. Yesterday at 10:06 PM - https://tshock.co/xf/data/avatars/s/1/1898.jpg?1333758992 Ijwu:
      But it's a good idea to keep a static local IP if you host a server at home.

    7. Yesterday at 10:11 PM - https://tshock.co/xf/data/avatars/s/0/62.jpg?1323054570 omega84:
      ^ +1

    8. Yesterday at 10:18 PM - https://tshock.co/xf/data/avatars/s/0/2.jpg?1380096232 Olink:
      Its a deadlocked server more than likely

    9. Yesterday at 10:19 PM - https://tshock.co/xf/data/avatars/s/0/2.jpg?1380096232 Olink:
      Its unfortunate, we don't know what causes it
     
    • Like Like x 1
  5. k0rd

    k0rd Tee Shawk Developer
    TShock Admin

    Joined:
    Dec 22, 2011
    Messages:
    438
    had this happen to me once too, mono 3.2
     
  6. Tyson Strange

    Tyson Strange Level 5

    Joined:
    Jul 23, 2011
    Messages:
    107
    Just a prerelease bug?

    seems to only have started doing that recently, lik in pr 12
     
  7. Colin

    Colin Level 5

    Joined:
    Nov 25, 2011
    Messages:
    100
    This has been happening throughout the entire history of TShock. The effect of it becomes more severe with the more traffic you get.
     
    • Like Like x 2
  8. DarkOS

    DarkOS tShock supporter and programming hack.

    Joined:
    Aug 17, 2011
    Messages:
    849
    More plugins increase the frequency of this too. I restart the server every morning to avoid this.
     
    • Like Like x 1
  9. k0rd

    k0rd Tee Shawk Developer
    TShock Admin

    Joined:
    Dec 22, 2011
    Messages:
    438
    So at the end of your log, it looks like the user "Spin" authenticated, but seconomy never successfully made his wallet.. If I were troubleshooting this issue, I'd start there.
     
    • Like Like x 1
  10. Scerion

    Scerion Level 4

    Joined:
    Sep 30, 2013
    Messages:
    54
    Damn, that's disheartening. My lockup happened when I had 2.10.8, and I just upgraded to 3.2.3 early this morning. Have my fingers x'd on that it runs awhile. Tho, haven't had too many users to put the system under any load...just couple friends here and there.
     
  11. k0rd

    k0rd Tee Shawk Developer
    TShock Admin

    Joined:
    Dec 22, 2011
    Messages:
    438
    meh.. it only happened once.. same symptoms tho with the pegged cpu.
     
  12. Olink

    Olink Admin note: Actually a really nice person now

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    Sounds like a deadlock
     
    • Like Like x 1
  13. DaddyRoxx

    DaddyRoxx Level 0

    Joined:
    Oct 29, 2013
    Messages:
    4
    I'm having the same issues, running the latest version of TShock on WinXP SP3 hosted on a Win8 Pro Virtual Machine. The server runs fine for a while, then everyone freezes and the server shows them still connected with the same symptoms as above. It even happens to me running Terraria locally. Port forwarding is fine, the Minecraft server has been up for weeks with no connection issues.
    .
    I have moved the TShock server and World over to running straight off my Win8 Pro (64-bit) system and so far (fingers crossed) it seems to be running fine. Players are able to log on and off normally and play fine.
    .
    However, if y'all find a fix I'd like to get the server back over to the VM.
    .
    I've uploaded the server logs for the past few days. I moved the server from the VM to my main Win8Pro machine last night (10-29-13), so the log files cover both installations.
    .
    If you need anymore information, please feel free to contact me . .
    .
     

    Attached Files:

  14. Olink

    Olink Admin note: Actually a really nice person now

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    Well since it isnt a problem with tshock, we wont be finding a fix for you.
     
  15. DaddyRoxx

    DaddyRoxx Level 0

    Joined:
    Oct 29, 2013
    Messages:
    4
    .
    OK. . . that's fair . . . so the problem is with the Terraria_Server.exe program and not TShock, which I assume is a "wrapper".
    .
    I'm guessing that TShock developers basically have no say in how the root server software is built, so the best we can do is wait for an update from ReDigit?
    .
    Does TShock check for updates for itself or the Terraria_Server.exe file during bootup?
    .
    Thanks in advance for your reply .
    .
     
  16. pink_panther

    pink_panther Level 9

    Joined:
    Oct 14, 2013
    Messages:
    370
    What Olink is saying, is that its one of the plugins you're using, not Tshock, so he doesn't care. Figure out which plugin it is and take it up with the developer of said plugin.
     
  17. DaddyRoxx

    DaddyRoxx Level 0

    Joined:
    Oct 29, 2013
    Messages:
    4
    .
    Are there any devs here that have some degree of courtesy?
    .
     
  18. Kamilion

    Kamilion Level 0

    Joined:
    Jul 22, 2011
    Messages:
    2

    Depends. Courtesy is in short supply on the internet, it's a recession, didn't you hear?

    You'll likely find the same annoyed tone if you go and post an issue on the firefox bugzilla:
    "My internal company website doesnt work in firefox and i wont give you the link", without any information about reproducing the bug outside of your own sheltered environment.

    Or perhaps this one to the linux kernel development mailing list:
    "Help this usb device i plugged in doesn't work on my laptop", forgetting to include important things like the USB device identifier.

    You're expected to, sort of, do your own homework.

    If you post in the forums a clean "Hi guys, i'm running <versionid> on <operating system> with these plugins: <list of .dll names> and running into <issue X> where I expected the behavior to be <Expected behavior> because of <documentation pointer> and <forum post> but instead I see: <Actual behavior/traceback/logfile>", we see that you've at least tried to do some of your own homework and have a more favorable attitude towards quickly helping them to a solution.

    As you can see earlier in this thread, as soon as enough information was provided, Olink responded *with information*. Then k0rd responded, *with information*.
    Groking the information provided seems to be beyond some people, and then they go into mental meltdown. We are not responsible for the contents of your brain.

    See:
    http://www.physicsforums.com/showthread.php?t=98933

    Excerpt:
     
    • Like Like x 1
  19. DaddyRoxx

    DaddyRoxx Level 0

    Joined:
    Oct 29, 2013
    Messages:
    4
    .
    Well, I guess not. .
    .
     
  20. Olink

    Olink Admin note: Actually a really nice person now

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    • Like Like x 1
Thread Status:
Not open for further replies.