Need Help Setting Up Local Server!

Hi.

the local server is running and connected , Telnet connected (also connected in Battlemetrics) but the Web API wont connect / open the port.
1714048898173.png1714048912573.png
<property name="WebDashboardEnabled" value="True" />
<property name="WebDashboardPort" value="26906" />
<property name="WebDashboardUrl" value="" />
<property name="EnableMapRendering" value="True" />

2024-04-25T13:23:24 44.682 WRN [Web] WebDashboardUrl not set. Recommended to set it to the public URL pointing to your dashboard / reverse proxy
2024-04-25T14:50:38 44.324 INF [Web] Serving basic webserver files from F:/DedicatedServers/7D2D Dedicated/7DaysToDieServer_Data/../Mods\TFP_WebServer/webroot
2024-04-25T14:50:38 44.337 INF Started thread SSE-Processing_/sse/
2024-04-25T14:50:38 44.392 INF Started legacy webmod feature on port 26906, local address /legacymap
2024-04-25T14:50:39 44.433 INF [Web] OpenAPI preparation done
2024-04-25T14:50:39 44.439 ERR [Web] Error in Web.ctor:
2024-04-25T14:50:39 44.442 EXC String conversion error: Illegal byte sequence encounted in the input.

Any clue how to fix this ? ports are forwarded in windows firewall and router firewall.

If i use online port check then the server and telnet ports are open but the web port isnt..
 
Last edited:
the local server is running and connected , Telnet connected (also connected in Battlemetrics) but the Web API wont connect / open the port.
Can you screenshot the Server Connection tab in settings, please?
Can you also do version in game and screenshot the results?
 
Last edited:
Can you screenshot the Server Connection tab in settings, please?
Can you also do version in game and screenshot the results?
1714060708594.png
Game version: Alpha 21.2 (b30) Compatibility Version: Alpha 21.2
Mod Allocs_Commands: 26
Mod Allocs_Core: 31
Mod Allocs_Webinterface: 47
Mod TFP_CommandExtensions: 21.1.16.4
Mod TFP_MapRendering: 21.1.16.4
Mod TFP_WebServer: 21.2.1.2
Mod TFP_MarkersExample: 21.1.16.4
 
Game version: Alpha 21.2 (b30) Compatibility Version: Alpha 21.2
Mod Allocs_Commands: 26
Mod Allocs_Core: 31
Mod Allocs_Webinterface: 47
Mod TFP_CommandExtensions: 21.1.16.4
Mod TFP_MapRendering: 21.1.16.4
Mod TFP_WebServer: 21.2.1.2
Mod TFP_MarkersExample: 21.1.16.4
Are there any errors in the RAT logs?
 
This is concerning:
2024-04-25T14:50:39 44.433 INF [Web] OpenAPI preparation done
2024-04-25T14:50:39 44.439 ERR [Web] Error in Web.ctor:

My guess is that this is the issue, and the webAPI never starts properly.

Maybe do a steam validate on the server files? See if something was corrupted. I'm not 100% sure on this, but it feels a little... lower level than configuration, based on that error.
 
This is concerning:
2024-04-25T14:50:39 44.433 INF [Web] OpenAPI preparation done
2024-04-25T14:50:39 44.439 ERR [Web] Error in Web.ctor:

My guess is that this is the issue, and the webAPI never starts properly.

Maybe do a steam validate on the server files? See if something was corrupted. I'm not 100% sure on this, but it feels a little... lower level than configuration, based on that error.
thats my guess too.. because there is no signal (request) coming on the web port.. im using the update server bit of RAT4 or better to use steam it self ?
 
thats my guess too.. because there is no signal (request) coming on the web port.. im using the update server bit of RAT4 or better to use steam it self ?
They perform the same function really as RAT just uses SteamCMD under the hood. But... RAT also closes the SteamCMD window, so... there might be something there that you are missing, etc. So if you can't see the output well, I'd recommend doing a validate from the command line and see what the results are.
 
They perform the same function really as RAT just uses SteamCMD under the hood. But... RAT also closes the SteamCMD window, so... there might be something there that you are missing, etc. So if you can't see the output well, I'd recommend doing a validate from the command line and see what the results are.
whats better. release or latest experimental ?
 
They perform the same function really as RAT just uses SteamCMD under the hood. But... RAT also closes the SteamCMD window, so... there might be something there that you are missing, etc. So if you can't see the output well, I'd recommend doing a validate from the command line and see what the results are.
after update its the same message
 
i think i might get a different machine for the server and try it that way instead of running it on my local machine.