Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/2ed5abf4d3491ceb8dd5fd2e68f7f7d9ac7ff6d6
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
14 additions and
1 deletions
@ -34,6 +34,18 @@ namespace NzbDrone.Common.Extensions
var contentSample = response . Content . Substring ( 0 , Math . Min ( response . Content . Length , 512 ) ) ;
if ( response . Request ! = null )
{
ex . AddData ( "RequestUri" , response . Request . Url . ToString ( ) ) ;
if ( response . Request . ContentSummary ! = null )
{
ex . AddData ( "RequestSummary" , response . Request . ContentSummary ) ;
}
}
ex . AddData ( "StatusCode" , response . StatusCode . ToString ( ) ) ;
if ( response . Headers ! = null )
{
ex . AddData ( "ContentType" , response . Headers . ContentType ? ? string . Empty ) ;
@ -301,8 +301,9 @@ namespace NzbDrone.Core.Indexers
{
return parser . ParseResponse ( response ) . ToList ( ) ;
}
catch ( Exception )
catch ( Exception ex )
{
ex . WithData ( response . HttpResponse , 128 * 1024 ) ;
_logger . Trace ( "Unexpected Response content ({0} bytes): {1}" , response . HttpResponse . ResponseData . Length , response . HttpResponse . Content ) ;
throw ;
}