Version: 2.3.1 (using KDE 4.5.0) OS: Linux Currently if an Ampache session times out, you get an error message saying 'Authentication Error' - 'Error Invalid Handshake - Login Failed version too old'. Then the only way to re-connect to the server is either quitting and re-starting Amarok or disabling and re-enabling the Ampache service from the Settings. Reproducible: Always Steps to Reproduce: Connect to an Ampache session and wait until it times out Actual Results: Only way to reconnect is to restart Amarok or disabling and re-enabling the Ampache server Expected Results: Amarok sends a new Handshake request automatically Some additional infos could be found at this page: http://ampache.org/wiki/dev:xmlapi
*** This bug has been marked as a duplicate of bug 215750 ***
I think I found the issue here: after the session times out, Amarok is issuing a ping (/server/xml.server.php?action=ping), but for some reason the server replies with an ACL error instead of the expected version information. (I don't know why I get an ACL error since the service is working properly apart from this glitch and the Ampache ACL configuration is correct). Looking at the Amarok code, it is assumed that if no version information is returned then the Ampache version is set to '100000' (line 357, AmpacheService.cpp). This causes the next authentications to fail due to wrong version. Now I am not sure how to fix this... maybe a dev can comment?
Also I am not 100% sure if this is a duplicate of bug 215750, since I don't get crashes in this case...
Actually, after a second read, it looks like it is duplicate... closing.