question

juusoturunen avatar image
juusoturunen asked

Backfill matchmaking errors

We're having some problems with getting backfill matchmaking to work. We're using the C++ Windows SDKs. Multiplayer SDK version is 1.7.2.

This whole matchmaking process from start to finish happens in a background thread:

  • Wait for initial players to connect to the server.

  • Create a ticket with PFMultiplayerCreateServerBackfillTicket.

  • Process the ticket with PFMultiplayerStartProcessingMatchmakingStateChanges etc, this code is the same for client side and works without issues for the clients.

  • The server doesn't get any status updates until about 40 seconds later (ticket has 2 minute timeout) the ticket is in failed state with error 0x89236609: the PubSub service encountered an error while creating or maintaining the connection.

  • This also leaves the ticket hanging so it has to be manually canceled with CancelAllServerBackfillTicketsForPlayer, which is not a part of the C++ SDK. Using the PFMatchmakingTicketCancel does not work for this, it returns an error 0x8923630b: the ticket is already completed.

We have a 12 second timer between backfill attempts to avoid the api limits. That PubSub error happens 3 times and then the error changes to 0x89236617: the PubSub library has hit its max websocket connections limit.

All this happens without anyone trying to connect to the server after the initial players. If someone tries to matchmake to get to the server, it seems like the client gets a valid match result, but the server still get the same PubSub error.

Also trying to cancel the backfill ticket with PFMatchmakingTicketCancel while it's processing puts the ticket into an error state 0x8923630c: an unrecoverable failure was encountered when attempting to cancel the ticket. PFMatchmakingTicketCancel itself returns success.

sdksmultiplayerMatchmaking
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

·
Xiao Zha avatar image
Xiao Zha answered

Our engineers are aware of this issue and are investigating. We will notify you if there are any updates. Thanks for your patience.

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.

Xiao Zha avatar image Xiao Zha commented ·

We have reproduced the issue with server backfill tickets not having the correct status change, but the issue is still under investigation. You may follow up on this issue on Discord: https://discord.com/channels/684463257276121192/1234785202262376558 . Thanks for your patience.

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.