dirkvdb / lastfmlib

Automatically exported from code.google.com/p/lastfmlib
GNU General Public License v2.0
1 stars 2 forks source link

Failures to submit (BADSESSION) #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1222115244 INFO  : Authenticate thread started
1222115244 INFO  : Authentication successfull for user: markgillespie
1222115244 INFO  : Authenticate thread finished
1222207188 INFO  : startedPlaying Midnight In Tokyo
1222207188 INFO  : sendInfo thread started
1222207188 INFO  : Won't submit
1222207188 INFO  : sendInfo thread finished
1222207534 INFO  : startedPlaying Hang 'Em High
1222207534 INFO  : sendInfo thread started
1222207534 INFO  : Track "Midnight In Tokyo" can be committed: conditions 
OK
1222207535 ERROR  : Failed to submit info: BADSESSION
1222207535 INFO  : sendInfo thread finished

What is the expected output? What do you see instead?
submission

What version of the product are you using? On what operating system?
latest SVN, on Gentoo Linux.

Please provide any additional information below.

Original issue reported on code.google.com by mark.gil...@gmail.com on 23 Sep 2008 at 10:44

GoogleCodeExporter commented 9 years ago
Reason for BADSESSION:
This indicates that the Session ID sent was somehow invalid, possibly because 
another
client has performed a handshake for this user. On receiving this, the client 
should
re-handshake with the server before continuing. 

I will implement it so that the client will handshake again.

Original comment by dirk.vdb on 24 Sep 2008 at 7:02

GoogleCodeExporter commented 9 years ago
I finally had time to work on this issue. I committed a fix that will 
reauthenticate
when the server returns BADSESSION

Original comment by dirk.vdb on 17 Nov 2008 at 1:42