alinmear / docker-conanexiles

A docker container to easily provision and manage a conanexiles dedicated server using wine
MIT License
105 stars 74 forks source link

Server fails to start - no certificate #46

Open Kartax opened 4 years ago

Kartax commented 4 years ago

My server fails to start

Network:Error: Code: Certificate path env var 'DW_CERTIFICATE_PATH' is not set Network:Warning: Code: Loading dedicated server provider id certificate: SecureServerProviderID not set. Network:Display: Looking for dedicated server provider id certificates issued by "C=NO, S=Oslo, L=Oslo, O=Funcom Oslo AS, CN=Funcom Oslo AS"... Network:Warning: Code: Loading dedicated server provider id certificate: No secure server provider id configured, selecting certificate with id #-1. Network:Error: Code: KDS passphrase provider failed to initialize. KDS will at some point deny access unless the problem is fixed. Failure message: Error loading dedicated server provider id certificate: No certificate found with id #-1.. Network:Error: Code: KDS passphrase failure: Server provider id certificate unavailable: 0x80092004 Network:Display: Connecting to key distribution web service wss://ce-kds-winunoff-wdc01.funcom.com:7002/server/... Network:Display: Key distribution web service: Connecting (session: E9EC786C42EE17A2B791299582411388, mirror: wss://ce-kds-winunoff-wdc01.funcom.com:7002/server/, fail count: 0, retry time: -1.0) exited: conanexilesServer (exit status 5; not expected)

Any idea what i might be missing or doing wrong?

meanderis commented 4 years ago

I'm running into the same issue.

herexx6349 commented 4 years ago

I have the same problems when trying to start the container on a synology nas (docker 18.09.0). The same image works fine in Ubuntu VM. Is the old Docker version the problem here? Would be very cool if someone knows the solution.

Persistence:Display: WorldPersistence: Loading 0 actors
Persistence:Display: WorldPersistence: Finished loading actors
LogMemory:Display: Entered application state 'WorldPersistenceDone'.
Persistence:Display: WorldPersistence: Found 0 alive characters
Persistence:Display: WorldPersistence: Found 0 alive characters
Persistence:Display: WorldPersistence: Found 0 Server Population Recordings
Network:Error: Code: Certificate path env var 'DW_CERTIFICATE_PATH' is not set
Network:Warning: Code: Loading dedicated server provider id certificate: SecureServerProviderID not set.
Network:Display: Looking for dedicated server provider id certificates issued by "C=NO, S=Oslo, L=Oslo, O=Funcom Oslo AS, CN=Funcom Oslo AS"...
Network:Warning: Code: Loading dedicated server provider id certificate: No secure server provider id configured, selecting certificate with id #-1.
Network:Error: Code: KDS passphrase provider failed to initialize. KDS will at some point deny access unless the problem is fixed. Failure message: Error loading dedicated server provider id certificate: No certificate found with id #-1..
Network:Error: Code: KDS passphrase failure: Server provider id certificate unavailable: 0x80092004
Network:Display: Connecting to key distribution web service wss://ce-kds-winunoff-ams07.funcom.com:7005/server/...
Network:Display: Key distribution web service: Connecting (session: 29CD732241440E5F818FB68E3DFB934F, mirror: wss://ce-kds-winunoff-ams07.funcom.com:7005/server/, fail count: 0, r etry time: -1.0)
2020-09-05 23:33:30,868 INFO exited: conanexilesServer (exit status 5; not expected)

charchess commented 4 years ago

Exact same error message, please advise (and thanks for your excellent work)

meanderis commented 4 years ago

Container works fine apparently, it seems to be hardware for me. I switched the nvme into a newer machine and it works 100% fine. If you can switch over to newer hardware give that a shot.

herexx6349 commented 4 years ago

unfortunately it is the only supported docker version on synology dsm. I hope that someone will take a look at this problem.

Kackpappe commented 4 years ago

Same problem here on synology dsm running docker 18.09.0-0513 :[

meanderis commented 4 years ago

Can anyone else running into this issue switch hardware ? 2020-09-05 23:33:30,868 INFO exited: conanexilesServer (exit status 5; not expected) Is the actual error message I ran into, the rest is not applicable in my case. All I did was switch the linux drive to new hardware and everything worked. I'm wondering if we should be pestering funcom about this. To me switching hardware sounds like something compiled into the executable is bailing on my older hardware.

maritz commented 4 years ago

The KDS passphrase failures seem random and even happen on a normal Windows machine using the dedicated launcher. But even when they happen, I can usually still connect to the server fine.

So I think meanderis is right, that all those log lines can be ignored and the actual cause is not visible from the logs. (I'm not having any start failures currently, just saw those log messages and looked through the issues here :) )

herexx6349 commented 4 years ago

ok, this is weird. My server does not start and I can't connect. Unfortunately I can't use any other hardware, the issue relates to the Synology docker package 18.09.0-0513 on a DS1618+

charchess commented 4 years ago

Mine is a docker one a "standard" server : Linux ***** 5.3.0-3-amd64 #1 SMP Debian 5.3.15-1 (2019-12-07) x86_64 GNU/Linux Docker version 19.03.4, build 9013bf5 hope it might help

alinmear commented 3 years ago

Please try the latest version of the docker image. Does this problem still occur?

herexx6349 commented 3 years ago

Unfortunately the error message still the same for me even with the latest docker image:

alinmear-docker-conanexiles1.txt

it doesn't seem to be a general docker image problem either - in the virtual DSM (synology) environment everything runs fine. But conanexiles image is the only thing that does not run on my 1618+. Here the circle closes and I don't know how to get further.

alinmear commented 3 years ago

Did you specify a redis instance:

2021-03-29 09:21:00,stdout,>> WARN: Failed to connect to redis instance - redis:6379. Skipping redis call: redis_set_master_server_instance

Without redis the nodes can't synchronize their state, primary/secondary, etc.

I can't see any certifacte problem within your logs any more

herexx6349 commented 3 years ago

Hi, no i'm running conanexiles without redis (even in virtualDSM, where it's workung just fine).

Network:Warning: Code: Loading dedicated server provider id certificate: No secure server provider id configured, selecting certificate with id #-1. Network:Error: Code: KDS passphrase provider failed to initialize. KDS will at some point deny access unless the problem is fixed. Failure message: Error loading dedicated server provider id certificate: No certificate found with id #-1.. Network:Error: Code: KDS passphrase failure: Server provider id certificate unavailable: 0x80092004

Edit: i have installed redis in docker and started a new attempt - unfortunately without success. The error message remains the same. alinmear-docker-conanexiles1.txt

madhub0815 commented 3 years ago

Hello im running the Conan Server on a private server using OpenMediaVault and portainer.

In Steam Server Manager i can see the server. Ingame also but with ping 9999. If i try to connect directly i ran into a timeout after some minutes.

Attached here is a complete fresh start after a new install.

What can i do to fix that certificate issue wich seems be the failure and connect to the server? I uses the example docker-compose published here for creation.

Logfile _Conan-Server_logs.txt

madhub0815 commented 3 years ago

Problem still exist still with the latest build.

`Network:Display: Certificate path env var 'DW_CERTIFICATE_PATH' is not set

Network:Warning: Code: Loading dedicated server provider id certificate: SecureServerProviderID not set.

Network:Display: Looking for dedicated server provider id certificates issued by "C=NO, S=Oslo, L=Oslo, O=Funcom Oslo AS, CN=Funcom Oslo AS"...

Network:Warning: Code: Loading dedicated server provider id certificate: No secure server provider id configured, selecting certificate with id #-1.

Network:Error: Code: KDS passphrase provider failed to initialize. KDS will at some point deny access unless the problem is fixed. Failure message: Error loading dedicated server provider id certificate: No certificate found with id #-1..

Network:Error: Code: KDS passphrase failure: Server provider id certificate unavailable: 0x80092004

Network:Display: Connecting to key distribution web service wss://ce-kds-winunoff-ams06.funcom.com:7001/server/...

Network:Display: Key distribution web service: Connecting (session: FE22BD9A4E071D17AF99BAB5CFBD426E, mirror: wss://ce-kds-winunoff-ams06.funcom.com:7001/server/, fail count: 0, retry time: -1.0)

SourceServerQueries:Warning: Started SourceServerQueries on port 27015

GUI:Warning: Code: SlotServerRatingRequestTimedOut: Rating request timed out with error 11

Network:Display: Key distribution web service: Connected (session: FE22BD9A4E071D17AF99BAB5CFBD426E, mirror: wss://ce-kds-winunoff-ams06.funcom.com:7001/server/, fail count: 0, retry time: -1.0)

LogUObjectGlobals:Warning: Failed to find object 'Object /Game/Items/BPGameItemWeapon_NPCKnockUp_250.BPGameItemWeapon_NPCKnockUp_500_C'

LogStreaming:Error: Couldn't find file for package /Game/Characters/NPCs/Undead/Blueprints/BP_NPC_Wildlife_Undead_Dregs_Fighter requested by async loading code. NameToLoad: /Game/Characters/NPCs/Undead/Blueprints/BP_NPC_Wildlife_Undead_Dregs_Fighter

LogStreaming:Error: Found 0 dependent packages...

LogDataTable:Warning: UDataTable::FindRow : 'GETTHRALLTIER' requested row '65' not in DataTable '/Game/Systems/Thrall/ThrallTierDataTable.ThrallTierDataTable'.

SpawnTable:Error: Data: USpawnTableComponent::GetThrallTier - could not find SpawnTable with ID: 65

LogDataTable:Warning: UDataTable::FindRow : 'GETTHRALLTIER' requested row '62' not in DataTable '/Game/Systems/Thrall/ThrallTierDataTable.ThrallTierDataTable'.

SpawnTable:Error: Data: USpawnTableComponent::SpawnNPCFromWeightedTable - could not find weighted table with id: we

PacketHandlerLog:Error: PacketHandler parsing packet with zero's in last byte.`

Connection to the server not working. Need help how to fix it.

Mordecaine commented 3 years ago

@madhub0815 I get the same errors:

[conanexiles@illios ~]$ grep certificate conanexiles.log
Saving to: '/usr/local/share/ca-certificates/USERTrustRSAAddTrustCA.crt'
2021-07-13 16:13:12 (301 MB/s) - '/usr/local/share/ca-certificates/USERTrustRSAAddTrustCA.crt' saved [1413/1413]
Updating certificates in /etc/ssl/certs...
rehash: warning: skipping USERTrustRSAAddTrustCA.pem,it does not contain exactly one certificate or CRL
Running hooks in /etc/ca-certificates/update.d...
Network:Warning: Code: Loading dedicated server provider id certificate: SecureServerProviderID not set.
Network:Display: Looking for dedicated server provider id certificates issued by "C=NO, S=Oslo, L=Oslo, O=Funcom Oslo AS, CN=Funcom Oslo AS"...
Network:Warning: Code: Loading dedicated server provider id certificate: No secure server provider id configured, selecting certificate with id #-1.
Network:Error: Code: KDS passphrase provider failed to initialize. KDS will at some point deny access unless the problem is fixed. Failure message: Error loading dedicated server provider id certificate: No certificate found with id #-1..
Network:Error: Code: KDS passphrase failure: Server provider id certificate unavailable: 0x80092004
Network:Error: Code: KDS passphrase failure: Server provider id certificate unavailable: 0x80092004
Network:Error: Code: KDS passphrase failure: Server provider id certificate unavailable: 0x80092004
Network:Error: Code: KDS passphrase failure: Server provider id certificate unavailable: 0x80092004
Network:Error: Code: KDS passphrase failure: Server provider id certificate unavailable: 0x80092004
[...]
Mezmerizes commented 2 years ago

Hi all

Is not the Hardware

I start up a DSM in the Virtuel Machine, install docker and it runs!

I think the New Version of Docker and DSM OS is the Problem. In VM DMS use an older Version