[SPADS] Replays won't upload [Fixed]

[SPADS] Replays won't upload [Fixed]

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

[SPADS] Replays won't upload [Fixed]

Post by Forboding Angel »

Since spring 94.1, autohosts fail to upload to the replay site. Any ideas why?
Last edited by Forboding Angel on 14 Jul 2013, 01:15, edited 1 time in total.
User avatar
albator
Posts: 866
Joined: 14 Jan 2009, 14:20

Re: SPADS AutoHost beta release

Post by albator »

On all the one I played, it did not: you should name the one with the pb
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: SPADS AutoHost beta release

Post by Forboding Angel »

That was a long time ago. For some reason the past few weeks, out of nowhere it started failing all over the place.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: SPADS AutoHost beta release

Post by Forboding Angel »

In Spring 94.1, replay uploading is totally broken, yes?
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost beta release

Post by bibim »

no
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: SPADS AutoHost beta release

Post by Forboding Angel »

Really? Because ever since spring 94.1 my hosts have not been able to upload replays and there is always this in the logs:

Code: Select all

20130614215018 - INFO     - [SPADS] Spring server started
20130614215130 - INFO     - [SPADS] Game started
20130614215459 - INFO     - [SPADS] Spring server shutting down (running time: 4 minutes and 42 seconds)...
20130614215500 - INFO     - [SPADS] Executing end game command (pid -3580)
20130614215501 - INFO     - [SPADS] End game command finished (pid: -3580, execution time: 1 second, return code: 1)
20130614215501 - WARNING  - [SPADS] End game commmand exited with non-null return code (1)

Code: Select all

20130519001148 - INFO     - [SPADS] Spring server started
20130519001522 - INFO     - [SPADS] Game started
20130519005724 - INFO     - [SPADS] Game over ([Evo]Forboding_Angel)
20130519005725 - INFO     - [SPADS] Game over (ikinz)
20130519005725 - INFO     - [SPADS] Game over (nfc)
20130519005730 - INFO     - [SPADS] Spring server shutting down (running time: 45 minutes and 42 seconds)...
20130519005732 - INFO     - [SPADS] Executing end game command (pid -6428)
20130519005732 - INFO     - [SPADS] End game command finished (pid: -6428, execution time: 0 second, return code: 1)
20130519005732 - WARNING  - [SPADS] End game commmand exited with non-null return code (1)
User avatar
AntiAllez
Posts: 105
Joined: 06 Mar 2012, 18:22

Re: SPADS AutoHost beta release

Post by AntiAllez »

Forboding Angel wrote:In Spring 94.1, replay uploading is totally broken, yes?

with springlobby yes, on demo folder not- this works for me
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: SPADS AutoHost beta release

Post by Forboding Angel »

This is the spads autohost thread, not the springlobby thread.

Your sentence doesn't even make sense.
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: SPADS AutoHost beta release

Post by dansan »

Forboding Angel wrote:

Code: Select all

20130614215501 - INFO     - [SPADS] End game command finished (pid: -3580, execution time: 1 second, return code: 1)
20130614215501 - WARNING  - [SPADS] End game commmand exited with non-null return code (1)
Return code "1" is either wrong credentials: https://github.com/dansan/spring-replay ... _upload.py (line 54) or missing CURL library but wanting bandwidth throttling (line 84).

When you have problems with the replays site, you can PM me directly. I'll switch on debug mode (for extended logging), and we'll find out the cause of the problem.
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: SPADS AutoHost beta release

Post by dansan »

AntiAllez wrote:
Forboding Angel wrote:In Spring 94.1, replay uploading is totally broken, yes?
with springlobby yes, on demo folder not- this works for me
There is a bug in 94.1, making 64-bit-spring think replays created by 32-bit-spring are broken - but they are fine. Is already fixed for 95 (http://springrts.com/phpbb/viewtopic.ph ... 52#p538878).
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: SPADS AutoHost beta release

Post by Forboding Angel »

Isn't the windows build of spring 94.1 32bit?

Edit: Oh derp. I need to read moar betterer. Ok so this is a known issue, correct?

Is there anything I can do on my end to fix it?
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: SPADS AutoHost beta release

Post by dansan »

Forboding Angel wrote:Isn't the windows build of spring 94.1 32bit?

Edit: Oh derp. I need to read moar betterer. Ok so this is a known issue, correct?

Is there anything I can do on my end to fix it?
Sorry - made a double post. The 32/64bit thingy explains AntiAllez why he cannot watch replays successfully uploaded.

Regarding your problem was the post above that. My guess is, that your user credentials changed. Please try to log into the replays website with the name/pw used in spads.conf: endGameCommandEnv (XMLRPC_USER, XMLRPC_PASSWORD).
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: SPADS AutoHost beta release

Post by Forboding Angel »

No, they did not change, and I have tested this a long time ago.\

All of my hosts use the same password and all can log into the replays site just fine. The password they use is obviously the same as the password used to log into the spring server, so therefore, if they could log into the spring server but not the replays site that would be a little bit strange, no?

Code: Select all

endGameCommand:python replay_upload.py -v -r %result -d %gameDuration "%type on %map" "autouploaded" "%type,%structure" "%demoFile" "EvoRTSDedicated1"
endGameCommandEnv:XMLRPC_USER=%ahName;XMLRPC_PASSWORD=%ahPassword
endGameCommandMsg:(0)Demo file uploaded to http://replays.springrts.com/replay/%gameId|(1-9)Failed to upload demo file!
I assume that these strings have not changed.
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: SPADS AutoHost beta release

Post by dansan »

I just played a match on EvoRTSDedicated3 and had debug enabled on the replays site. The autohost did not make any network contact with the webserver.

Please check that "replays.springrts.com" resolves to "78.46.100.156" on your host (use "host replays.springrts.com" on the server, debian package is "bind9-host")... or to go further, please try "wget http://replays.springrts.com/". It should download the replays homepage.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: SPADS AutoHost beta release

Post by Forboding Angel »

Yes, it resolves correctly.

Wrt server... This is a win7 64bit machine.

Also, I want to make spads use a develop version of spring. I thought I could o this by just simply changing the folder that it looks to for spring, which seems to have worked, but weblobby seems to think that it is still 94.1, so which is right?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: [SPADS] Replays won't upload

Post by Forboding Angel »

Help? :-(
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: [SPADS] Replays won't upload

Post by dansan »

dansan wrote:When you have problems with the replays site, you can PM me directly. I'll switch on debug mode (for extended logging), and we'll find out the cause of the problem.
I'll be on vacation from tomorrow, but I'll take a notebook with me, and I'll hopefully have wireless access... I don't know your timezone. I live in CEST. I suggest to meet in lobby tonight 23:00 CEST or if not possible Saturday at 23:00 CEST. Leave me a PM.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: [SPADS] Replays won't upload [Fixed]

Post by Forboding Angel »

Fixed. I had python 3.3.1 installed. Upload script needs python 2.7xx.
Post Reply

Return to “SPADS AutoHost”