Results 1 to 3 of 3

Thread: ModBuddy Error: Gateway Timeout

  1. #1
    Join Date
    Apr 2011
    Location
    Near Portsmouth, UK
    Posts
    1,067

    Thumbs down ModBuddy Error: Gateway Timeout

    Looks like the next ModBuddy error that creators of many mods, or mods with frequent updates, are going to hit is a Gateway Timeout error from the GameSpy server at http://civ5.sake.gamespy.com/SakeSto...sServices.asmx when trying to display the current list of mods with all their versions (ie just after the Tools -> Online Services login page).

    Unfortunately ModBuddy's way of dealing with the timeout is to crash. Which is somewhat annoying as most of the information on this page (ie that pertaining to out of date versions) is useless anyway.

    So, for the time being my main GameSpy/ModBuddy account is dead (again!)

    Update: On further investigation this is being caused by a "maxReceivedMessageSize" overflow, the timeout is a symptom not the cause. The limit seems to be around 120 versions of mod(s) - although the exact number will vary depending on the length of the mod name, number of downloads and ratings.
    Last edited by whoward69; 02-13-2012 at 12:07 AM.

  2. #2
    Join Date
    Apr 2011
    Location
    Near Portsmouth, UK
    Posts
    1,067

    Thumbs up

    OK, I've managed to "fix" this - I make no guarentees that this won't totally break your system, but it's currently working for me.

    USE THIS ENTIRELY AT YOUR OWN RISK!!!

    • Locate the file ModBuddy.exe.config (if you can't find this file, you definately shouldn't be attempting this!)
    • MAKE A BACKUP OF IT
    • Open it with a plain text editor
    • Locate the line
      Code:
      receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
      and change it to
      Code:
      receiveTimeout="00:30:00" sendTimeout="00:01:00" allowCookies="false"
    • Locate the line
      Code:
      maxBufferSize="131072" maxBufferPoolSize="524288" maxReceivedMessageSize="131072"
      and change it to
      Code:
      maxBufferSize="524288" maxBufferPoolSize="524288" maxReceivedMessageSize="524288"
    • Save the file and start ModBuddy, you should now be able to log in and receive the long list of your mods

  3. #3
    Join Date
    Apr 2011
    Location
    Near Portsmouth, UK
    Posts
    1,067
    In this day and age of 4Gb plus laptops/desktops why on earth would you limit the message size to 128 kilo-bytes?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •