Need Help Setting Up Local Server!

Code:
2024-04-26T12:26:43 41.299 ERR [Web] Error in Web.ctor:
2024-04-26T12:26:43 41.303 EXC String conversion error: Illegal byte sequence encounted in the input.
  at (wrapper managed-to-native) System.Net.Dns.GetHostByName_icall(string,string&,string[]&,string[]&,int)
  at System.Net.Dns.GetHostByName (System.String hostName) [0x0001a] in <8c9cb336fa2042c285391d24de6e4092>:0
  at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in <8c9cb336fa2042c285391d24de6e4092>:0
  at SpaceWizards.HttpListener.ServiceNameStore.BuildServiceNames (System.String uriPrefix) [0x00039] in E:\allocs_mod\SpaceWizards.HttpListener\src\System\Net\ServiceNameStore.cs:309
  at SpaceWizards.HttpListener.ServiceNameStore.Add (System.String uriPrefix) [0x00001] in E:\allocs_mod\SpaceWizards.HttpListener\src\System\Net\ServiceNameStore.cs:155
  at SpaceWizards.HttpListener.HttpListener.AddPrefix (System.String uriPrefix) [0x001e6] in E:\allocs_mod\SpaceWizards.HttpListener\src\System\Net\HttpListener.cs:178
  at SpaceWizards.HttpListener.HttpListenerPrefixCollection.Add (System.String uriPrefix) [0x00000] in E:\allocs_mod\SpaceWizards.HttpListener\src\System\Net\HttpListenerPrefixCollection.cs:91
  at Webserver.Web..ctor (System.String _modInstancePath) [0x00151] in E:\allocs_mod\WebServer\src\Web.cs:63
UnityEngine.StackTraceUtility:ExtractStringFromException(Object)
Log:Exception(Exception)
Webserver.Web:.ctor(String) (at E:\allocs_mod\WebServer\src\Web.cs:73)
Webserver.ModApi:GameStartDone() (at E:\allocs_mod\WebServer\src\ModApi.cs:25)
ModEvent:Invoke()
<startGameCo>d__126:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

This is most definitely an error.

Maybe a Windows 11 issue, not sure.
 
Its an allocs mod error... make sure you have the latest/correct Allocs mod for your server. If you have any troubles, for now, just remove it, get everything working. The only thing RAT needs it for is to see your player inventory.

Also, the error appears to be a problem looking up your IP address so it can bind to the webserver port. BUT.... that's kind of a guess and why it'd have that problem? No idea. What OS are you using?
 
Its an allocs mod error... make sure you have the latest/correct Allocs mod for your server. If you have any troubles, for now, just remove it, get everything working. The only thing RAT needs it for is to see your player inventory.

Also, the error appears to be a problem looking up your IP address so it can bind to the webserver port. BUT.... that's kind of a guess and why it'd have that problem? No idea. What OS are you using?
Hey.. the thing is that i'd like to use the online map thing.. or is that something separate ? so i need to open port 80 ? or..

im running win 11.
 
i'd like to use the online map thing
There are currently 2 maps.
1 is the web dashboard and 1 is allocs.

The web dashboard is a bit lackluster at the moment as it only shows players, animals and a couple other things.
It doesn't show inventory, that's where Allocs comes in.
 
Code:
2024-04-26T12:26:43 41.299 ERR [Web] Error in Web.ctor:
2024-04-26T12:26:43 41.303 EXC String conversion error: Illegal byte sequence encounted in the input.
  at (wrapper managed-to-native) System.Net.Dns.GetHostByName_icall(string,string&,string[]&,string[]&,int)
  at System.Net.Dns.GetHostByName (System.String hostName) [0x0001a] in <8c9cb336fa2042c285391d24de6e4092>:0
  at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in <8c9cb336fa2042c285391d24de6e4092>:0
  at SpaceWizards.HttpListener.ServiceNameStore.BuildServiceNames (System.String uriPrefix) [0x00039] in E:\allocs_mod\SpaceWizards.HttpListener\src\System\Net\ServiceNameStore.cs:309
  at SpaceWizards.HttpListener.ServiceNameStore.Add (System.String uriPrefix) [0x00001] in E:\allocs_mod\SpaceWizards.HttpListener\src\System\Net\ServiceNameStore.cs:155
  at SpaceWizards.HttpListener.HttpListener.AddPrefix (System.String uriPrefix) [0x001e6] in E:\allocs_mod\SpaceWizards.HttpListener\src\System\Net\HttpListener.cs:178
  at SpaceWizards.HttpListener.HttpListenerPrefixCollection.Add (System.String uriPrefix) [0x00000] in E:\allocs_mod\SpaceWizards.HttpListener\src\System\Net\HttpListenerPrefixCollection.cs:91
  at Webserver.Web..ctor (System.String _modInstancePath) [0x00151] in E:\allocs_mod\WebServer\src\Web.cs:63
UnityEngine.StackTraceUtility:ExtractStringFromException(Object)
Log:Exception(Exception)
Webserver.Web:.ctor(String) (at E:\allocs_mod\WebServer\src\Web.cs:73)
Webserver.ModApi:GameStartDone() (at E:\allocs_mod\WebServer\src\ModApi.cs:25)
ModEvent:Invoke()
<startGameCo>d__126:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

This is most definitely an error.

Maybe a Windows 11 issue, not sure.
so need to run the server on win10 i guess. ?
There are currently 2 maps.
1 is the web dashboard and 1 is allocs.

The web dashboard is a bit lackluster at the moment as it only shows players, animals and a couple other things.
It doesn't show inventory, that's where Allocs comes in.
anyway.. both are not working i guess.. or is the lackluster one like a mod ? or..
 
so need to run the server on win10 i guess. ?

anyway.. both are not working i guess.. or is the lackluster one like a mod ? or..

Allocs mod is being integrated with the TFP mode that now ships with 7days server. The TFP mod is basically Allocs mod (as Alloc is a TFP dev), updated. Its not fully updated yet, and at some point, Allocs mod will go away and we'll just have the TFP mod.

When that'll happen, no idea. But... I would remove Allocs for the moment, just to get the webAPI working. Then, once you're good there, look at adding Allocs back in. Allocs does work, so there's something weird going on with your install of it, version, etc.

As far as I know, you can run the server on Win11, but I haven't personally done it. So I don't think its that.