Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • Bugs /
avatar image
Question by lordsplendidhumility · Sep 14, 2018 at 03:20 AM · Matchmaking

Matchmaking calls fail with a generic http error when API data is compressed

In Unity 2.018.2.7f1, with a Request Type of "Unity Web Request" set (the default value), and with "Compress API Data" enabled (the default value), calls to either PlayFabClientAPI.Matchmake() (from a client) or PlayFabClientAPI.RedeemMatchmakerTicket() (from a custom server build) fail with a "Generic/unknown HTTP error" error message. All other API calls I've tried (login, fetching title data, fetching title news, etc) appear to work correctly; of our current limited PlayFab integration, only Matchmaking-related calls are generating errors for us.

If "Compress Api Data" is disabled, then both those matchmaking calls work successfully.

If I switch from "Unity Web Request" to "Unity Www" and keep "Compress Api Data" enabled, the matchmaking calls still fail, but now fail with a "500 Internal Server Error" message instead of the "Generic/unknown HTTP error" from the "Unity Web Request".

If I switch from "Unity Web Request" to "Http Web Request" and keep "Compress Api Data" enabled, then the matchmaking calls all work correctly (but from an inspection of the code, it appears that this request type ignores that option and just sends all requests uncompressed regardless)

Comment

People who like this

0 Show 1
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image lordsplendidhumility · Sep 14, 2018 at 03:31 AM 0
Share

I've also verified that this happens in the generic PlayFabGameServerClientExample project (https://github.com/PlayFab/PlayFabGameServer), if you turn on API data compression there.

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Brendan · Sep 14, 2018 at 03:39 AM

Yes, as mentioned in this thread (https://community.playfab.com/questions/12673/500-error-with-matchmake-api.html), please do not use the Compress API Data option. We'll be enabling it in a future release.

Comment
lordsplendidhumility

People who like this

1 Show 1 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image drallcom3 · Apr 22, 2019 at 04:14 PM 0
Share

Can you maybe disable it by default? I run into this trap every time I update the SDK...

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    3 People are following this question.

    avatar image avatar image avatar image

    Related Questions

    Matchmaking stopped working for me + unity downloads wrong secret key 1 Answer

    PlayFab Error /Match/GetMatch:Empty 11 Answers

    Missing values in CancellationReason enum (.NET SDK) 2 Answers

    Matchmaking Error 1 Answer

    ListQosServers suddenly returning error in all builds (including older builds that worked for weeks) 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges