Eco
Magnixx Nov 22, 2022 @ 2:40am
Way to break the game with a update!
App authentication failed: Both -user and -passwordOrToken should be provided in command line
Source:Eco.Shared

This is all I get everytime I try to login to any world.
< >
Showing 1-15 of 23 comments
Cherno Nov 22, 2022 @ 3:08am 
Same here. Guess we have to wait.
SLG-Dennis  [developer] Nov 22, 2022 @ 3:16am 
I'm really sorry for anyone affected, we are not able to reproduce the issue ourselves yet. Hence we need as much as information as any possible what is different for the affected people vs. the non-affected. Could you help us out with the following:

Do you start the game just normal via Steam? Have you set any parameters in the Properties (Right click)?

Do you start the world via ingame, e.g. "Your Worlds" -> Local Worlds -> Load? Or any other way? If you start the server via ingame means, can you try to manually start by executing /Steam/steamapps/common/Eco/Eco_Data/Server/EcoServer.exe, do you get the same issue then?
Pandorian Nov 22, 2022 @ 3:23am 
I start the game normal via Steam.

This error occurs when trying to load old single player games or start new single player games through Steam.

When launching a server through the .exe I also get the same error

This way also creates a Local World called "Game" which has the same error.

EDIT: Log

[06:16:30.477] [1] [Error] [Eco] ]Failed to start the server. Exception was Exception: ApplicationException
Message:App authentication failed: Both -user and -passwordOrToken should be provided in command line
Source:Eco.Shared

System.ApplicationException: App authentication failed: Both -user and -passwordOrToken should be provided in command line
at Eco.Shared.Authentication.AppAuthentication.Authenticate(IEnumerable`1 authenticators)
at Eco.Server.PluginManager.InitializeAsync(StartupInfo startupInfo)
at Eco.Server.Startup.StartAsync(StartupInfo startupInfo)[

[06:16:30.489] [1] [] [Eco] ]Shutdown finished[
Last edited by Pandorian; Nov 22, 2022 @ 3:24am
Tobbsey Nov 22, 2022 @ 3:23am 
Got the same message.
Seems to be a "line" missing or something? Had NO issues up until the last patch, so either there's something removed from a "Command Line", that prevents from playing? Unsure. But I'm gonna go ahead and "investimigate".
Gregz Nov 22, 2022 @ 3:24am 
same -steam
SLG-Dennis  [developer] Nov 22, 2022 @ 3:27am 
Thank you. To all of you as well: Do you use Steam only accounts or have you linked your Steam accounts with an SLG account?
Pandorian Nov 22, 2022 @ 3:30am 
Originally posted by SLG-Dennis:
Thank you. To all of you as well: Do you use Steam only accounts or have you linked your Steam accounts with an SLG account?


Steam only account. I attempted to recover account on SLG but none of my emails were in the database so it has to be Steam only.
Tobbsey Nov 22, 2022 @ 3:32am 
Originally posted by SLG-Dennis:
Thank you. To all of you as well: Do you use Steam only accounts or have you linked your Steam accounts with an SLG account?
Steam Only account here as well, pluss Re-installing does abso-fnerkin'-lutely nothing, sooo There's def. something with the latest patch.
SLG-Dennis  [developer] Nov 22, 2022 @ 3:34am 
As a workaround you can try the following?

Go to /Steam/steamapps/common/Eco/Eco_Data/Server/Storage and rename the .db and .eco file of the savegame you are currently playing to Game.db and Game.eco (note the capitalization!) respectively.

Then start the server manually via the EcoServer.exe (in /Steam/steamapps/common/Eco/Eco_Data/Server/). You will then be able to start the game and in Your Worlds, at "LAN Servers" you should be able to join it.
Pandorian Nov 22, 2022 @ 3:40am 
Originally posted by SLG-Dennis:
As a workaround you can try the following?

Go to /Steam/steamapps/common/Eco/Eco_Data/Server/Storage and rename the .db and .eco file of the savegame you are currently playing to Game.db and Game.eco (note the capitalization!) respectively.

Then start the server manually via the EcoServer.exe (in /Steam/steamapps/common/Eco/Eco_Data/Server/). You will then be able to start the game and in Your Worlds, at "LAN Servers" you should be able to join it.


This workaround worked for my single player game.
shatalkua Nov 22, 2022 @ 3:41am 
Im on steam only. was fine when i went to bed, woke up to up date and now when I click continue for the game ive been playing i get "]The server crashed with error ' App authentication failed: Both -user and -passwordOrToken should be provided in the command line' and you can't play. Check logs in the 'Eco_Data\Server\Logs' for more information.[" and the logs say this "[03:24:10.108] [1] [Error] [Eco] ]Failed to start the server. Exception was Exception: ApplicationException
Message:App authentication failed: Both -user and -passwordOrToken should be provided in command line
Source:Eco.Shared

System.ApplicationException: App authentication failed: Both -user and -passwordOrToken should be provided in command line
at Eco.Shared.Authentication.AppAuthentication.Authenticate(IEnumerable`1 authenticators)
at Eco.Server.PluginManager.InitializeAsync(StartupInfo startupInfo)
at Eco.Server.Startup.StartAsync(StartupInfo startupInfo)[

[03:24:10.120] [1] [] [Eco] ]Shutdown finished["

also i have no idea what an slg account is, ive only ever played this through steam
SLG-Dennis  [developer] Nov 22, 2022 @ 3:43am 
We have identified the issue and a hotfix will be available in about four hours. Thanks for your help.

This workaround should work for you until the hotfix is out:
Go to /Steam/steamapps/common/Eco/Eco_Data/Server/Storage and rename the .db and .eco file of the savegame you are currently playing to Game.db and Game.eco (note the capitalization!) respectively.

Then start the server manually via the EcoServer.exe (in /Steam/steamapps/common/Eco/Eco_Data/Server/). You will then be able to start the game and in Your Worlds, at "LAN Servers" you should be able to join it.

Alternatively you can link your Steam account to an SLG account on https://play.eco, that will solve it without the steps above being necessary.
Last edited by SLG-Dennis; Nov 22, 2022 @ 3:53am
Hidden der Vogel Nov 22, 2022 @ 3:48am 
On this way, it work for me
Chatgara Nov 22, 2022 @ 3:51am 
Hello, since the last update my server won't start anymore (not local), i got the logs :

System.Exception: D:\servers\service3347\home\games\eco\Mods\__core__\Objects\Crane.cs(36,18): error CS0260: Missing partial modifier on declaration of type 'CraneObject'; another partial declaration of this type exists
at Eco.ModKit.RoslynCompiler.HandleCompilerError(ImmutableArray`1 diagnostics)
at Eco.ModKit.RoslynCompiler.Compile(AssemblyLoadContext assemblyContext)
at Eco.ModKit.RoslynCompiler..ctor(AssemblyLoadContext assemblyContext, String modsDirectory, String modsAssemblyPath)
at Eco.ModKit.RoslynCompiler..ctor(String modsDirectory, String modsAssemblyPath)
at Eco.ModKit.ModKitPlugin..ctor()
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
Outer Exceptions:
Exception has been thrown by the target of an invocation.

Is the issue linked ?
SLG-Dennis  [developer] Nov 22, 2022 @ 3:53am 
No, that is corrupted files, the server didn't update correctly. Try to remove the /Mods/ folder and do another Steam update.
< >
Showing 1-15 of 23 comments
Per page: 1530 50