Problem solved based on this solution. wget-nossl package was the issue. Removed this, and now works fine.