up2date A socket error occurred: Timeout Exception

I think I finally managed to solve a really annoying error I get on occasion, but I still don't know what exactly causes it, though.

When running yum or up2date to check for and/or update installed packages, I receive the error:
up2date A socket error occurred: Timeout Exception and /var/log/up2date shows a serie of timeouts after which up2date just fails. Common attempts to fix it seem to be to check your system date (mine is perfectly synced using NTP); to update your profile on RHN/ULN; to clean the cache using 'yum clean all'; to clear the yum or up2date cache directories and such. None of these fixed it for me.

What finally did fix it for me, was to delete /var/spool/up2date (sudo rm -rf /var/spool/up2date) and to recreate that same directory again (sudo mkdir /var/spool/up2date).

No comments: