• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login
FAForever Forums
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login

413 Payload Too Large from POST https://api.faforever.com/mods/upload

Scheduled Pinned Locked Moved FAF support (client and account issues)
22 Posts 10 Posters 1.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    Ledmal
    last edited by 10 Nov 2024, 22:49

    I don't know - is there a limit on the amount of downloaded mods in faf?
    It gives an error when loading: 413 Payload Too Large from POST https://api.faforever.com/mods/upload

    We have mod AnnihilationNewSupcom by volume 660Mb
    During the update, the mod (some fixes) issues this error, while it was updated normally half a year ago

    1 Reply Last reply Reply Quote 0
    • M Offline
      magge Global Moderator
      last edited by 10 Nov 2024, 22:50

      @Brutus5000 Is there a mod size limit in place?

      Join a FAFtastic Team

      1 Reply Last reply Reply Quote 0
      • B Online
        Brutus5000 FAF Server Admin
        last edited by 11 Nov 2024, 00:12

        The maximum file size is currently 350mb. That limit was last touched 4 years ago.

        He said, "I've been to the year 3000
        Not much has changed, but they live underwater
        And your great-great-great-granddaughter
        Is playin' FAF, playin' FAF"

        1 Reply Last reply Reply Quote 0
        • B Online
          Brutus5000 FAF Server Admin
          last edited by Brutus5000 11 Nov 2024, 00:16 11 Nov 2024, 00:16

          And your last file was just 223mb...

          He said, "I've been to the year 3000
          Not much has changed, but they live underwater
          And your great-great-great-granddaughter
          Is playin' FAF, playin' FAF"

          1 Reply Last reply Reply Quote 0
          • U Offline
            Uveso
            last edited by 11 Nov 2024, 06:05

            i guess i tuched the limit 4 years ago. Does that mean its now possible to upload Total Mayhem ~325MB ?
            Nice, will try this in near future 😄

            1 Reply Last reply Reply Quote 0
            • B Online
              Brutus5000 FAF Server Admin
              last edited by 11 Nov 2024, 07:39

              Also the problem is not the single file, but this:

              image.png

              That is 10 versions alone within 1 1/2 months eating 2 Gigabyte of disk space. Now if your uploads get bigger an bigger it would be 6GB or more if your file size keeps to grow like this... and we only have limited disk space available.

              He said, "I've been to the year 3000
              Not much has changed, but they live underwater
              And your great-great-great-granddaughter
              Is playin' FAF, playin' FAF"

              1 Reply Last reply Reply Quote 1
              • L Offline
                Ledmal
                last edited by 12 Nov 2024, 11:53

                when downloading the mod, it stops at a volume of 221.6 MB, I attach screenshots

                1.jpg

                2.jpg

                1 Reply Last reply Reply Quote 0
                • L Offline
                  Ledmal
                  last edited by 12 Nov 2024, 11:55

                  We are actively working on balancing and correcting the errors of our mod, so please delete the archived versions of our mod. Please do not store them on the server, leave only the current version

                  1 Reply Last reply Reply Quote 1
                  • J Offline
                    Jip
                    last edited by Jip 11 Dec 2024, 12:16 12 Nov 2024, 12:16

                    We can't only keep the latest version - it would break all replays that use* a previous version.

                    If you want to test your mod with a select couple of people it is better to share the mod manually instead of uploading gigabytes worth of data to the server.

                    A work of art is never finished, merely abandoned

                    D C 2 Replies Last reply 17 Nov 2024, 17:46 Reply Quote 1
                    • Z Offline
                      ZLO
                      last edited by 17 Nov 2024, 17:33

                      Can we come back to this? They can't solve the problem.
                      We need a clearer understanding of what the problem exactly is.
                      And what can be done.
                      and if they need to decrease the file size then how much it needs to be decreased?
                      They have tried 307MB (before compression). that is ~50% mod size decrease and it does not let them upload the file.
                      also tested 100MB (before compression) and it lets them upload the mod, but they can't decrease mod size this much.
                      When talking about file size limits pls mention if it is before or after compression pls.

                      TA4Life: "At the very least we are not slaves to the UI" | http://www.youtube.com/user/dimatularus | http://www.twitch.tv/zlo_rd

                      J 1 Reply Last reply 17 Nov 2024, 17:50 Reply Quote 0
                      • D Offline
                        Defiant @Jip
                        last edited by 17 Nov 2024, 17:46

                        @Jip said in 413 Payload Too Large from POST https://api.faforever.com/mods/upload:

                        We can't only keep the latest version - it would break all replays that use* a previous version.

                        If you want to test your mod with a select couple of people it is better to share the mod manually instead of uploading gigabytes worth of data to the server.

                        This is important to myself and others who VERY MUCH enjoy watching older replays.

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          Jip @ZLO
                          last edited by 17 Nov 2024, 17:50

                          @ZLO said in 413 Payload Too Large from POST https://api.faforever.com/mods/upload:

                          Can we come back to this? They can't solve the problem.
                          We need a clearer understanding of what the problem exactly is.
                          And what can be done.
                          and if they need to decrease the file size then how much it needs to be decreased?
                          They have tried 307MB (before compression). that is ~50% mod size decrease and it does not let them upload the file.
                          also tested 100MB (before compression) and it lets them upload the mod, but they can't decrease mod size this much.
                          When talking about file size limits pls mention if it is before or after compression pls.

                          What is the mod about?

                          If it is a unit mod then you can split them over several, smaller mods. You would need to enable them all manually of course, but it would be the easiest approach.

                          A work of art is never finished, merely abandoned

                          Z 1 Reply Last reply 17 Nov 2024, 18:10 Reply Quote 0
                          • Z Offline
                            ZLO @Jip
                            last edited by 17 Nov 2024, 18:10

                            @Jip said in 413 Payload Too Large from POST https://api.faforever.com/mods/upload:

                            @ZLO said in 413 Payload Too Large from POST https://api.faforever.com/mods/upload:

                            Can we come back to this? They can't solve the problem.
                            We need a clearer understanding of what the problem exactly is.
                            And what can be done.
                            and if they need to decrease the file size then how much it needs to be decreased?
                            They have tried 307MB (before compression). that is ~50% mod size decrease and it does not let them upload the file.
                            also tested 100MB (before compression) and it lets them upload the mod, but they can't decrease mod size this much.
                            When talking about file size limits pls mention if it is before or after compression pls.

                            What is the mod about?

                            If it is a unit mod then you can split them over several, smaller mods. You would need to enable them all manually of course, but it would be the easiest approach.

                            Yes, it is a unit mod.

                            Okay that is one possible solution...
                            But splitting to like 6 smaller mods is pretty annoying

                            Ideal would be to fix something on the server, we just don't understand how is that possible that we were able to upload 600mb mod before and now we can't, while file size limit did not get changed for 4 years, and halving the mod size does not help

                            TA4Life: "At the very least we are not slaves to the UI" | http://www.youtube.com/user/dimatularus | http://www.twitch.tv/zlo_rd

                            Z 1 Reply Last reply 20 Nov 2024, 18:11 Reply Quote 0
                            • B Online
                              Brutus5000 FAF Server Admin
                              last edited by 17 Nov 2024, 18:44

                              It would be helpful if the author could upload the current folder zipped to a Google drive or somewhere.

                              He said, "I've been to the year 3000
                              Not much has changed, but they live underwater
                              And your great-great-great-granddaughter
                              Is playin' FAF, playin' FAF"

                              1 Reply Last reply Reply Quote 0
                              • Ctrl-KC Online
                                Ctrl-K
                                last edited by 17 Nov 2024, 21:16

                                The best solution will be splitting mod assets and code, so code can be changed frequently without involving reupload or assets

                                “Be a yardstick of quality. Some people aren’t used to an environment where excellence is expected.”
                                — Steve Jobs.
                                My UI Mods
                                Support me

                                1 Reply Last reply Reply Quote 0
                                • Z Offline
                                  ZLO @ZLO
                                  last edited by 20 Nov 2024, 18:11

                                  @Brutus5000 said in 413 Payload Too Large from POST https://api.faforever.com/mods/upload:

                                  It would be helpful if the author could upload the current folder zipped to a Google drive or somewhere.

                                  https://disk.yandex.ru/d/7krrkoNgsaG-5w updated mod that they could not upload. Size did not increase compared to previous version.
                                  https://disk.yandex.ru/d/UbzdKvyZCFm2Ig same mod but split into two parts and also failed to upload

                                  TA4Life: "At the very least we are not slaves to the UI" | http://www.youtube.com/user/dimatularus | http://www.twitch.tv/zlo_rd

                                  1 Reply Last reply Reply Quote 0
                                  • Z Offline
                                    ZLO
                                    last edited by 24 Nov 2024, 21:19

                                    any ideas why ~330 mb one is failing to upload? (is it gettnig bigger after it gets uploaded? :D)

                                    TA4Life: "At the very least we are not slaves to the UI" | http://www.youtube.com/user/dimatularus | http://www.twitch.tv/zlo_rd

                                    1 Reply Last reply Reply Quote 0
                                    • B Online
                                      Brutus5000 FAF Server Admin
                                      last edited by 24 Nov 2024, 23:47

                                      I can reproduce the error on the test server with the upload. But so far I can not see the cause of it.

                                      He said, "I've been to the year 3000
                                      Not much has changed, but they live underwater
                                      And your great-great-great-granddaughter
                                      Is playin' FAF, playin' FAF"

                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        Caliber @Jip
                                        last edited by 25 Nov 2024, 16:58

                                        @Jip said in 413 Payload Too Large from POST https://api.faforever.com/mods/upload:

                                        We can't only keep the latest version - it would break all replays that use* a previous version.

                                        How much value is placed on modded replays?

                                        I see many many standard rated games that have desynced replays and it doesnt create much of an issue, from what I see.

                                        If a creator wants the previous versions removed, and it saves a lot of space on the server, I dont see a huge reason not to.

                                        A 1 Reply Last reply 27 Nov 2024, 12:10 Reply Quote 0
                                        • B Online
                                          Brutus5000 FAF Server Admin
                                          last edited by 25 Nov 2024, 19:49

                                          I have some very bad news. As it turns out Cloudflare is limiting uploads to 100mb in our Pro plan. Even upgrading to Business plan would slighlty increase it to 200mb. Only enterprise customers can have 500mb uploads or more.

                                          Unfortunately we have to hide our servers behind Cloudflare Proxies due to the DDoS issues. So for now, we cannot offer any solution to the problem. Sorry.

                                          He said, "I've been to the year 3000
                                          Not much has changed, but they live underwater
                                          And your great-great-great-granddaughter
                                          Is playin' FAF, playin' FAF"

                                          1 Reply Last reply Reply Quote 1
                                          1 out of 22
                                          • First post
                                            1/22
                                            Last post