Page 1 of 1

First try gives "None -> Unknown encoding", second try downloads succesfully

Posted: February 26th, 2011, 8:51 pm
by WoLpH
Somehow one of my machines always fails to download the first time I add a download.
It looks like it's downloading but it finishes a couple of gigabytes within a minute and marks the download as failed (after that 0 blocks downloaded).

When it's in the failed list I can just restart the download and it will download succesfully, but never the first time.

The only messages in the logs are: "WARNING: None -> Unknown encoding". It has to be a problem in one of my Python libraries since I have the exact same version running on my laptop without a problem (copied with "rsync -av").

Version: All of them, 0.5.x, 0.6.x (including the latest version directly from launchpad)
OS: Ubuntu Maverick (not the issue, I have an identical install on 2 other machines which work without a problem)
Install-type: linux repository, python source (straight from launchpad)
Skin Plush
Firewall Software: None
Are you using IPV6? I use servers both with and without IPv6, doesn't make a difference.
Is the issue reproducible? yes

Any idea on what it could be or where I should start the debugging? I've already tried reinstalling yenc but it didn't change anything.

Re: First try gives "None -> Unknown encoding", second try downloads succesfully

Posted: February 27th, 2011, 6:05 am
by shypike
"WARNING: None -> Unknown encoding" can be a side-effect of other problems.
It looks more like articles are simply not found on the server,
or SABnzbd thinking they aren't.
Given that the exact same setup is working on two other systems,
it looks more like a local problem. But what, I don't have a clue.

If you suspect yEnc, you can simply remove it.
SABnzbd will decode articles by itself (slower, but it does work).

If you have debug-level log files for such an event, send them to bugs at sabnzbd.org

Re: First try gives "None -> Unknown encoding", second try downloads succesfully

Posted: March 6th, 2011, 5:30 pm
by WoLpH
I've removed yenc completely... no difference :(
Thanks very much for the help though, I appreciate it :)

I'll just remove Sabnzbd completely and completely reconfigure it, who knows if it's something in there...


I did get some debug logs, but they weren't useful either. I'll try to gather some more but it's not 100% reproducable unfortunately...

Re: First try gives "None -> Unknown encoding", second try downloads succesfully

Posted: March 11th, 2011, 7:52 pm
by WoLpH
Ok, I've got some debug logs now.

It's completely filled with messages like this (slightly anonymized)

2011-03-12 01:43:43,197::DEBUG::[trylist:50] Appending ssl.news.server.com:443 to .__try_list
2011-03-12 01:43:43,198::INFO::[decoder:181] => missing from all servers, discarding
2011-03-12 01:43:43,285::INFO::[downloader:556] Thread [email protected]:443: Article [email protected] missing (error=411)
2011-03-12 01:43:43,285::DEBUG::[downloader:570] Thread [email protected]:443: [email protected] done
2011-03-12 01:43:43,286::DEBUG::[downloader:640] Thread [email protected]:443: GROUP
2011-03-12 01:43:43,286::DEBUG::[trylist:50] Appending ssl.news.server.com:443 to .__try_list
2011-03-12 01:43:43,286::INFO::[decoder:181] => missing from all servers, discarding
2011-03-12 01:43:43,304::INFO::[downloader:556] Thread [email protected]:443: Article [email protected] missing (error=411)
2011-03-12 01:43:43,304::DEBUG::[downloader:570] Thread [email protected]:443: [email protected] done
2011-03-12 01:43:43,305::DEBUG::[downloader:640] Thread [email protected]:443: GROUP
2011-03-12 01:43:43,305::DEBUG::[trylist:50] Appending ssl.news.server.com:443 to .__try_list
2011-03-12 01:43:43,305::INFO::[decoder:181] => missing from all servers, discarding
2011-03-12 01:43:43,358::INFO::[downloader:556] Thread [email protected]:443: Article [email protected] missing (error=411)
2011-03-12 01:43:43,358::DEBUG::[downloader:570] Thread [email protected]:443: [email protected] done
2011-03-12 01:43:43,358::DEBUG::[downloader:640] Thread [email protected]:443: GROUP
2011-03-12 01:43:43,358::DEBUG::[trylist:50] Appending ssl.news.server.com:443 to .__try_list
2011-03-12 01:43:43,359::INFO::[decoder:181] => missing from all servers, discarding
2011-03-12 01:43:43,386::INFO::[downloader:556] Thread [email protected]:443: Article [email protected] missing (error=411)
2011-03-12 01:43:43,386::DEBUG::[downloader:570] Thread [email protected]:443: [email protected] done
2011-03-12 01:43:43,386::DEBUG::[downloader:640] Thread [email protected]:443: GROUP
2011-03-12 01:43:43,386::DEBUG::[trylist:50] Appending ssl.news.server.com:443 to .__try_list
2011-03-12 01:43:43,387::INFO::[decoder:181] => missing from all servers, discarding
2011-03-12 01:43:43,475::INFO::[downloader:556] Thread [email protected]:443: Article [email protected] missing (error=411)
2011-03-12 01:43:43,475::DEBUG::[downloader:570] Thread [email protected]:443: [email protected] done
2011-03-12 01:43:43,476::DEBUG::[downloader:640] Thread [email protected]:443: GROUP
2011-03-12 01:43:43,476::DEBUG::[trylist:50] Appending ssl.news.server.com:443 to .__try_list
2011-03-12 01:43:43,476::INFO::[decoder:181] => missing from all servers, discarding
2011-03-12 01:43:43,492::INFO::[downloader:556] Thread [email protected]:443: Article [email protected] missing (error=411)
2011-03-12 01:43:43,493::DEBUG::[downloader:570] Thread [email protected]:443: [email protected] done
2011-03-12 01:43:43,493::DEBUG::[downloader:640] Thread [email protected]:443: GROUP
2011-03-12 01:43:43,493::DEBUG::[trylist:50] Appending ssl.news.server.com:443 to .__try_list
2011-03-12 01:43:43,493::INFO::[decoder:181] => missing from all servers, discarding
2011-03-12 01:43:43,548::INFO::[downloader:556] Thread [email protected]:443: Article [email protected] missing (error=411)
2011-03-12 01:43:43,548::DEBUG::[downloader:570] Thread [email protected]:443: [email protected] done
2011-03-12 01:43:43,548::DEBUG::[downloader:640] Thread [email protected]:443: GROUP
2011-03-12 01:43:43,548::DEBUG::[trylist:50] Appending ssl.news.server.com:443 to .__try_list
2011-03-12 01:43:43,549::INFO::[decoder:181] => missing from all servers, discarding
2011-03-12 01:43:43,575::INFO::[downloader:556] Thread [email protected]:443: Article [email protected] missing (error=411)
2011-03-12 01:43:43,575::DEBUG::[downloader:570] Thread [email protected]:443: [email protected] done
2011-03-12 01:43:43,575::DEBUG::[downloader:640] Thread [email protected]:443: GROUP

Re: First try gives "None -> Unknown encoding", second try downloads succesfully

Posted: March 12th, 2011, 3:56 am
by shypike
Which release are you using?
0.6.0 Beta2 contains an error which makes downloads fail when you have the "Send Group" option (Config->Switches).
Upgrade to Beta3 and turn off the "Send Group" option.