Can't upload map to vault

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: DukeOfEarl

Can't upload map to vault

Postby Axle » 29 Sep 2018, 12:44

Using Downlord's client, I go to vault and press "Upload map". (I use downlord because official FAF client doesn't have an upload button anymore).
I select my map, it compresses the file and uploads it.
On completion I get "Uh oh! Map could not be uploaded. Server gave the following errors: 500 Server Error", and I can't see my map in the vault.

Code: Select all
org.springframework.web.client.HttpServerErrorException: 500 Server Error
   at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:94)
   at com.faforever.client.api.JsonApiErrorHandler.handleError(JsonApiErrorHandler.java:31)
   at org.springframework.security.oauth2.client.http.OAuth2ErrorHandler.handleError(OAuth2ErrorHandler.java:83)
   at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:700)
   at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:653)
   at org.springframework.security.oauth2.client.OAuth2RestTemplate.doExecute(OAuth2RestTemplate.java:128)
   at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:613)
   at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:407)
   at com.faforever.client.api.FafApiAccessorImpl.post(FafApiAccessorImpl.java:492)
   at com.faforever.client.api.FafApiAccessorImpl.uploadMap(FafApiAccessorImpl.java:271)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
   at com.sun.proxy.$Proxy65.uploadMap(Unknown Source)
   at com.faforever.client.map.MapUploadTask.call(MapUploadTask.java:86)
   at com.faforever.client.map.MapUploadTask.call(MapUploadTask.java:30)
   at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)


Map was created with FA Forever Map Editor v 0.604 alpha. I put a copy of my map here https://drive.google.com/open?id=1BV0gO ... AWsqwxv9GX.

Any help would be appreciated I was so looking forward to playing my new map online and I spent two days fiddling with it trying to get it to upload with no luck (including removing custom textures)
Axle
Avatar-of-War
 
Posts: 82
Joined: 02 Apr 2013, 10:14
Has liked: 0 time
Been liked: 3 times
FAF User Name: Axle

Re: Can't upload map to vault

Postby axel12 » 29 Sep 2018, 21:32

I am able to upload it on the test server. Would you log in again and try again?
User avatar
axel12
Crusader
 
Posts: 16
Joined: 08 Jan 2018, 13:22
Location: DE
Has liked: 3 times
Been liked: 2 times
FAF User Name: axel12

Re: Can't upload map to vault

Postby Axle » 29 Sep 2018, 21:53

Just tried again a few minutes ago (username ACDC). Still no luck
Axle
Avatar-of-War
 
Posts: 82
Joined: 02 Apr 2013, 10:14
Has liked: 0 time
Been liked: 3 times
FAF User Name: Axle

Re: Can't upload map to vault

Postby axel12 » 29 Sep 2018, 22:27

User avatar
axel12
Crusader
 
Posts: 16
Joined: 08 Jan 2018, 13:22
Location: DE
Has liked: 3 times
Been liked: 2 times
FAF User Name: axel12

Re: Can't upload map to vault

Postby axel12 » 30 Sep 2018, 10:53

Could you upload again and have a look at the log and give me the timestamp of when you uploaded(the downlords-client.log also logs the time). Because then we can have a look at the Error message that is internally thrown on the server.
User avatar
axel12
Crusader
 
Posts: 16
Joined: 08 Jan 2018, 13:22
Location: DE
Has liked: 3 times
Been liked: 2 times
FAF User Name: axel12

Re: Can't upload map to vault

Postby Axle » 30 Sep 2018, 12:15

just reupped, commenced uploading 20:10:50sec error window popped up 20:11:20sec GMT+10
Axle
Avatar-of-War
 
Posts: 82
Joined: 02 Apr 2013, 10:14
Has liked: 0 time
Been liked: 3 times
FAF User Name: Axle

Re: Can't upload map to vault

Postby Axle » 01 Oct 2018, 00:37

For the benefit of those that follow, axel12 found the issue: "Duplicate entry 'Crystal Maze' for key 'display_name''. A map with that display name already exists in the vault. I renamed my map and now it uploads fine.

Thanks axel12!
Axle
Avatar-of-War
 
Posts: 82
Joined: 02 Apr 2013, 10:14
Has liked: 0 time
Been liked: 3 times
FAF User Name: Axle


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest