PlaneShift

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Engine → Misc
  • Assigned To
    Tristan Cragnolini
  • Operating System
  • Severity Low
  • Priority
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: PlaneShift
Opened by Elvors Amenoras - 03.05.2008
Last edited by Lanarel - 16.08.2009

FS#1465 - Client fails to detect if server becomes available again

How to reproduce:

Boot client machine while disconnected from the network.
Start PS client.
Client lists the Fragnetics server as “Failed” (OK).
Reconnect client to network.
Client continues to list Fragnetics as “Failed”. It should detect that the server has become available.

Workaround:
Restart client.

Speculation:
I suspect this is because the client caches the response of the initial DNS query, which returns NXDOMAIN in the described situation.
An alternative cause might be that the networking code somehow already knows the IP address but gives up permanently due to a “no route to host” error message.

Suggestion:
Make the networking code generally re-request DNS information whenever the server becomes unreachable.
This would not only cover the situation described above, but would also remove one obstacle to running the PS server on a dyndns-managed host.

The task depends upon
ID Project Summary Priority Severity Assigned To Progress
1808 PlaneShift  FS#1808 - Login screen jams up and never shows the server being back onlin  Critical
100%
Closed by  Lanarel
16.08.2009 09:50
Reason for closing:  
Additional comments about closing:  

Fixed by Kougaro

Steven Schwartfeger commented on 05.05.2008 05:28

I've seen this before.

Quentin Bari commented on 05.05.2008 07:14

Me too, I have to relaunch PS in order to look again for server.

Qia Fask commented on 02.07.2008 04:14

I did a search before posting my duplicate report, but didn't find anything related.

Anyhow, it isn't only related to not being connected to the Internet, it happens often when the server crashes, with the person having had an Internet connection the whole time.

I'll paste in the  FS#1808 , it is short:

— Very often when the login screen receives a "Failed" to connect status, it will never again check to see if the server is back.

This hasn't caused me problems personally, as I figured this out years ago and simply restart the client every time I get a "Failed" message.

However I've often waited half an hour or more for other people to connect, who are sitting there waiting for the server to come back on… but it never will show up. Only once they restart their PlaneShift does it show it as available again.

It also relates to the  FS#1807  feature request about an option to automatically reconnect after the server crashes. I recommended having the client recheck server status every 30 seconds + randomly picked 1 to 20 seconds.

At the very least there should be a button to manually recheck the server, in the login window. Currently there is no way to do that without restarting PlaneShift.

Elvors Amenoras commented on 02.07.2008 10:26

I second Qia's feature request.

Anonymous Submitter commented on 17.07.2009 00:43

assigning Kougaro

Tristan Cragnolini commented on 17.07.2009 23:31

Fixed in r4060

Project Manager
Lanarel commented on 18.07.2009 14:51

Not fixed.
I did as above:
- switched of LAN
- REBOOTED computer. THis may be essential in this test
- started client. All servers fail. Especially not the messages in the console that laanx.fragnetics.com etc could not be resolved.
- reconnected network.
- still all fails.

So there should be a sort of retry on resolving.

Project Manager
Lanarel commented on 16.08.2009 09:50

Retested today with the same steps, and it now works.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing