SpringLobby downloader

SpringLobby downloader

Moderators: Moderators, Lobby Developers

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

SpringLobby downloader

Post by luckywaldo7 »

What happened? It seems like it stopped working for everyone all at once, so I assume it's something server-side?
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: SpringLobby downloader

Post by Licho »

What exactly stopped working? ZKL downloader works fine so does rapid.
luckywaldo7
Posts: 1398
Joined: 17 Sep 2008, 04:36

Re: SpringLobby downloader

Post by luckywaldo7 »

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

Apparently all spring lobby users get this.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: SpringLobby downloader

Post by abma »

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...
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: SpringLobby downloader

Post by Licho »

Oh thanks, thats useful, fixing.
*edit hmm actually .. does tht happen for maps too? Those have torrents there
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: SpringLobby downloader

Post by abma »

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/
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: SpringLobby downloader

Post by dansan »

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 :-)
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: SpringLobby downloader

Post by Licho »

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

Let me know if it does not work please!
luckywaldo7
Posts: 1398
Joined: 17 Sep 2008, 04:36

Re: SpringLobby downloader

Post by luckywaldo7 »

Gold stars for fixing!
Panoramix
Posts: 8
Joined: 31 Oct 2011, 12:28

Re: SpringLobby downloader

Post by Panoramix »

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 :-)
Post Reply

Return to “SpringLobby Client”