Jump to content

Server dumps all connected players, fails to reconnect.


Flighter

Recommended Posts

DCS version 2.5.4.29167

 

Hi !

TL;DR :

 

  1. Server suddenly disconnects all players
  2. Server cannot register with ED server browser for a random amount of time
  3. The server registers WEBGUI while is started without the -webgui parameter
  4. Is there a way to disable the use of IPv6 from DCS (not windows) ?

Details and log :

1,2 :

For about 3-4 months now our JUST DOGFIGHT server has been behaving erratically.

The latest and very annoying symptom is the instant disconnection of all players.

Then is goes into a hunt to register again with Master Server (dcs:checksession failed)

At some stage it reconnects and clients start joining again.

Any help (from ED or not) is highly appreciated...

3 :

Although I have not asked for webgui, the log says that it does register the server as such. Is this just a logging bug or the flag get ignored ?

4 :

In my attempt to isolate the issues, I want to switch off IPv6 in DCS. I do not want to disable it in Windows. Ideally I don't want the message
NET: Successfully set up Dual-Stack socket, using both IPv4 and IPv6

NET: Listen to IPv6 on port 10309
appearing in the logs. Any idea how to do this ?

- The server is on symmetric 1Gbps line, full redundancy connectivity farm.

- I have not identified any in-game event the precedes these disconnections

- CPU usage is about 20% average and memory used never exceeds 60%

- Operating system is MS Server 2019

 

As I said, any help from ED or not is highly appreciated.

Thanks !

 

 

This is a cleaned up log of the 1 and 2 points :

 

=== Log opened UTC 2019-04-12 15:25:45

2019-04-12 15:25:44.492 INFO DCS: Command line: "C:\\DCS World\\bin\\DCS.exe" --server --norender

2019-04-12 15:25:44.492 INFO DCS: DCS/2.5.4.29167 (x86_64; Windows NT 10.0.17763)

2019-04-12 15:25:44.505 INFO DCS: Hwid: -----------------

2019-04-12 15:25:44.505 INFO DCS: DCS revision: 149155

2019-04-12 15:25:44.505 INFO DCS: Renderer revision: 18967

2019-04-12 15:25:44.505 INFO DCS: Terrain revision: 18978

.

.

.

 

>>>>>>>>>>>>>>>>> This should not be happening as I do not request webgui on server startup (?)

>>

2019-04-12 15:25:48.303 INFO NET: Registering HTTP control interface as 94.130.23.93:8088 (port is assumed to be open)

.

.

.

 

>>>>>>>>>>>>>>>>> Normal startup - Server running and clients using it.

>>

.

.

.

 

>>>>>>>>>>>>>>>>> ALL Players are disconnected - No error message in onPlayerDisconnect(playerID, err_code) (err_code = 0)

>>

2019-04-12 18:59:32.767 INFO NET: remove: client 17

2019-04-12 18:59:32.768 INFO Scripting: event:type=relinquished,initiatorPilotName=LULEK,target=onair #003,t=49385.682,targetMissionID=20,

2019-04-12 18:59:32.768 INFO NET: remove: client 18

2019-04-12 18:59:32.768 INFO Scripting: event:type=relinquished,initiatorPilotName=eWizard,target=Pilot #096,t=49385.682,targetMissionID=220,

2019-04-12 18:59:32.769 INFO NET: remove: client 16

2019-04-12 18:59:32.769 INFO Scripting: event:type=relinquished,initiatorPilotName=Di Wayn,target=Pilot #053,t=49385.682,targetMissionID=1149,

2019-04-12 18:59:32.769 INFO NET: remove: client 11

.

.

.

2019-04-12 18:59:32.808 INFO TACVIEW.DLL: End of telemetry data recording for [bellaItalia]

2019-04-12 18:59:32.808 INFO TACVIEW.DLL: End of telemetry data recording for [NemanjaSRB]

2019-04-12 18:59:32.809 INFO TACVIEW.DLL: End of telemetry data recording for [beast240L]

2019-04-12 18:59:32.809 INFO TACVIEW.DLL: End of telemetry data recording for [Endie]

2019-04-12 18:59:32.810 INFO TACVIEW.DLL: End of telemetry data recording for [vpered]

2019-04-12 18:59:32.811 INFO TACVIEW.DLL: End of telemetry data recording for [Серёга (101)]

2019-04-12 18:59:32.811 INFO TACVIEW.DLL: End of telemetry data recording for [sOKOL]

2019-04-12 18:59:32.812 INFO TACVIEW.DLL: End of telemetry data recording for [electrify]

2019-04-12 18:59:32.812 INFO TACVIEW.DLL: End of telemetry data recording for [AlphaSputnik]

2019-04-12 18:59:32.813 INFO TACVIEW.DLL: End of telemetry data recording for [Jesus]

2019-04-12 18:59:32.814 INFO TACVIEW.DLL: End of telemetry data recording for [LULEK]

2019-04-12 18:59:32.814 INFO TACVIEW.DLL: End of telemetry data recording for [eWizard]

2019-04-12 18:59:32.815 INFO TACVIEW.DLL: End of telemetry data recording for [Di Wayn]

2019-04-12 18:59:33.651 INFO TACVIEW.DLL: End of telemetry data recording for [sergul37rus]

2019-04-12 18:59:33.652 INFO TACVIEW.DLL: End of telemetry data recording for [Gongolongo]

.

.

.

2019-04-12 18:59:51.736 INFO NET: remove: client 19

2019-04-12 18:59:51.736 INFO NET: simulation paused, modelTime = 12804.666000

2019-04-12 18:59:51.741 INFO TACVIEW.DLL: End of telemetry data recording for [Камчатка]

2019-04-12 18:59:51.742 INFO JDF.INFO: Simulation paused. Nr of players:1. Time active: 12843/18000

 

 

>>>>>>>>>>>>>>>>> Not able to register with Server Directory (ED server browser ?) Team-speak, VPN and other network services are fine

>>

2019-04-12 19:01:26.951 ERROR NET: HTTP request dcs:server:update failed with error 28: Timeout was reached

2019-04-12 19:01:26.979 ERROR NET: Server update temporarily failed. Will try again later.

2019-04-12 19:02:00.524 ERROR NET: HTTP request dcs:checksession failed with error 28: Timeout was reached

2019-04-12 19:02:00.524 ERROR NET: Session check failed: 503

.

.

.

>>>>>>>>>>>>>>>>> REPEATS about 13 more times then

.

.

.

2019-04-12 19:15:26.938 ERROR NET: HTTP request dcs:server:update failed with error 28: Timeout was reached

2019-04-12 19:15:26.954 ERROR NET: Server update temporarily failed. Will try again later.

2019-04-12 19:15:39.157 ERROR NET: HTTP request dcs:checksession failed with error 28: Timeout was reached

2019-04-12 19:15:39.157 ERROR NET: Session check failed: 503

.

>>>>>>>>>>>>>>>>> And we are online again

.

2019-04-12 19:16:21.177 ERROR NET: Server update was late, registering again...

2019-04-12 19:16:21.177 INFO NET: Registering HTTP control interface as 94.130.23.93:8088 (port is assumed to be open)

2019-04-12 19:16:21.177 INFO NET: Registering server as 94.130.23.93:10309 (port is assumed to be open)

2019-04-12 19:16:31.676 INFO TACVIEW.DLL: During the last 600.0s an average of 0 units objects and 0 ballistic objects have been active per frame

2019-04-12 19:16:51.523 INFO NET: accepting connection from 213.--------- :61330

2019-04-12 19:16:51.556 INFO NET: append: client 2

2019-04-12 19:16:51.608 INFO NET: simResume: curTime=13867.608729, syncDelay=0.500000, startTime=13868.108729

2019-04-12 19:16:51.608 INFO NET: simulation starting, state=ssStarting

2019-04-12 19:16:51.608 INFO NET: syncStart at 13868.108729:

2019-04-12 19:16:52.156 INFO NET: simulation started, state=ssRunning

2019-04-12 19:16:52.157 INFO TACVIEW.DLL: Recording flight data in [C:\Tacview\sergul37rus\Tacview-20190412-221653-DCS-JustDogFight_Caucasus_v2.2e [sergul37rus].zip.acmi]

2019-04-12 19:16:52.773 INFO NET: [2] UDP port changed from 61330 to 59849

2019-04-12 19:17:06.963 INFO NET: client[2] is ready to start

2019-04-12 19:17:06.963 INFO NET: spawning client[2]

2019-04-12 19:17:06.965 INFO NET: client[2] started

2019-04-12 19:17:11.381 INFO Scripting: event:type=base captured,target=Gelendzhik,initiator=Unit #038,place=Gelendzhik,t=49423.86,placeDisplayName=Gelendzhik,initiatorMissionID=831,

2019-04-12 19:17:15.676 INFO Scripting: event:type=base captured,target=Novorossiysk,initiator=Unit #037,place=Novorossiysk,t=49428.146,placeDisplayName=Novorossiysk,initiatorMissionID=830,

2019-04-12 19:17:18.415 INFO NET: accepting connection from 78.-------:50229

2019-04-12 19:17:18.419 INFO NET: append: client 3

2019-04-12 19:17:18.564 INFO TACVIEW.DLL: Recording flight data in [C:\Tacview\Destop-Canalisations\Tacview-20190412-221719-DCS-JustDogFight_Caucasus_v2.2e [Destop-Canalisations].zip.acmi]

2019-04-12 19:17:19.948 INFO NET: [3] UDP port changed from 50229 to 53285

2019-04-12 19:18:50.373 INFO NET: client[3] is ready to start

2019-04-12 19:18:50.373 INFO NET: spawning client[3]

.

.

.

>>>>>>>>>>>>>>>>> Continues normally until next re-arrangement of the matrix......

 

 

 

 

JUSTDOGFIGHT server - For Nickname reservation, stats, server map, instructions and other content visit our site justdogfight.com

 

🙂 Smile 🙂

Link to comment
Share on other sites

  • ED Team

To disable IPv6, add a line to Config/autoexec.cfg:

net.use_ipv6 = false

 

HTTP control interface gets registered when either --norender or --server or --webgui is specified.


Edited by c0ff

Dmitry S. Baikov @ Eagle Dynamics

LockOn FC2 Soundtrack Remastered out NOW everywhere - https://band.link/LockOnFC2.

Link to comment
Share on other sites

To disable IPv6, add a line to Config/autoexec.cfg:

net.use_ipv6 = false

HTTP control interface gets registered when either --norender or --server or --webgui is specified.

Many thanks c0ff.

ipv6 setting worked like a treat.

I have already activated the settings and awaiting results.

 

Any place I can see the more "esoteric" settings of the networking ?

 

Also any short description of how the whole network is setup eg :

- TCP used for what ?

- UDP for what ?

- If the server is not communicating with server browser can the players still connect (IP: PORT) or it stops listening for incoming connections ?

- Anything else I can try ?

 

Again many thanks for your kind help.

JUSTDOGFIGHT server - For Nickname reservation, stats, server map, instructions and other content visit our site justdogfight.com

 

🙂 Smile 🙂

Link to comment
Share on other sites

  • ED Team

Any place I can see the more "esoteric" settings of the networking ?

 

net.force_ipv4_lan = false

net.IPV6_MULTICAST_HOPS = 5

net.use_loopback = true (not in 2.5.4 yet)

net.idle_timeout = 600

net.game_timeout = 600

 

 

Also any short description of how the whole network is setup eg :

- TCP used for what ?

- UDP for what ?

- If the server is not communicating with server browser can the players still connect (IP: PORT) or it stops listening for incoming connections ?

- Anything else I can try ?

 

- TCP used for all reliable comm

- UDP is used for position updates

- Players still can connect by direct IP

- Do you have dynamic IP address?

Dmitry S. Baikov @ Eagle Dynamics

LockOn FC2 Soundtrack Remastered out NOW everywhere - https://band.link/LockOnFC2.

Link to comment
Share on other sites

Hi again,

The thanks is by default, no need to repeat it !!!

All IPs are static.

I had at least 3 more group disconnections yesterday, I also had a post in the server's thread ( https://forums.eagle.ru/showpost.php?p=3884477&postcount=149 ).

Same behavior as my initial post.

I will try the timeouts. IPv4 did not seem to affect it.

 

My last attempt will be to have wireshark capture the whole thing.

 

I suspect it all started when the new server binaries started silently rolling out (I am trying to find a logic to it all). The server was running 24/7 with no changes for about 21 months with absolutely no connectivity issues (the occasional crash but I auto-restart with VBScrip).

OK... thanks again !

Any more clues welcome...

JUSTDOGFIGHT server - For Nickname reservation, stats, server map, instructions and other content visit our site justdogfight.com

 

🙂 Smile 🙂

Link to comment
Share on other sites

  • 2 months later...

Having the same issue. Did you resolve it?

My controls & seat

 

Main controls: , BRD-N v4 Flightstick (Kreml C5 controller), TM Warthog Throttle (Kreml F3 controller), BRD-F2 Restyling Bf-109 Pedals w. damper, TrackIR5, Gametrix KW-908 (integrated into RAV4 seat)

Stick grips:

Thrustmaster Warthog

Thrustmaster Cougar (x2)

Thrustmaster F-16 FLCS

BRD KG13

 

Standby controls:

BRD-M2 Mi-8 Pedals (Ruddermaster controller)

BRD-N v3 Flightstick w. exch. grip upgrade (Kreml C5 controller)

Thrustmaster Cougar Throttle

Pilot seat

 

 

Link to comment
Share on other sites

Having the same issue. Did you resolve it?

No, not really..

No time and no more energy left for this.

Just a complicated system for detecting the issue and restarting everything.

If you figure anything out please let me know.

Cheers !

JUSTDOGFIGHT server - For Nickname reservation, stats, server map, instructions and other content visit our site justdogfight.com

 

🙂 Smile 🙂

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...