question

Ivan Kozka avatar image
Ivan Kozka asked

Matchmaking is canceled before condition which I specified GiveUpAfterSeconds

Why matchmacking is cancel earlier than specified if I specified in that attribute GiveUpAfterSeconds 5 minute, and matchmking cancel after 1:20 minute ?

Matchmaking
2 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.

Gosen Gao avatar image Gosen Gao commented ·

What is the cancellation reason of those tickets?

0 Likes 0 ·
Ivan Kozka avatar image Ivan Kozka Gosen Gao commented ·

I don't know, that is my question for you why this happened?, as I told I set GiveUpAfterSeconds = 900, but match is cancel after one minute.

and as you see, this log of my ticket

{
    "Id": "00337dfa9908443fbfb89d8df96d05c6",
    "SchemaVersion": "2.0.1",
    "FullName": {
        "Namespace": "playfab.matchmaking",
        "Name": "ticket_completed"
    },
    "Timestamp": "2022-10-14T07:49:07.8192765Z",
    "Entity": {
        "Type": "title",
        "Id": "7DCFA"
    },
    "Originator": {
        "Type": "service",
        "Id": "playfab"
    },
    "Payload": {
        "QueueName": "PVP",
        "TicketId": "473bf8ca-d78f-4aa7-98eb-67a62911c5d3",
        "TicketEntities": [
            {
                "Type": "title_player_account",
                "Id": "C4544A7C12EDB524"
            }
        ],
        "CreationTime": "2022-10-14T07:47:08.0000000Z",
        "SubmissionTime": "2022-10-14T07:47:08.0000000Z",
        "CompletionTime": "2022-10-14T07:49:06.0000000Z",
        "Result": "Canceled",
        "CancellationReason": "Requested"
    },
    "EntityLineage": {
        "namespace": "175E03037BEE6783",
        "title": "7DCFA"
    },
    "PayloadContentType": "Json"
}
0 Likes 0 ·

1 Answer

·
Gosen Gao avatar image
Gosen Gao answered

Sorry for the confusion, I just want to know this:

"Result": "Canceled",
"CancellationReason": "Requested"<br>

This cancellation reason means the ticket is cancelled by another API call, such as Matchmaking - Cancel All Matchmaking Tickets For Player - REST API (PlayFab Multiplayer) | Microsoft Learn or Matchmaking - Cancel Matchmaking Ticket - REST API (PlayFab Multiplayer) | Microsoft Learn. Please check your code to see which step you call such APIs.

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.

Ivan Kozka avatar image Ivan Kozka commented ·

Thank you very much, this helped to me.

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.