Upload Problems

Hi,

I share lots of files, but it seems that about 50% of upload requests are met and the rest get access denied.

Looking at the diagnostics under Transfer Queue Logs, I can see that all the upload requests that are denied have an additional slash inserted in the full path name. eg: "Queue upload requested by user1 for file \home\mark\smb4k\NIRVANA\media\Trance Albums\\Pure Euphoria - Level 4 - Mixed by Matt Darey CD1.mp3" between the directory structure and the actual file name. This results in the diag message "Denied, file not shared"

Other files get correctly identified, eg: "Queue upload requested by user2 for file \home\mark\smb4k\NIRVANA\media\Trance Tracks1\Avicii - Levels\Avicii - Best of Levels (David Puentez Mash Bootique 2012) (BacauHouseMafia.Ro).mp3" and get queued OK.

It seems to be user related as as I can have lots of requests from one user and all are misformatted and another users requests are all correctly formatted.

All the folders are correctly formatted in the file sharing config tab. I'm running the client on Debian Linux.

It looks to me like a bug but it's difficult to tell where it's being introduced. I'm routinely get rude messages from users who think I'm advertising files but then not sharing them, even though I openly share all the files!!!

Mark

That's very useful information, thank you for posting about it. The client should definitely be able to handle multiple backslashes. Are you on Linux 32 or 64 bit?

Hi,

I'm on 64 bit Linux and the Debian version is Stable (Squeeze??)

Mark

Here we go:

http://www.slsknet.org/SoulseekQt/Linux/SoulseekQt-1-14-2012-64bit.tgz

Any feedback you can provide would be much appreciated. Thanks!

Thanks for that - I'm now running it and I'll monitor and report back. Sadly when I reloaded the client I lost the names of 2 users I was chatting to who had problems, otherwise I could have asked them to try again :)

LOL, found the chat logs and I've asked the guy who was having the problem to retry...

Hi,

Sadly the new version didn't fix the problem. I'm still seeing double backslash separators in the file names in the diagnostic logs and 'Denied, file not shared'. :(

Mark

Can you post a snippet of the log for one of the latest failures?

Thanks, Nir

Hi,

Here is a log snippet - sorry it's long but I noticed something interesting in it...

[Thu Jan 17 13:52:22 2013] Queue upload requested by djdag for file \home\mark\smb4k\NIRVANA\media\Trance Albums\\Euphoria 1 - For the Mind, Body and Soul Mixed by PF Project CD1.mp3
[Thu Jan 17 13:52:23 2013] Denied, file not shared
[Thu Jan 17 13:52:23 2013] Queue upload requested by djdag for file \home\mark\smb4k\NIRVANA\media\Trance Albums\\Euphoria 1 - For the Mind, Body and Soul Mixed by PF Project CD2.mp3
[Thu Jan 17 13:52:23 2013] Denied, file not shared
[Thu Jan 17 13:52:59 2013] User siulin went online
[Thu Jan 17 13:53:49 2013] Queue upload requested by siulin for file \home\mark\smb4k\NIRVANA\media\Trance Tracks\\Agnelli & Nelson - Hudson Street (New York Mix).mp3
[Thu Jan 17 13:53:49 2013] Denied, file not shared
[Thu Jan 17 13:53:49 2013] Queue upload requested by siulin for file \home\mark\smb4k\NIRVANA\media\Trance Albums\\Total Euphoria Mixed by Dave Pearce CD1.cue
[Thu Jan 17 13:53:49 2013] Denied, file not shared
[Thu Jan 17 13:53:49 2013] Queue upload requested by siulin for file \home\mark\smb4k\NIRVANA\media\Trance Tracks1\\Steve Angello vs. Avicii - Show Me Levels (Michael B. & Denny Delano Bootleg) (BacauHouseMafia.Ro).mp3
[Thu Jan 17 13:53:49 2013] Denied, file not shared
[Thu Jan 17 13:53:49 2013] Queue upload requested by siulin for file \home\mark\smb4k\NIRVANA\media\Trance Albums3\\The Very Best Euphoric Chillout Mixes Breakdown [Light] (CD2) [ZIP].mp3
[Thu Jan 17 13:53:49 2013] Denied, file not shared
[Thu Jan 17 13:53:49 2013] Queue upload requested by siulin for file \home\mark\smb4k\NIRVANA\media\Trance Tracks1\\Digital Mystikz & Loefah - Ancient Memories (Skream Remix).mp3
[Thu Jan 17 13:53:49 2013] Denied, file not shared
[Thu Jan 17 13:53:49 2013] Queue upload requested by siulin for file \home\mark\smb4k\NIRVANA\media\Trance Tracks1\\Kansai - Remember This Night (Hemstock & Jennings Remix).mp3
[Thu Jan 17 13:53:49 2013] Denied, file not shared
[Thu Jan 17 13:53:49 2013] Queue upload requested by siulin for file \home\mark\smb4k\NIRVANA\media\Trance Tracks\\Matt Darey Pres Tekara feat Xan - Wanna Be An Angel (Airbase Remix).mp3
[Thu Jan 17 13:53:49 2013] Denied, file not shared
[Thu Jan 17 13:53:49 2013] Queue upload requested by siulin for file \home\mark\smb4k\NIRVANA\media\Trance Albums2\\Trance Nation Harder Mixed By Judge Jules CD2.cue
[Thu Jan 17 13:53:49 2013] Denied, file not shared
[Thu Jan 17 14:11:52 2013] Queue upload requested by nitelover00 for file \home\mark\smb4k\NIRVANA\media\Trance Tracks1\\Above & Beyond - Cant Sleep (Daniel Kandi Remix) [tsp].mp3
[Thu Jan 17 14:11:52 2013] Denied, file not shared
[Thu Jan 17 14:17:52 2013] User ourkid went online
[Thu Jan 17 14:18:01 2013] Queue upload requested by ourkid for file \home\mark\smb4k\NIRVANA\media\Trance Tracks1\ed sheeran - + (2011)\06 - small bump.mp3
[Thu Jan 17 14:18:01 2013] aborted, re-queueing
[Thu Jan 17 14:18:01 2013] Queue upload requested by ourkid for file \home\mark\smb4k\NIRVANA\media\Trance Tracks1\ed sheeran - + (2011)\07 - this.mp3
[Thu Jan 17 14:18:01 2013] aborted, re-queueing
[Thu Jan 17 14:18:01 2013] Queue upload requested by ourkid for file \home\mark\smb4k\NIRVANA\media\Trance Tracks1\ed sheeran - + (2011)\09 - lego house.mp3
[Thu Jan 17 14:18:01 2013] aborted, re-queueing
[Thu Jan 17 14:18:01 2013] Queue upload requested by ourkid for file \home\mark\smb4k\NIRVANA\media\Trance Tracks1\ed sheeran - + (2011)\10 - you need me, i don't need you.mp3
[Thu Jan 17 14:18:01 2013] aborted, re-queueing
[Thu Jan 17 14:18:01 2013] Received file transfer response from user ourkid for req 70048, transfer accepted
[Thu Jan 17 14:18:01 2013] Found upload
[Thu Jan 17 14:18:01 2013] Requesting file connection to user
[Thu Jan 17 14:20:37 2013] Queue upload requested by bodoke for file \home\mark\smb4k\NIRVANA\media\Trance Tracks\\Westbam Vs. Red Jerry - Wizards Of The Sonic (Matt Darey Remix).mp3
[Thu Jan 17 14:20:37 2013] Denied, file not shared
[Thu Jan 17 14:27:45 2013] Queue upload requested by djdag for file \home\mark\smb4k\NIRVANA\media\Trance Albums3\Absolute Euphoria\Absolute Euphoria CD1.mp3
[Thu Jan 17 14:27:45 2013] Queued
[Thu Jan 17 14:27:45 2013] Queue upload requested by djdag for file \home\mark\smb4k\NIRVANA\media\Trance Albums3\Absolute Euphoria\Absolute Euphoria CD2.mp3
[Thu Jan 17 14:27:45 2013] Queued
[Thu Jan 17 14:27:45 2013] Queue upload requested by djdag for file \home\mark\smb4k\NIRVANA\media\Trance Albums3\Beyond Euphoria\Beyond Euphoria Mixed by DT8 Project CD1.mp3
[Thu Jan 17 14:27:45 2013] Queued
[Thu Jan 17 14:27:45 2013] Queue upload requested by djdag for file \home\mark\smb4k\NIRVANA\media\Trance Albums3\Beyond Euphoria\Beyond Euphoria Mixed by DT8 Project CD2.mp3
[Thu Jan 17 14:27:45 2013] Queued
[Thu Jan 17 14:27:45 2013] Queue upload requested by djdag for file \home\mark\smb4k\NIRVANA\media\Trance Albums3\Infinite Euphoria\Infinite Euphoria mixed by Ferry Corsten CD1.mp3
[Thu Jan 17 14:27:45 2013] Queued
[Thu Jan 17 14:27:45 2013] Queue upload requested by djdag for file \home\mark\smb4k\NIRVANA\media\Trance Albums3\Infinite Euphoria\Infinite Euphoria mixed by Ferry Corsten CD2.mp3
[Thu Jan 17 14:27:45 2013] Queued
[Thu Jan 17 14:27:45 2013] Queue upload requested by djdag for file \home\mark\smb4k\NIRVANA\media\Trance Albums4\VA - Classic Euphoria\Various Artists - Classic Euphoria (CD1).mp3
[Thu Jan 17 14:27:45 2013] Queued
[Thu Jan 17 14:27:45 2013] Queue upload requested by djdag for file \home\mark\smb4k\NIRVANA\media\Trance Albums4\VA - Classic Euphoria\Various Artists - Classic Euphoria (CD2).mp3
[Thu Jan 17 14:27:45 2013] Queued
[Thu Jan 17 14:27:45 2013] Queue upload requested by djdag for file \home\mark\smb4k\NIRVANA\media\Trance Albums4\VA - Classic Euphoria\Various Artists - Classic Euphoria (CD3).mp3
[Thu Jan 17 14:27:45 2013] Queued
[Thu Jan 17 14:27:45 2013] User djdag went online

The interesting bit is that my earlier assertion that a user either works or gets access denied was wrong! User djdag got access denied at the top of the log, but later on successfully queued files from other directories...

If you need more log snippets, just yell - happy to help

Mark

Hmm, I may be missing something obvious, but I can't say why this is happening. I went as far as simulate the problem on my end, intentionally taking the requested filename and making the last backslash a double backslash, still no problems uploading... maybe I need to look at this with a clearer head.

Hi, I spent a bit more time digging through the logs to see if I could establish if it was certain directories that caused the problem (ie something had gone wrong when I set up the sharing of that directory). Then I came across this sequence:

[Fri Jan 18 00:46:09 2013] User siulin went online
[Fri Jan 18 00:46:17 2013] Queue upload requested by siulin for file \home\mark\smb4k\NIRVANA\media\Trance Tracks\\Agnelli & Nelson - Hudson Street (New York Mix).mp3
[Fri Jan 18 00:46:17 2013] Denied, file not shared
[Fri Jan 18 00:46:17 2013] Queue upload requested by siulin for file \home\mark\smb4k\NIRVANA\media\Trance Albums\\Total Euphoria Mixed by Dave Pearce CD1.cue
[Fri Jan 18 00:46:17 2013] Denied, file not shared
[Fri Jan 18 00:46:17 2013] Queue upload requested by siulin for file \home\mark\smb4k\NIRVANA\media\Trance Albums3\\The Very Best Euphoric Chillout Mixes Breakdown [Light] (CD2) [ZIP].mp3
[Fri Jan 18 00:46:17 2013] Denied, file not shared
...
[Fri Jan 18 01:06:08 2013] Queue upload requested by siulin for file \home\mark\smb4k\NIRVANA\media\Trance Albums3\Beyond Euphoria\Beyond Euphoria Mixed by DT8 Project CD1.mp3
[Fri Jan 18 01:06:08 2013] Queued
[Fri Jan 18 01:06:08 2013] Queue upload requested by siulin for file \home\mark\smb4k\NIRVANA\media\Trance Albums3\Beyond Euphoria\Beyond Euphoria Mixed by DT8 Project CD2.mp3
[Fri Jan 18 01:06:08 2013] Queued

Where the user requests some files from a directory (...Albums3) and gets Denied, but later requests different files from the *same* directory and it's OK!

Just in case, I checked the directory and all the files have the same permissions and user and group settings... Hope this helps :)

Hi Nir,

I've spend a couple of days trawling the logs and have some (almost) concrete observations...

Where the upload request is for a file within a subdirectory of one of the shared directories, then the request is always queued OK. But where the file is in the shared directory itself then the upload is always 'Denied, file not shared'.

Anoyingly, I came across just one example (in about 6 days of logs) where this didn't apply, viz:

Tue Jan 15 23:29:17 2013] Queue upload requested by sorbet for file \home\mark\smb4k\NIRVANA\media\Trance Albums1\\DJ Tiesto - Live at Gatecrasher the Republic 01-03-2003 [ViNi].mp3
[Tue Jan 15 23:29:17 2013] Queued

where the file is in the 'root' of the shared directory (the shared directory is \home\mark\smb4k\NIRVANA\media\Trance Albums1)! Interestingly we also have double slashes here, but I suspect that the double slash thing is a complete red herring...

I hope this helps narrow down where something is going wrong??

Mark

That's very interesting, I'll take a look at it as soon as I have some time. Thanks!

Speedy_NL's picture

It seems that this problem still exists.. Some people keep getting DENIED, while others (who download the SAME files) don't...