SpringLobby downloader

SpringLobby downloader

Moderators: Moderators, Lobby Developers

Post Reply
luckywaldo7
Posts: 1397
Joined: 17 Sep 2008, 04:36

SpringLobby downloader

Post by luckywaldo7 » 25 Oct 2011, 00:16

What happened? It seems like it stopped working for everyone all at once, so I assume it's something server-side?
0 x

User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: SpringLobby downloader

Post by Licho » 25 Oct 2011, 13:47

What exactly stopped working? ZKL downloader works fine so does rapid.
0 x

luckywaldo7
Posts: 1397
Joined: 17 Sep 2008, 04:36

Re: SpringLobby downloader

Post by luckywaldo7 » 25 Oct 2011, 23:34

"Downloading * failed with reason:
The file was not found on the remote server"

Apparently all spring lobby users get this.
0 x

abma
Spring Developer
Posts: 3536
Joined: 01 Jun 2009, 00:08

Re: SpringLobby downloader

Post by abma » 26 Oct 2011, 19:55

for me:

Code: Select all

X:\>pr-downloader  --plasma-download "Zero-K v0.8.11.1"
[Error] Soap error: 12: System.Web.Services.Protocols.SoapException: Server was
unable to process request. ---> System.IO.FileNotFoundException: Could not find
file 'C:\projekty\zero-k.info\www\Resources\Zero-K_v0.8.11.1_071161679b83a8f791d
aaab32d88318b.torrent'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, I
nt32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions o
ptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolea
n useLongPath)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share)
   at System.IO.File.ReadAllBytes(String path)
   at ZeroKWeb.ResourceLinkProvider.GetLinksAndTorrent(String internalName, List
`1& links, Byte[]& torrent, List`1& dependencies, ResourceType& resourceType, St
ring& torrentFileName) in c:\TeamCity\buildAgent\work\77c39eccddbe9fa5\Zero-K.in
fo\AppCode\ResourceLinkProvider.cs:line 167
   at ZeroKWeb.ContentService.DownloadFile(String internalName, List`1& links, B
yte[]& torrent, List`1& dependencies, ResourceType& resourceType, String& torren
tFileName) in c:\TeamCity\buildAgent\work\77c39eccddbe9fa5\Zero-K.info\ContentSe
rvice.asmx.cs:line 365
   --- End of inner exception stack trace ---
my downloader is still not perfect, but at least it reports some useful error-message :)

i can't test with springlobby currently...
0 x

User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: SpringLobby downloader

Post by Licho » 26 Oct 2011, 21:02

Oh thanks, thats useful, fixing.
*edit hmm actually .. does tht happen for maps too? Those have torrents there
0 x

abma
Spring Developer
Posts: 3536
Joined: 01 Jun 2009, 00:08

Re: SpringLobby downloader

Post by abma » 30 Oct 2011, 13:57

springlobby seems to download the torrent additionally by http-url. was the url http://zero-k.info/Resources removed?

for example:
http://zero-k.info/Resources/Mountain_P ... a0.torrent

doesn't exist but is "Mountain_Pass_V4_934c0448ddce04e17efb209965ee57a0.torrent" is returned in the plasma-result as torrent name and springlobby tries to download that file.

pr-downloader uses the torrent directly from the result and i guess zero-k does that to. this is why they both work but springlobby doesn't

ngrep output of normal search request of springlobby:

http://pastebin.com/ubSLsynm

so the problem is: something in this folder changed:
http://zero-k.info/Resources/
0 x

dansan
Server Owner & Developer
Posts: 1190
Joined: 29 May 2010, 23:40

Re: SpringLobby downloader

Post by dansan » 30 Oct 2011, 19:20

Thank you for guys for trying to fix this. It's not only annoying for me, but you wouldn't believe the amount of complaints about the broken sl-dl-system I hear every time I play. At least it has become apparent how important this feature is :-)
0 x

User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: SpringLobby downloader

Post by Licho » 30 Oct 2011, 20:59

Thanks abma, fixed, it was caused by missing mime type on the new server.

Let me know if it does not work please!
0 x

luckywaldo7
Posts: 1397
Joined: 17 Sep 2008, 04:36

Re: SpringLobby downloader

Post by luckywaldo7 » 01 Nov 2011, 02:11

Gold stars for fixing!
0 x

Panoramix
Posts: 8
Joined: 31 Oct 2011, 12:28

Re: SpringLobby downloader

Post by Panoramix » 10 Nov 2011, 12:39

Licho wrote:Thanks abma, fixed, it was caused by missing mime type on the new server.

Let me know if it does not work please!
Working fine, thanks for fixing :-)
0 x

Post Reply

Return to “SpringLobby Client”