Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/6f7d7e61b911518aadcd6dc0b061d0eafd8a7acf
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
15 additions and
2 deletions
@ -3,6 +3,7 @@ using MediaBrowser.Common.Net;
using MediaBrowser.Controller.Connect ;
using MediaBrowser.Controller.Plugins ;
using MediaBrowser.Model.Logging ;
using MediaBrowser.Model.Net ;
using System ;
using System.IO ;
using System.Net ;
@ -59,9 +60,13 @@ namespace MediaBrowser.Server.Implementations.Connect
}
}
}
catch
catch ( HttpException )
{
}
catch ( Exception ex )
{
_logger . ErrorException ( "Error getting connection info" , ex ) ;
}
}
private string CacheFilePath
@ -130,7 +130,7 @@ namespace MediaBrowser.Server.Implementations.Connect
UpdateConnectInfo ( ) ;
}
private async void UpdateConnectInfo ( )
private async Task UpdateConnectInfo ( )
{
await _operationLock . WaitAsync ( ) . ConfigureAwait ( false ) ;
@ -399,6 +399,10 @@ namespace MediaBrowser.Server.Implementations.Connect
throw new ArgumentNullException ( "connectUsername" ) ;
}
if ( string . IsNullOrWhiteSpace ( ConnectServerId ) )
{
await UpdateConnectInfo ( ) . ConfigureAwait ( false ) ;
}
if ( string . IsNullOrWhiteSpace ( ConnectServerId ) )
{
throw new ArgumentNullException ( "ConnectServerId" ) ;
}
@ -492,6 +496,10 @@ namespace MediaBrowser.Server.Implementations.Connect
throw new ArgumentNullException ( "connectUsername" ) ;
}
if ( string . IsNullOrWhiteSpace ( ConnectServerId ) )
{
await UpdateConnectInfo ( ) . ConfigureAwait ( false ) ;
}
if ( string . IsNullOrWhiteSpace ( ConnectServerId ) )
{
throw new ArgumentNullException ( "ConnectServerId" ) ;
}