question

Bijian Wu avatar image
Bijian Wu asked

Log server in

I am using Playfab Matchmaking and Playfab Multiplayer with Unity.

When i try to log my server in the your hosted Envrionment, I got the following errors from the server log:

err.GenerateErrorReport() /Authentication/GetEntityToken: TrustFailure: WebException making http request to: https://F7AE3.playfabapi.com/Authentication/GetEntityToken?sdk=UnitySDK-2.101.201218 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) err.ErrorMessage TrustFailure: WebException making http request to: https://F7AE3.playfabapi.com/Authentication/GetEntityToken?sdk=UnitySDK-2.101.201218 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) err.HttpCode 400 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) err.Error ServiceUnavailable (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) err.HttpStatus BadRequest.

the code I used to log server in is:

PlayFab.PlayFabAuthenticationAPI.GetEntityToken(new PlayFab.AuthenticationModels.GetEntityTokenRequest { }, OnGetServerEntityToken, OnGetServverEntityTokenFailed);

Log server in is fine while in the Unity Editor, but not when my server is hosted on Playfab

multiplayer
7 comments
10 |1200

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

Rick Chen avatar image Rick Chen ♦ commented ·

Thanks for your report. We are doing some tests on this scenario. We will keep you informed when there are any updates. Your patience is appreciated.

1 Like 1 ·
Bijian Wu avatar image Bijian Wu Rick Chen ♦ commented ·

The first error is when I set The request type to Http web request, the second error is when I set the request type to be Unity web request in PlayFabSharedSettings. none of the request type works

0 Likes 0 ·
Rick Chen avatar image Rick Chen ♦ Bijian Wu commented ·

I was using Unity with version 2019.4.13f1 and cannot reproduce the issue you described. I will try using Unity 2019.2.4f1 to do the test and let you know the result. Your patience is appreciated.

1 Like 1 ·
Show more comments
Bijian Wu avatar image Bijian Wu commented ·

Curl error 51: Cert verify failed: UNITYTLS_X509VERIFY_FLAG_NOT_TRUSTED err.GenerateErrorReport() /Authentication/GetEntityToken: Unknown Error

another type of the error I am getting when trying to login to user

0 Likes 0 ·

1 Answer

·
Bijian Wu avatar image
Bijian Wu answered

yeah, thanks for trying, i will

1 comment
10 |1200

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

Rick Chen avatar image Rick Chen ♦ commented ·

Thank you, we are looking forward to your feedback.

0 Likes 0 ·

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.