Page 1 of 1

Server not being updated on ping correctly.

Posted: Tue May 09, 2017 9:21 pm
by UOFans
I just switched web servers but its still the same webhost and datacenter as it was before. It worked like a charm before, updated everytime. I had ubuntu 14.04 on old server and this new one so that hasn't changed. It says there is 0 people online but theres 20 something. Also its not even updating the online/offline status. I see the ping come through in terminal from 192.99.10.155. I'm starting to think because it is located in the same datacenter maybe the ping is comming back at 0 so its thinking its offline? I don't see any other reason this could happen. My old server would ping between 3 and 20 ms but this new server has a way better connection speed (1gbps) compaired to the old one (being 100mbps). I just upgraded to a new dedicated server yesterday and for some reason UOGateway stopped displaying my servers information correctly.


Hope somebody here can help me get it working properly again.
:(

Archived topic from UOG, old topic ID:106, old post ID:320

Re: Server not being updated on ping correctly.

Posted: Thu May 11, 2017 12:23 am
by Red Squirrel
What is the shard name and new IP?  I can check.  Odd that it's not registering even though you see the connection on the server though.

Did you update your serverlist.cs to reflect new IP?  I don't think that would matter though...

Archived topic from UOG, old topic ID:106, old post ID:321

Re: Server not being updated on ping correctly.

Posted: Thu May 11, 2017 2:11 am
by UOFans
http://uogateway.com/shard.php?id=1102&act=view
Theres my UOG page for it. I recently deleted the old one and made a new one after I noticed it wasn't updating.


And Yes I did update the serverlist.cs to show the new IP.

I appreciate your response and any help you can offer!

Archived topic from UOG, old topic ID:106, old post ID:322

Re: Server not being updated on ping correctly.

Posted: Thu May 11, 2017 11:25 pm
by Red Squirrel
Hmm that is odd.  I can telnet to the port, but it should boot me out after a few enters due to invalid packets, it's like if it's accepting connections but not doing anything with them.  What server software are you running?  This is the log on the UOG side:

Code: Select all

[May-12-2017 01:15:39am] (3)       {UOFans:Test} : prepoll...
[May-12-2017 01:15:39am] (2)    {UOFans:Test} : Starting new thread...
[May-12-2017 01:15:39am] (3)       {UOFans:Test} : thread created
[May-12-2017 01:15:39am] (3)       {UOFans:Test} : Thread Function started
[May-12-2017 01:15:39am] (4)          {UOFans:Test} : Waiting for 29 seconds...
[May-12-2017 01:16:08am] (2)    {UOFans:Test} : Connecting to 144.217.255.43:2590] (Attempt 1)
[May-12-2017 01:16:08am] (3)       {UOFans:Test} : Unable to connect: Host down
[May-12-2017 01:16:08am] (2)    {UOFans:Test} : Connecting to 144.217.255.43:2590] (Attempt 2)
[May-12-2017 01:16:08am] (3)       {UOFans:Test} : Unable to connect: Host down
[May-12-2017 01:16:08am] (3)       {UOFans:Test} : Done polling
[May-12-2017 01:16:08am] (3)       {UOFans:Test} : Thread Function ended
.[May-12-2017 01:16:09am] (2)    {UOFans:Test} : Ending Thread if still active...
[May-12-2017 01:16:09am] (2)    {UOFans:Test} : Thread ended
[May-12-2017 01:16:09am] (2)    {UOFans:Test} : Updating info...
[May-12-2017 01:16:09am] (2)    {UOFans:Test} : Done updating info.
[May-12-2017 01:16:09am] (4)          {UOFans:Test} : Updating graphs...
[May-12-2017 01:16:09am] (4)          {UOFans:Test} : Done updating graphs
[May-12-2017 01:17:50am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : prepoll...
[May-12-2017 01:17:50am] (2)    {UOFans [UOR] [DEDICATED SERVER]} : Starting new thread...
[May-12-2017 01:17:50am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : thread created
[May-12-2017 01:17:50am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Thread Function started
[May-12-2017 01:17:50am] (4)          {UOFans [UOR] [DEDICATED SERVER]} : Waiting for 1 seconds...
[May-12-2017 01:17:51am] (2)    {UOFans [UOR] [DEDICATED SERVER]} : Connecting to 144.217.255.43:2593] (Attempt 1)
[May-12-2017 01:17:51am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Connected, sending stats packet...
.[May-12-2017 01:17:57am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Time out exceeded while waiting for response, will try to parse anyway...
[May-12-2017 01:17:57am] (4)          {UOFans [UOR] [DEDICATED SERVER]} : Response receved: 
[May-12-2017 01:17:57am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Response receved (Sanitized): 
[May-12-2017 01:17:57am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Expected "clients=" in response string not found.  Aboring this shard entry.
[May-12-2017 01:17:57am] (2)    {UOFans [UOR] [DEDICATED SERVER]} : Connecting to 144.217.255.43:2593] (Attempt 2)
[May-12-2017 01:17:57am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Connected, sending stats packet...
[May-12-2017 01:18:02am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Time out exceeded while waiting for response, will try to parse anyway...
[May-12-2017 01:18:02am] (4)          {UOFans [UOR] [DEDICATED SERVER]} : Response receved: 
[May-12-2017 01:18:02am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Response receved (Sanitized): 
[May-12-2017 01:18:02am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Expected "clients=" in response string not found.  Aboring this shard entry.
[May-12-2017 01:18:02am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Done polling
[May-12-2017 01:18:02am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Thread Function ended
.[May-12-2017 01:18:03am] (2)    {UOFans [UOR] [DEDICATED SERVER]} : Ending Thread if still active...
[May-12-2017 01:18:03am] (2)    {UOFans [UOR] [DEDICATED SERVER]} : Thread ended
[May-12-2017 01:18:03am] (2)    {UOFans [UOR] [DEDICATED SERVER]} : Updating info...
[May-12-2017 01:18:03am] (2)    {UOFans [UOR] [DEDICATED SERVER]} : Done updating info.
[May-12-2017 01:18:03am] (4)          {UOFans [UOR] [DEDICATED SERVER]} : Updating graphs...
[May-12-2017 01:18:03am] (4)          {UOFans [UOR] [DEDICATED SERVER]} : Done updating graphs
[May-12-2017 01:20:42am] (3)       {UOFans:Test} : prepoll...
[May-12-2017 01:20:42am] (2)    {UOFans:Test} : Starting new thread...
[May-12-2017 01:20:42am] (3)       {UOFans:Test} : thread created
[May-12-2017 01:20:42am] (3)       {UOFans:Test} : Thread Function started
[May-12-2017 01:20:42am] (4)          {UOFans:Test} : Waiting for 26 seconds...
[May-12-2017 01:21:08am] (2)    {UOFans:Test} : Connecting to 144.217.255.43:2590] (Attempt 1)
[May-12-2017 01:21:10am] (3)       {UOFans:Test} : Unable to connect: Host down
[May-12-2017 01:21:10am] (2)    {UOFans:Test} : Connecting to 144.217.255.43:2590] (Attempt 2)
[May-12-2017 01:21:10am] (3)       {UOFans:Test} : Unable to connect: Host down
[May-12-2017 01:21:10am] (3)       {UOFans:Test} : Done polling
[May-12-2017 01:21:10am] (3)       {UOFans:Test} : Thread Function ended
.[May-12-2017 01:21:13am] (2)    {UOFans:Test} : Ending Thread if still active...
[May-12-2017 01:21:13am] (2)    {UOFans:Test} : Thread ended
[May-12-2017 01:21:13am] (2)    {UOFans:Test} : Updating info...
[May-12-2017 01:21:13am] (2)    {UOFans:Test} : Done updating info.
[May-12-2017 01:21:13am] (4)          {UOFans:Test} : Updating graphs...
[May-12-2017 01:21:13am] (4)          {UOFans:Test} : Done updating graphs
[May-12-2017 01:22:48am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : prepoll...
[May-12-2017 01:22:48am] (2)    {UOFans [UOR] [DEDICATED SERVER]} : Starting new thread...
[May-12-2017 01:22:48am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : thread created
[May-12-2017 01:22:48am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Thread Function started
[May-12-2017 01:22:48am] (4)          {UOFans [UOR] [DEDICATED SERVER]} : Waiting for 3 seconds...
[May-12-2017 01:22:51am] (2)    {UOFans [UOR] [DEDICATED SERVER]} : Connecting to 144.217.255.43:2593] (Attempt 1)
[May-12-2017 01:22:51am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Connected, sending stats packet...
.[May-12-2017 01:22:56am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Time out exceeded while waiting for response, will try to parse anyway...
[May-12-2017 01:22:56am] (4)          {UOFans [UOR] [DEDICATED SERVER]} : Response receved: 
[May-12-2017 01:22:56am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Response receved (Sanitized): 
[May-12-2017 01:22:56am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Expected "clients=" in response string not found.  Aboring this shard entry.
[May-12-2017 01:22:56am] (2)    {UOFans [UOR] [DEDICATED SERVER]} : Connecting to 144.217.255.43:2593] (Attempt 2)
[May-12-2017 01:22:56am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Connected, sending stats packet...
[May-12-2017 01:23:02am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Time out exceeded while waiting for response, will try to parse anyway...
[May-12-2017 01:23:02am] (4)          {UOFans [UOR] [DEDICATED SERVER]} : Response receved: 
[May-12-2017 01:23:02am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Response receved (Sanitized): 
[May-12-2017 01:23:02am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Expected "clients=" in response string not found.  Aboring this shard entry.
[May-12-2017 01:23:02am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Done polling
[May-12-2017 01:23:02am] (3)       {UOFans [UOR] [DEDICATED SERVER]} : Thread Function ended
.[May-12-2017 01:23:02am] (2)    {UOFans [UOR] [DEDICATED SERVER]} : Ending Thread if still active...
[May-12-2017 01:23:02am] (2)    {UOFans [UOR] [DEDICATED SERVER]} : Thread ended
[May-12-2017 01:23:02am] (2)    {UOFans [UOR] [DEDICATED SERVER]} : Updating info...
[May-12-2017 01:23:02am] (2)    {UOFans [UOR] [DEDICATED SERVER]} : Done updating info.
[May-12-2017 01:23:02am] (4)          {UOFans [UOR] [DEDICATED SERVER]} : Updating graphs...
[May-12-2017 01:23:02am] (4)          {UOFans [UOR] [DEDICATED SERVER]} : Done updating graphs


Edit: was looking at wrong logs, here's a snipplet of logs matching your entries.  Figure it might help.

Basically, it looks like your server is not responding to the stats packet, did anything change between the move? Seems odd.

Actually your server is in the same data centre as the UOG server.  I wonder if it's some odd firewall/IDS thing.  It's connecting, but not handling data right, or something.  This is an odd one. 

Archived topic from UOG, old topic ID:106, old post ID:323

Re: Server not being updated on ping correctly.

Posted: Fri May 12, 2017 2:52 am
by UOFans
Old server was run on : Docker on Ubuntu 14.04 Server (64 bits) (this one updated perfectly)
New server is run on: Ubuntu Server 14.04 "Trusty Tahr" LTS (64 bits)

:(

Archived topic from UOG, old topic ID:106, old post ID:324

Re: Server not being updated on ping correctly.

Posted: Fri May 12, 2017 2:54 am
by UOFans
Maybe I should contact host support and ask them what the hellz is going on maybe their specialists will know why this is happening since they know their network better than anybody since it seems like that's why its happening.

Archived topic from UOG, old topic ID:106, old post ID:325

Re: Server not being updated on ping correctly.

Posted: Fri May 12, 2017 3:03 am
by Red Squirrel
What is the actual software though (ex: RunUo, Sphere?).  You mention Linux, is it RunUO running in Mono?  I have seen some odd network stuff from running in Mono, I can't recall but think someone here did find a fix.

I ran tcpdump on the server and can see some connectivity but no data.  Not sure if support will be able to help but worth a shot, maybe something related to how packets are being processed within the data centre is causing a weird issue.  It is connecting though, so it's not being blocked or anything.

Archived topic from UOG, old topic ID:106, old post ID:326

Re: Server not being updated on ping correctly.

Posted: Fri May 12, 2017 3:16 am
by UOFans
Oh its ServUO running in Mono.  Sorry

Yeah I will double check the previous threads from previous similar issues.

Archived topic from UOG, old topic ID:106, old post ID:327

Re: Server not being updated on ping correctly.

Posted: Sun May 14, 2017 12:22 am
by Red Squirrel
I found this that might help:

https://www.servuo.com/threads/problems ... mono.3514/


Archived topic from UOG, old topic ID:106, old post ID:328

Re: Server not being updated on ping correctly.

Posted: Mon May 15, 2017 7:44 pm
by UOFans
Oo thank you! Haven't done it yet but I plan to try this tonight.

Archived topic from UOG, old topic ID:106, old post ID:329

Re: Server not being updated on ping correctly.

Posted: Wed May 17, 2017 7:25 am
by UOFans
Did those edits it didn't work. I think that method is unfortunately too outdated for ServUO. I did the correct edits, recompiled but no luck. I'm so frustrated with this its ridiculous. What sucks is people in the Free shard community 9 times out of 10 withhold information because they see the other person as a "competitor" and it shouldn't be that way. I wish I could find a working fix for this somewhere......  :(

Archived topic from UOG, old topic ID:106, old post ID:330

Re: Server not being updated on ping correctly.

Posted: Wed May 17, 2017 7:18 pm
by Red Squirrel
Sorry to hear it's not working.  I posted there asking if there is something I can do at my end, but it's odd it would work in windows bot not mono, that should even matter since the end point does not really care what OS is running as long as the packet is being received/sent. 

At some point I want to make a mod that can be downloaded for ServUO/RunUO to make it easier to interface with UO Gateway.

If you do figure it out let me know what you did as it may come in handy if someone else has the issue.  If I had more time I'd try to dive deeper into why it's not working.

Archived topic from UOG, old topic ID:106, old post ID:331

Re: Server not being updated on ping correctly.

Posted: Mon Jun 12, 2017 6:04 pm
by UOFans
I just noticed it was updating my server for in the last 24hrs+, but now it just stopped again.


http://www.uogateway.com/shard.php?id=1107&act=view

This is driving me nuts..
: :(

Archived topic from UOG, old topic ID:106, old post ID:333

Re: Server not being updated on ping correctly.

Posted: Wed Jun 14, 2017 11:34 pm
by Red Squirrel
So was it actually showing as online?  It seems to be actually down now but looking at previous logs it seems to still be timing out on receiving the packet.

I find it odd that it's doing that just because it's running in Mono.  If you can, can you try your exact code but in Windows?  You can set it up on a separate machine and just change the IP temporarily in UO Gateway.  Test it to make sure players can connect to the test shard first just to rule any other connectivity stuff.  I'm just curious if it's really Mono causing that or if it's something in particular with your shard for some reason, like specific version or maybe a mod or something.

Basically the issue seems to be that when the poller sends the packet requesting stats, it never gets a response. 

Archived topic from UOG, old topic ID:106, old post ID:334

Re: Server not being updated on ping correctly.

Posted: Wed Jul 03, 2019 8:29 am
by Kos
This sounds like the exact issue I'm having now.  Did this ever get resolved?

Archived topic from UOG, old topic ID:106, old post ID:455