Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to upload any map #2040

Closed
ghost opened this issue Nov 20, 2020 · 0 comments · Fixed by #2042
Closed

Unable to upload any map #2040

ghost opened this issue Nov 20, 2020 · 0 comments · Fixed by #2042
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Nov 20, 2020

Since yesterday 20.11.20 maps can not be uploaded anymore. Several other people mention that as well.

Forum Link:

https://forum.faforever.com/topic/586/unable-to-upload-any-map-since-today-worked-before?_=1605896093935

Map could not be uploaded. Server gave the following errors: I/O error on POST request for "https://api.faforever.com/maps/upload": null; nested exception is org.apache.http.client.ClientProtocolException

org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://api.faforever.com/maps/upload": null; nested exception is org.apache.http.client.ClientProtocolException
	at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:746)
	at org.springframework.security.oauth2.client.OAuth2RestTemplate.doExecute(OAuth2RestTemplate.java:132)
	at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:672)
	at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:447)
	at com.faforever.client.api.FafApiAccessorImpl.post(FafApiAccessorImpl.java:554)
	at com.faforever.client.api.FafApiAccessorImpl.uploadMap(FafApiAccessorImpl.java:282)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:205)
	at com.sun.proxy.$Proxy69.uploadMap(Unknown Source)
	at com.faforever.client.map.MapUploadTask.call(MapUploadTask.java:85)
	at com.faforever.client.map.MapUploadTask.call(MapUploadTask.java:29)
	at javafx.concurrent.Task$TaskCallable.call(Task.java:1425)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
	at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: org.apache.http.client.ClientProtocolException
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
	at org.springframework.http.client.HttpComponentsStreamingClientHttpRequest.executeInternal(HttpComponentsStreamingClientHttpRequest.java:99)
	at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
	at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:737)
	... 19 more
Caused by: org.apache.http.client.NonRepeatableRequestException: Cannot retry request with a non-repeatable request entity
	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:108)
	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
	... 24 more
Caused by: java.io.IOException: Attempted write to closed stream.
	at org.apache.http.impl.io.ChunkedOutputStream.write(ChunkedOutputStream.java:151)
	at org.springframework.http.converter.FormHttpMessageConverter.writeNewLine(FormHttpMessageConverter.java:595)
	at org.springframework.http.converter.FormHttpMessageConverter.writeParts(FormHttpMessageConverter.java:504)
	at org.springframework.http.converter.FormHttpMessageConverter.lambda$writeMultipart$3(FormHttpMessageConverter.java:478)
	at org.springframework.http.client.HttpComponentsStreamingClientHttpRequest$StreamingHttpEntity.writeTo(HttpComponentsStreamingClientHttpRequest.java:152)
	at org.apache.http.impl.execchain.RequestEntityProxy.writeTo(RequestEntityProxy.java:121)
	at org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity(DefaultBHttpClientConnection.java:156)
	at org.apache.http.impl.conn.CPoolProxy.sendRequestEntity(CPoolProxy.java:152)
	at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:238)
	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
	... 26 more
@ghost ghost added the bug label Nov 20, 2020
Brutus5000 added a commit that referenced this issue Nov 21, 2020
Sheikah45 pushed a commit that referenced this issue Nov 21, 2020
@Sheikah45 Sheikah45 added this to the v1.2.4 milestone Nov 21, 2020
mrchris2000 pushed a commit to mrchris2000/downlords-faf-client that referenced this issue Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant