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

    Mod update via upload FAF not possible

    Scheduled Pinned Locked Moved FAF support (client and account issues)
    13 Posts 4 Posters 715 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.
    • SaverS
      Saver
      last edited by

      Hello everyone, unfortunately I need help. I wanted to upload an update from my mod, but the following error message appears

      500 Internal Server Error from POST https://api.faforever.com/mods/upload:

      org.springframework.web.reactive.function.client.WebClientResponseException$InternalServerError: 500 Internal Server Error from POST https://api.faforever.com/mods/upload
      at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:330)
      Suppressed: The stacktrace has been enhanced by Reactor, refer to additional information below:
      Error has been observed at the following site(s):
      *__checkpoint ⇢ 500 INTERNAL_SERVER_ERROR from POST https://api.faforever.com/mods/upload [DefaultWebClient]
      Original Stack Trace:
      at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:330)
      at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:213)
      at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106)
      at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162)
      at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:122)
      at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129)
      at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107)
      at reactor.core.publisher.FluxMapFuseable$MapFuseableConditionalSubscriber.onNext(FluxMapFuseable.java:299)
      at reactor.core.publisher.FluxFilterFuseable$FilterFuseableConditionalSubscriber.onNext(FluxFilterFuseable.java:337)
      at reactor.core.publisher.Operators$BaseFluxToMonoOperator.completePossiblyEmpty(Operators.java:2071)
      at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:145)
      at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144)
      at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260)
      at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144)
      at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413)
      at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:431)
      at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:485)
      at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712)
      at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:113)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
      at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436)
      at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
      at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
      at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1383)
      at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1246)
      at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1295)
      at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:529)
      at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:468)
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
      at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
      at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
      at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
      at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
      at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
      at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
      at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
      at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
      at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      at java.base/java.lang.Thread.run(Thread.java:833)
      Suppressed: java.lang.Exception: #block terminated with an error
      at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:99)
      at reactor.core.publisher.Mono.block(Mono.java:1710)
      at com.faforever.client.mod.ModUploadTask.call(ModUploadTask.java:75)
      at com.faforever.client.mod.ModUploadTask.call(ModUploadTask.java:27)
      at javafx.concurrent.Task$TaskCallable.call(Task.java:1426)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.base/java.lang.Thread.run(Thread.java:833)

      auch mal fünf gerade sein lassen

      1 Reply Last reply Reply Quote 0
      • R
        Rama
        last edited by

        I've been having the same error, since FAF migrated to a new server.

        1 Reply Last reply Reply Quote 0
        • p4blockP
          p4block FAF Server Admin
          last edited by

          We know of the problem, we're working on it

          SaverS 1 Reply Last reply Reply Quote 2
          • SaverS
            Saver @p4block
            last edited by

            @p4block Thank you for the feedback and lots of success 🙂 best team

            auch mal fünf gerade sein lassen

            1 Reply Last reply Reply Quote 0
            • Brutus5000B
              Brutus5000 FAF Server Admin
              last edited by

              The problem should be fixed, please try again and give feedback

              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"

              R 1 Reply Last reply Reply Quote 1
              • SaverS
                Saver
                last edited by

                good work, thx 🙂

                auch mal fünf gerade sein lassen

                1 Reply Last reply Reply Quote 0
                • R
                  Rama @Brutus5000
                  last edited by

                  @brutus5000

                  I was able to upload a new version of my mod, AI Wave Survival. However, new issue is no one can download it. An error comes up when trying to download. Same error occurs when trying to download Saver's mod.

                  Client Version: 2023.5.0
                  java.io.FileNotFoundException: https://content.faforever.com/mods/savers_mech_-ramrod.v0027.zip
                  at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                  at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
                  at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
                  at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
                  at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
                  at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:2048)
                  at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:2043)
                  at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
                  at java.base/sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:2042)
                  at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1609)
                  at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
                  at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
                  at com.faforever.client.mod.DownloadModTask.call(DownloadModTask.java:66)
                  at com.faforever.client.mod.DownloadModTask.call(DownloadModTask.java:31)
                  at javafx.concurrent.Task$TaskCallable.call(Task.java:1426)
                  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
                  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
                  at java.base/java.lang.Thread.run(Thread.java:833)
                  Caused by: java.io.FileNotFoundException: https://content.faforever.com/mods/savers_mech
                  -_ramrod.v0027.zip
                  at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1993)
                  at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
                  at java.base/sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3221)
                  at java.base/java.net.URLConnection.getHeaderFieldLong(URLConnection.java:637)
                  at java.base/java.net.URLConnection.getContentLengthLong(URLConnection.java:509)
                  at java.base/java.net.URLConnection.getContentLength(URLConnection.java:493)
                  at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(HttpsURLConnectionImpl.java:368)
                  at com.faforever.client.mod.DownloadModTask.call(DownloadModTask.java:63)
                  ... 6 more

                  SaverS 1 Reply Last reply Reply Quote 1
                  • SaverS
                    Saver @Rama
                    last edited by

                    @rama crap, I hadn't tested that 😕 Thanks for the info

                    auch mal fünf gerade sein lassen

                    1 Reply Last reply Reply Quote 0
                    • SaverS
                      Saver
                      last edited by

                      @Rama your mod is fantastic

                      auch mal fünf gerade sein lassen

                      1 Reply Last reply Reply Quote 0
                      • SaverS
                        Saver
                        last edited by

                        small update or more a statement: older mods can be downloaded without any problems. Only new unfortunately not .... if that was not already known

                        auch mal fünf gerade sein lassen

                        1 Reply Last reply Reply Quote 0
                        • Brutus5000B
                          Brutus5000 FAF Server Admin
                          last edited by Brutus5000

                          That was a misconfigured env variable pointing to a wrong directory. I moved all newlyuploaded mods (only 5 since then) to the right directory and fixed it now for new uploads.

                          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"

                          R 1 Reply Last reply Reply Quote 3
                          • SaverS
                            Saver
                            last edited by

                            THX 🙂

                            auch mal fünf gerade sein lassen

                            1 Reply Last reply Reply Quote 0
                            • R
                              Rama @Brutus5000
                              last edited by

                              @brutus5000

                              Thanks for getting that fixed! Appreciate all your guys effort 🙂

                              @Saver
                              Thanks, Saver, I'm happy you enjoy it!

                              1 Reply Last reply Reply Quote 0
                              • S Sercammus referenced this topic on
                              • S Sercammus referenced this topic on
                              • First post
                                Last post