question

Benjamin Bennett avatar image
Benjamin Bennett asked

Best practices for debugging a custom server using Thunderhead (2.0) ?

I have a Unity game acting as a server using Thunderhead (2.0) and it's deploying just fine. I'm trying to debug some issues with the server not interacting with Playfab properly. Is there a way to view logs or see the console on the remote desktop? I've tried remoting in but haven't been able to find anything useful with the command prompt.

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.

Benjamin Bennett avatar image Benjamin Bennett commented ·

Adding on to this I saw in another post that API calls to PlayFab may be broken from within the container? My server currently locks up on AuthenticateSessionTicket. Can anyone confirm if the API calls are broken from within a container?

0 Likes 0 ·

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

>> Is there a way to view logs or see the console on the remote desktop?

Locally debugging a custom server before deploying it should be a good practice. You can check this documentation Locally debugging game servers and integration with PlayFab for more. If you still want to debug a deployed server, you can refer to this section Debugging a deployed multiplayer server of the documentation Allocating game servers and connecting Visual Studio debugging tools. Besides, you can view logs after shutting down the server, please check this section Logging with the GSDK to learn about how to log the custom messages with the GSDK, and this doc Archiving and retrieving multiplayer server logs will help you find the server log files.

>> Adding on to this I saw in another post that API calls to PlayFab may be broken from within the container? My server currently locks up on AuthenticateSessionTicket. Can anyone confirm if the API calls are broken from within a container?

Yes, it should be a known certificate issue of Unity we’ve reported to our production team. Production team is still working on it. There has not been an official solution yet. Currently, a possible workaround is to create your own certificateHandler.

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.