eternal downlords error 500

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

Moderator: PhilipJFry

eternal downlords error 500

Postby Masyaka » 01 Apr 2017, 18:14

com.google.api.client.http.HttpResponseException: 500 INTERNAL SERVER ERROR
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>

at com.faforever.client.api.FafApiAccessorImpl.postMultipart(FafApiAccessorImpl.java:298)
at com.faforever.client.api.FafApiAccessorImpl.uploadMap(FafApiAccessorImpl.java:266)
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:302)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)
at com.sun.proxy.$Proxy35.uploadMap(Unknown Source)
at com.faforever.client.map.MapUploadTask.call(MapUploadTask.java:80)
at com.faforever.client.map.MapUploadTask.call(MapUploadTask.java:27)
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)



Cant upload my lovely 16-players maps
User avatar
Masyaka
Priest
 
Posts: 365
Joined: 14 Jul 2016, 08:16
Location: a place that is not marked on the map
Has liked: 121 times
Been liked: 5 times
FAF User Name: Rok-Weiler

Re: eternal downlords error 500

Postby Masyaka » 08 Apr 2017, 06:02

Hello?
User avatar
Masyaka
Priest
 
Posts: 365
Joined: 14 Jul 2016, 08:16
Location: a place that is not marked on the map
Has liked: 121 times
Been liked: 5 times
FAF User Name: Rok-Weiler

Re: eternal downlords error 500

Postby Downlord » 09 Apr 2017, 09:28

Hi, I'll have a look tomorrow. Meanwhile make sure your scenario lua file contains no errors.
Working on FAF is my passion. Most of you know me for the feature-rich Downlord's FAF Client, but I also program and maintain the FAF server. Visit my Patreon page to get some insights on my work.
Downlord
Councillor - DevOps
 
Posts: 226
Joined: 14 Jul 2013, 14:55
Has liked: 161 times
Been liked: 213 times
FAF User Name: Downlord

Re: eternal downlords error 500

Postby Masyaka » 09 Apr 2017, 11:08

Downlord wrote:Hi, I'll have a look tomorrow. Meanwhile make sure your scenario lua file contains no errors.


It happened to 2 working maps, tested in both sc and fa
cant upload them
User avatar
Masyaka
Priest
 
Posts: 365
Joined: 14 Jul 2016, 08:16
Location: a place that is not marked on the map
Has liked: 121 times
Been liked: 5 times
FAF User Name: Rok-Weiler

Re: eternal downlords error 500

Postby Downlord » 10 Apr 2017, 19:09

Alright I had a chance to look at the server log, here's what it says:

Code: Select all
lupa._lupa.LuaSyntaxError: error loading code: [string "<python>"]:2: unexpected symbol near '.'


This happens while it reads the scenario file. So it does look like there's an error in the scenario file.
Mind that GPG has its own LUA parser, so just because it worked in FA doesn't mean it's valid LUA; and the server uses a standard LUA parser.

For instance, GPG LUA allows # for comments, while standard LUA does not.
Working on FAF is my passion. Most of you know me for the feature-rich Downlord's FAF Client, but I also program and maintain the FAF server. Visit my Patreon page to get some insights on my work.
Downlord
Councillor - DevOps
 
Posts: 226
Joined: 14 Jul 2013, 14:55
Has liked: 161 times
Been liked: 213 times
FAF User Name: Downlord

Re: eternal downlords error 500

Postby Masyaka » 11 Apr 2017, 17:03

Downlord wrote:Alright I had a chance to look at the server log, here's what it says:

Code: Select all
lupa._lupa.LuaSyntaxError: error loading code: [string "<python>"]:2: unexpected symbol near '.'


This happens while it reads the scenario file. So it does look like there's an error in the scenario file.
Mind that GPG has its own LUA parser, so just because it worked in FA doesn't mean it's valid LUA; and the server uses a standard LUA parser.

For instance, GPG LUA allows # for comments, while standard LUA does not.


Where i can find the error. I dont see any errors. It reads the scenario file, but displays msg when uploaded. Can you give me an example of "valid" lua file? I have already uploaded 3 maps without this thing, but then all other maps gone displaying this.
User avatar
Masyaka
Priest
 
Posts: 365
Joined: 14 Jul 2016, 08:16
Location: a place that is not marked on the map
Has liked: 121 times
Been liked: 5 times
FAF User Name: Rok-Weiler

Re: eternal downlords error 500

Postby speed2 » 11 Apr 2017, 17:16

Post the file here
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: eternal downlords error 500

Postby Masyaka » 12 Apr 2017, 16:50

speed2 wrote:Post the file here

ufile.io/2c3221
User avatar
Masyaka
Priest
 
Posts: 365
Joined: 14 Jul 2016, 08:16
Location: a place that is not marked on the map
Has liked: 121 times
Been liked: 5 times
FAF User Name: Rok-Weiler

Re: eternal downlords error 500

Postby Masyaka » 15 Apr 2017, 13:07

Downlord wrote:Alright I had a chance to look at the server log, here's what it says:

Code: Select all
lupa._lupa.LuaSyntaxError: error loading code: [string "<python>"]:2: unexpected symbol near '.'


This happens while it reads the scenario file. So it does look like there's an error in the scenario file.
Mind that GPG has its own LUA parser, so just because it worked in FA doesn't mean it's valid LUA; and the server uses a standard LUA parser.

For instance, GPG LUA allows # for comments, while standard LUA does not.



Gave file to 3 map makers

Nobody succeed in fixing.
User avatar
Masyaka
Priest
 
Posts: 365
Joined: 14 Jul 2016, 08:16
Location: a place that is not marked on the map
Has liked: 121 times
Been liked: 5 times
FAF User Name: Rok-Weiler

Re: eternal downlords error 500

Postby Downlord » 18 Apr 2017, 00:16

Hi, I'll try to have a look at this pretty soon. If not, please poke me again :)
Working on FAF is my passion. Most of you know me for the feature-rich Downlord's FAF Client, but I also program and maintain the FAF server. Visit my Patreon page to get some insights on my work.
Downlord
Councillor - DevOps
 
Posts: 226
Joined: 14 Jul 2013, 14:55
Has liked: 161 times
Been liked: 213 times
FAF User Name: Downlord

Next

Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest