#Server - Headless server timeout issue

54 messages · Page 1 of 1 (latest)

sand stratusBOT
#
PilotOwl has submitted a ticket

Versions: Fika 1.2.8 and SPT 3.11.3
Networking: Port-forwarding
Description: After about 3 hours (wasn't able to measure it precisely) the fika headless timeouts with no error code.
On the server side I can see that it is there and running. but players don't even have the option to select it.
Before the timeout timer runs out they can create raids, and works perfectly (even with other mods).

I even tried to open multiple headless session, but if they are not used they stop at the exact time.
I tried to set the "restart after x raid" to 5, then 3, even tried 1. But it makes no difference.

After I manually restart the headless terminal (not the PowerShell) it restarts and works again until it timeouts again.

Currently there are 4 copies of Tarkov (3 for each headless, and +1 for the SPT server) on the Server PC but I am facing the same issue.
The Server PC doesn't even cross the 20% CPU or RAM usage. so performance is definitely not the issue. And it also runs a Discord bot 24/7 with no issues, so it is not an issue with the PC going idle.

#

Thread started by: @outer lava

sand stratusBOT
#

@outer lava please attach any applicable log files and mod lists while waiting for help!
You can find your log file at %AppData%\..\LocalLow\Battlestate Games\EscapeFromTarkov\Player.log

If you do not attach any logs, we will close the ticket without warning.

outer lava
#

I don't know where does the headless dumps it's logs

main goblet
#

BepInEx/LogOutput.log -- you'll need to create the situation in question and upload logs from when it is timed out since the logs get overwritten each time the client restarts

outer lava
main goblet
#

that's fine, but you need to upload logs from when it happens

outer lava
#

I only run the server, I don't play on it.
so whenever it happens I need to be notified by the players to restart it manually

outer lava
main goblet
#

as long as the intent is to provide the correct logs i don't think anyone will close this ticket

outer lava
#

only changed 1 thing at the bottom to this ↓
[Info : Fika.Core] Cached local IPs: 0.0.0.0, [correct local IP]
idk how serious the "don't dox yourself" rule is
but after 0.0.0.0 the IP is the correct local IP that is reffering to the Server PC

#

this is a log from a "currently working but invisible to players" headless client

#

in the log there are multiple mods
I don't wanted to remove them for this demonstration
but it creates the same exact outcome with and without other mods
sorry for the clutter

main goblet
outer lava
main goblet
#

should show in the log as well, not sure why it wouldn't unless there was some confusion about which log file goes with which headless console

outer lava
#

my apologies
apparently it was a super good timing from the headless, or something happened opening the log
because now it is working again..

the the log I uploaded is from a headless restarting
this is why it is missing the last 2 lines

currently I have no timed out headless client.
please give a couple of hours to reproduce the issue and upload a log that connects to my issue

outer lava
#

To eliminate any misunderstandings
resulting another waiting time
I copied the LogOutput from the same headless when it was still running and right after I stopped it (closing the PowerShell terminal too)

#

only modifying the local IP in both of them

clear rampart
#

is that a public ip in there?

clear rampart
#

what ip is it connecting to? is the server not on the same machine?

#

and I see some mods I don't think would be necessary on the headless

outer lava
clear rampart
#

why do you not have it set to 127.0.0.1?

outer lava
clear rampart
outer lava
#

I didn't know it will accept the loopback IP

outer lava
clear rampart
#

then your spt server should be on 0.0.0.0 which is 'broadcast on all available ips'

#

I'd guess its timing out on the nat hairpin

#

so headless script should be local loop

outer lava
#

so if I change it in the fika-server>assets>configs>fika.jsonc
at the headless section

"scripts": {
  "generate":true,
  "forceIp": 0.0.0.0
},

it should work?
and pasting the IP there was just overcomplicated it?

clear rampart
#

no, it should be the loopback as I said

#

the server window should show 0.0.0.0: 6969 right?

#

and the script should generate the ps1 as 127.0.0.1

outer lava
clear rampart
#

"it wasn't working"

#

what is it

outer lava
#

the players were unable to join
they just got a timout message in the SPT client

#

as soon as it was changed to the WAN IP it was accessible with no issues

clear rampart
#

well you are going to have to suffer with the headlesses I'd guess unless its a mod.

#

I'm going to guess nat loopback is initialized once and if not used its not allowed? but you have mods, so all bets are off

outer lava
clear rampart
#

you are only the second time WAN backend has had to be filled in in the hundreds of folks I've helped with this

#

is your network adapter set as public or private?

outer lava
clear rampart
#

should be private and set to a static

#

I'd check that again as 0.0.0.0 after as well

outer lava
#

do I need to regenerate the scripts to update them to the "new" 127.0.0.1 IP?
or do they know from the fika.jsonc?

#

Thank you so much for helping
I am very confident that this has solved all of my problems with the headless
but can I keep this open for a couple of hours to verify if it actually solved the timeout problem?