Need Help Setting Up Local Server!

rkosters81

New member
Jul 14, 2019
22
0
1
44
My Web API is not working.. ive forwarded all ports etc.. but nothing working.. any tips maybe ?
im also getting this error:

2024-04-23T15:07:43 38.512 ERR [Web] Error in Web.ctor:
2024-04-23T15:07:43 38.513 EXC String conversion error: Illegal byte sequence encounted in the input.
 
Last edited by a moderator:
Hey there, I deleted the image because it had your RAT token listed in it.

That is a basically a key to your server so you shouldn't publicly share it.

I have a few questions that may help you out.

1. Is this a local install?
2. Do you have the latest Allocs Server Fixes installed?
3. Do you have the web dashboard enabled in the serverconfig.xml?
 
Hey there, I deleted the image because it had your RAT token listed in it.

That is a basically a key to your server so you shouldn't publicly share it.

I have a few questions that may help you out.

1. Is this a local install?
2. Do you have the latest Allocs Server Fixes installed?
3. Do you have the web dashboard enabled in the serverconfig.xml?
Hi.. thx.. didnt notice that :P ..

1. Yes its local install
2. Yes ive downloaded the latest allocs server fixes and put them in the MOD folder
3. Yes its enabled.. but the WebDashboard URL i left empty. so it gonna use my public IP.
 
Did you open the port in your router?
I see it as closed using a port checker.
View attachment 1691
very odd.. ive checked several ports.. and the only ones which are open are 27015 and 27018.. and im pretty sure ive forwarded all the ports it needs. ill check the w.firewall again. ive forwarded 7777,8080-8100,9000-10000,27015-27020.. but they are running trough a firewall. im running Unifi hardware
1713898666015.png

ive found an open port.. gonna restart server now
 
Last edited:
I know nothing about Unify.
only thing i can do is forward all the ports i want.. and open them in w.firewall.. i open 7777,8080-8100,9000-10000,27015-27020 to my local ip of my machine.. and forwarded all those ports in windows.

earlier i was using haruhost (a small server tool) and used 9060 and saw that one being open. but after i closed that tool and set the port on RAT it showed up closed :S
 
Why are you opening so many ports?

How may servers do you have going?
 
Why are you opening so many ports?

How may servers do you have going?
i was testing things.. and in the past i was running about 5 or 6 game servers on a separate dedicated server

ive opened only the ports i need and 2 out of 3 are open. the web api port wont open ..:S like its not giving any signal to the outside.
1713900576834.png


doesnt i need to put something in the web api url ?
because im getting this all the time:
2024-04-23T21:34:24 38.722 INF [Web] Serving basic webserver files from F:/DedicatedServers/7D2D Dedicated/7DaysToDieServer_Data/../Mods\TFP_WebServer/webroot
2024-04-23T21:34:24 38.739 INF Started thread SSE-Processing_/sse/
2024-04-23T21:34:24 38.819 INF Started legacy webmod feature on port 9100, local address /legacymap
2024-04-23T21:34:24 38.859 INF [Web] OpenAPI preparation done
2024-04-23T21:34:24 38.869 ERR [Web] Error in Web.ctor:
2024-04-23T21:34:24 38.874 EXC String conversion error: Illegal byte sequence encounted in the input.
1713900757215.png
 
Last edited:
also getting this

2024-04-23 21:35:45 - Error getting response from WebAPI, common causes are that the game server has not fully started yet, your telnet connect is not connected, or an invalid webtoken. RAT will retry again in 60 seconds, if this error continues, make sure you have configured the Web Dashboard settings correctly. - De externe server heeft een fout geretourneerd: (426) Upgrade Required.
 
i was testing things.. and in the past i was running about 5 or 6 game servers on a separate dedicated server
Okay, the only ports I would open up for a single server in your router is the base game port, base +3 and the web dashboard port.

For instance...
26900 TCP
26900-26903 UDP
26906 TCP

I go in blocks of 10
In your situation, I would only port forward what I have labeled below.
Base Port26900 TCPPort Forward
Base Port +326900-26903 UDPPort Forward
Telnet26905 TCP
Web Dashboard26906 TCPPort Forward
CPM (If used)26908 TCP
 
also getting this

2024-04-23 21:35:45 - Error getting response from WebAPI, common causes are that the game server has not fully started yet, your telnet connect is not connected, or an invalid webtoken. RAT will retry again in 60 seconds, if this error continues, make sure you have configured the Web Dashboard settings correctly. - De externe server heeft een fout geretourneerd: (426) Upgrade Required.
This is normal until you get your web dashboard going.
 
One more question, is RAT on the same machine as the server?
 
because im getting this all the time:
2024-04-23T21:34:24 38.722 INF [Web] Serving basic webserver files from F:/DedicatedServers/7D2D Dedicated/7DaysToDieServer_Data/../Mods\TFP_WebServer/webroot
2024-04-23T21:34:24 38.739 INF Started thread SSE-Processing_/sse/
2024-04-23T21:34:24 38.819 INF Started legacy webmod feature on port 9100, local address /legacymap
2024-04-23T21:34:24 38.859 INF [Web] OpenAPI preparation done
2024-04-23T21:34:24 38.869 ERR [Web] Error in Web.ctor:
2024-04-23T21:34:24 38.874 EXC String conversion error: Illegal byte sequence encounted in the input.
Can you login to the server?
If you can, can you type version in the F1 console?
 
RAT is on the same local machine yes.. and yes i can logon onto the server
Okay, that is all the latest.

You have the web dashboard enabled?

XML:
<property name="WebDashboardEnabled"            value="true"/>
<property name="WebDashboardPort"               value="yourWebdashboardPort"/>
<property name="WebDashboardUrl"                value=""/>
<property name="EnableMapRendering"             value="true"/>
 
Okay, that is all the latest.

You have the web dashboard enabled?

XML:
<property name="WebDashboardEnabled"            value="true"/>
<property name="WebDashboardPort"               value="yourWebdashboardPort"/>
<property name="WebDashboardUrl"                value=""/>
<property name="EnableMapRendering"             value="true"/>
yep.. all set