question

Paul Pacheco avatar image
Paul Pacheco asked

Registration failed

I upgraded from 2017.4 and my servers are not registering anymore. I get this error:

Registration failed /Server/RegisterGame PlayFabError(ServiceUnavailable, Generic/unknown HTTP error, 400 BadRequest)
UnityEngine.Debug:Log(Object)
PlayfabServer:LogFailure(PlayFabError) (at Assets/Mindblocks/Shards/PlayfabServer.cs:70)
PlayFab.Internal.PlayFabUnityHttp:OnError(String, CallRequestContainer) (at Assets/PlayFabSdk/Shared/Internal/PlayFabHttp/PlayFabUnityHttp.cs:279)
PlayFab.Internal.<Post>c__Iterator1:MoveNext() (at Assets/PlayFabSdk/Shared/Internal/PlayFabHttp/PlayFabUnityHttp.cs:164)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

my title id is 2470. Please help!

my call looks like this:

PlayFabServerAPI.RegisterGame(newRegisterGameRequest()
{
	ServerIPV4Address=host,
	ServerPort=port,
	Build="1",
	Region=Region.USEast,
	GameMode=mode,
	Tags=newDictionary<string,string>(){
		{"world",world},
		{"utf8world",Encode(world)},
		{"language",language},
		{"production",prod}
	}
},RegisterSuccess,LogFailure);
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Paul Pacheco avatar image
Paul Pacheco answered

I figured it out!

My servers are linux headless servers.

In unity 2018.x they do TLS 1.2 using curl in linux. I needed to install curl. Not documented anywhere.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.