If you use amarok behind a proxy server and it cannot access internet (for example to fetch lyrics using a lyrics script, or to submit data to last.fm or any other task which requires it access the internet). The reason for this is that amarok does not read the system wide proxy settings from GNOME. To solve this problem you need to edit the following file :
and add the following entries to it :
Save the file and Restart amarok.