GNOME Bugzilla – Bug 586772
Connection To Last.FM Goes In And Out
Last modified: 2009-10-04 22:12:17 UTC
Please describe the problem: When either listening to Last.FM streams or scrobbling material from local files, the connection to Last.FM is lost after about 15-20 minutes. If one continues to listen to local files or Internet Radio streams, Banshee will re-connect after another 15-20 minutes and continues cycling between connected and not connected. Shutting Banshee down and re-opening it does not work. If the connection is lost, one has to wait for a while before they can get it back no matter what. Steps to reproduce: 1.Open Banshee 2.Listen to a Last.FM stream,or to local files 3. Actual results: The connection to Last.FM cuts in and out every 15-20 minutes or so. Expected results: Banshee should stay connected to Last.FM at all times Does this happen every time? Yes Other information:
I've been listening to a Last.fm stream for about 30 minutes now, without seeing any problem. Could you run "banshee --debug" from a terminal, reproduce the problem and post the output here ?
It would have been better to attach your log to this bug, but it's OK, I got it. For the record, here's the relevant part : [Debug 20:00:49.521] The request timed out, http://lyricwiki.org/Bauhaus:Departure [Debug 20:00:55.522] The request timed out, http://www.autolyrics.com/tema1en.php?artist=Bauhaus&songname=Departure ** (Banshee:13660): WARNING **: _wapi_connect: error looking up socket handle 0x1f [Warn 20:03:49.659] Caught an exception - Error: ConnectFailure (in `System') at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0x00000] at Lastfm.AudioscrobblerConnection.NowPlayingGetRequestStream (IAsyncResult ar) [0x0001a] in /home/gslater/banshee/src/Libraries/Lastfm/Lastfm/AudioscrobblerConnection.cs:577 [Warn 20:03:51.569] Caught an exception - The request timed out (in `System') at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] at System.Net.HttpWebRequest.GetResponse () [0x00000] at Lastfm.Data.DataCore.DownloadContent (System.String data_url, System.String cache_file, CacheDuration cache_duration) [0x00079] in /home/gslater/banshee/src/Libraries/Lastfm/Lastfm.Data/DataCore.cs:99 at Lastfm.Data.LastfmData`1[Lastfm.Data.SimilarArtist].GetData () [0x00000] in /home/gslater/banshee/src/Libraries/Lastfm/Lastfm.Data/LastfmData.cs:101 at Lastfm.Data.LastfmData`1[Lastfm.Data.SimilarArtist].Refresh () [0x0000e] in /home/gslater/banshee/src/Libraries/Lastfm/Lastfm.Data/LastfmData.cs:94 at Lastfm.Data.LastfmData`1[Lastfm.Data.SimilarArtist]..ctor (System.String dataUrlFragment, CacheDuration cacheDuration, System.String xpath) [0x00057] in /home/gslater/banshee/src/Libraries/Lastfm/Lastfm.Data/LastfmData.cs:86 at Lastfm.Data.LastfmData`1[Lastfm.Data.SimilarArtist]..ctor (System.String dataUrlFragment, System.String xpath) [0x00000] in /home/gslater/banshee/src/Libraries/Lastfm/Lastfm.Data/DataCore.cs:1 at Lastfm.Data.LastfmArtistData.Get[SimilarArtist] (System.String fragment, System.String xpath) [0x00023] in /home/gslater/banshee/src/Libraries/Lastfm/Lastfm.Data/LastfmArtistData.cs:60 at Lastfm.Data.LastfmArtistData.Get[SimilarArtist] (System.String fragment) [0x00000] in /home/gslater/banshee/src/Libraries/Lastfm/Lastfm.Data/LastfmArtistData.cs:51 at Lastfm.Data.LastfmArtistData.get_SimilarArtists () [0x00000] in /home/gslater/banshee/src/Libraries/Lastfm/Lastfm.Data/LastfmArtistData.cs:68 at Banshee.Lastfm.Recommendations.RecommendationPane.UpdateForArtist (System.String artist) [0x00007] in /home/gslater/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Recommendations/RecommendationPane.cs:259 Could you disable the Lyrics extension and see if it helps ? I think you might be hitting this bug in mono : https://bugzilla.novell.com/show_bug.cgi?id=399048 As both the Last.fm and Lyrics extension are doing HTTP requests at about the same time, they might trigger the problem.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!