This project is read-only.
1
Vote

Unhandled WebException when perfoming search

description

I experience next exception when calling Discogs3.Search() if doing multiple search after some time. And after it a can't recover at all. I know this is a .Net related bug, but i would experience some fix for it when using your dll.

System.Net.WebException was unhandled
_HResult=-2146233079
_message=The underlying connection was closed: The connection was closed unexpectedly.
HResult=-2146233079
IsTransient=false
Message=The underlying connection was closed: The connection was closed unexpectedly.
Source=System
StackTrace:
   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   at System.Net.WebClient.DownloadData(Uri address)
   at System.Net.WebClient.DownloadData(String address)
   at DiscogsNet.Api.Discogs3.DownloadString(String uri) in \Visual Studio 2013\Projects\DiscogsNet\DiscogsNet\Api\Discogs3.cs:line 132
   at DiscogsNet.Api.Discogs3.Search(SearchQuery query, PaginationRequest paginationRequest) in \Visual Studio 2013\Projects\DiscogsNet\DiscogsNet\Api\Discogs3.cs:line 123
InnerException:

comments

jawzon wrote Jun 8, 2015 at 6:17 PM

got the same problem, any idea?

karamanolev wrote Jun 9, 2015 at 10:05 AM

Discogs has changed their API way too much since the last time this library was updated. Someone needs to update it, but I don't have the time for that right now.