Jump to content

Notice some errors with Trakt plugin and check plugin update job


somy

Recommended Posts

Running QNAP version 3.5.1.0

Below is the trakt error, it lasts for a few days now:

Sync library to trakt.tv failed

Method not found: 'Void MediaBrowser.Controller.Entities.InternalItemsQuery.set_OrderBy(System.Tuple`2<System.String,MediaBrowser.Model.Entities.SortOrder>[])'.
   at Trakt.ScheduledTasks.SyncLibraryTask.SyncMovies(User user, TraktUser traktUser, ISplittableProgress`1 progress, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Trakt.ScheduledTasks.SyncLibraryTask.SyncMovies(User user, TraktUser traktUser, ISplittableProgress`1 progress, CancellationToken cancellationToken)
   at Trakt.ScheduledTasks.SyncLibraryTask.SyncUserLibrary(User user, TraktUser traktUser, ISplittableProgress`1 progress, CancellationToken cancellationToken)
   at Trakt.ScheduledTasks.SyncLibraryTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
   at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

 

 

Also the update plugin job keeps failing:

Check for plugin updates failed

Connection to https://www.mb3admin.com/admin/service/EmbyPackages.json timed out

   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
   at Emby.Server.Implementations.Updates.InstallationManager.GetAvailablePackagesWithoutRegistrationInfo(CancellationToken cancellationToken)
   at Emby.Server.Implementations.Updates.InstallationManager.GetAvailablePluginUpdates(Version applicationVersion, Boolean withAutoUpdateEnabled, CancellationToken cancellationToken)
   at Emby.Server.Implementations.ScheduledTasks.PluginUpdateTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
   at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

Edited by somy
Link to comment
Share on other sites

Hi there, please attach the emby server log, thanks.

 

Log file attached. Also noticed something strange, I can't seem to be able to open the plugin page, it loads for a while but doesn't show any plugin from the market

Log.txt

Edited by somy
Link to comment
Share on other sites

Hi there, did you forget to attach the log?

 

 

You're fast :)

It's attached now. 

Just noticed it was 3.5.1.0, I have upgraded to 3.5.2.0 now but same problem.

Edited by somy
Link to comment
Share on other sites

Hi, can you try rebooting your machine? thanks.

 

Do you mean to reboot QNAP NAS? 

I tried to restart Emby app doesn't help. 

Link to comment
Share on other sites

Yes please try rebooting the nas.

Hi Luke,

I restarted NAS but still have the same problem.

Looks like something to do with outgoing connection - from web client I can't view the plugin page for example.

It doesn't affect everything though, I can still check application upgrade w/o any issue for example.

Link to comment
Share on other sites

Then it sounds like you might have something blocking the connection to our admin domain, mb3admin.com.

Link to comment
Share on other sites

Then it sounds like you might have something blocking the connection to our admin domain, mb3admin.com.

That is strange, there shouldn’t be anything blocking the connection.

Did you have a chance to check the Trakt error, that wasn’t connection issue I believe.

Link to comment
Share on other sites

Try updating to 3.5.2 and make sure the trakt plugin is updated as well. Thanks.

 

I have already upgraded 3.5.2 :)

Is there a way to manually install trakt plugin? The problem is I cannot browse the plugin page......

Link to comment
Share on other sites

Are you running a vpn?

Hi Luke, yes I have QNAP VPN enabled, and it was enabled for a long time. I experienced the problems with plugin page recently.

Why does it matter?

Link to comment
Share on other sites

Try disabling the vpn.

 

Just tried to disable VPN, restart NAS but same problem.

I saw some other posts regarding outgoing https connection, were there any recent change related to ssl?

It doesn't seem to affect other connections, for example I can check emby update without any issue.

Thx!

Edited by somy
Link to comment
Share on other sites

There weren't any changes. Emby updates are checking api.github.com, plugins are checking mb3admin.com. it looks like you have something in your network blocking access to mb3admin.com.

Link to comment
Share on other sites

There weren't any changes. Emby updates are checking api.github.com, plugins are checking mb3admin.com. it looks like you have something in your network blocking access to mb3admin.com.

 

Hmm, looks like also emby.media is not reachable from the server. I tried from my browser which works fine:

2018-08-09 20:42:12.798 Error App: Error downloading news

    *** Error Report ***

    Version: 3.5.2.0

    Command line: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/system/EmbyServer.dll -programdata /share/CACHEDEV1_DATA/.qpkg/EmbyServer/programdata -ffmpeg /share/CACHEDEV1_DATA/.qpkg/EmbyServer/bin/ffmpeg -ffprobe /share/CACHEDEV1_DATA/.qpkg/EmbyServer/bin/ffprobe -defaultdirectory /share/CACHEDEV1_DATA -updatepackage emby-server-qnap_{version}_x86_64.qpkg

    Operating system: Unix 4.2.8.0

    64-Bit OS: True

    64-Bit Process: True

    User Interactive: True

    Processor count: 4

    Program data path: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/programdata

    Application directory: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/system

    MediaBrowser.Model.Net.HttpException: Connection to https://emby.media/community/index.php?/blog/rss/1-media-browser-developers-blog timed out ---> System.OperationCanceledException: The operation was canceled.

     at System.Net.Http.HttpClient.HandleFinishSendAsyncError(Exception e, CancellationTokenSource cts)

     at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)

     at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)

     --- End of inner exception stack trace ---

     at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)

     at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)

     at Emby.Server.Implementations.News.NewsEntryPoint.DownloadNews(String path)

     at Emby.Server.Implementations.News.NewsEntryPoint.OnTimerFired(Object state)

    MediaBrowser.Model.Net.HttpException

     at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)

     at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)

     at Emby.Server.Implementations.News.NewsEntryPoint.DownloadNews(String path)

     at Emby.Server.Implementations.News.NewsEntryPoint.OnTimerFired(Object state)

    InnerException: System.OperationCanceledException

    System.OperationCanceledException: The operation was canceled.

     at System.Net.Http.HttpClient.HandleFinishSendAsyncError(Exception e, CancellationTokenSource cts)

     at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)

     at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)

     at System.Net.Http.HttpClient.HandleFinishSendAsyncError(Exception e, CancellationTokenSource cts)

     at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)

     at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)

    

 

Also noticed the below error many times, looks like DLNA tries to bind to a port which is already used:

2018-08-09 22:12:57.655 Error Dlna: Error in BeginListeningForBroadcasts

    *** Error Report ***

    Version: 3.5.2.0

    Command line: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/system/EmbyServer.dll -programdata /share/CACHEDEV1_DATA/.qpkg/EmbyServer/programdata -ffmpeg /share/CACHEDEV1_DATA/.qpkg/EmbyServer/bin/ffmpeg -ffprobe /share/CACHEDEV1_DATA/.qpkg/EmbyServer/bin/ffprobe -defaultdirectory /share/CACHEDEV1_DATA -updatepackage emby-server-qnap_{version}_x86_64.qpkg

    Operating system: Unix 4.2.8.0

    64-Bit OS: True

    64-Bit Process: True

    User Interactive: True

    Processor count: 4

    Program data path: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/programdata

    Application directory: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/system

    System.Net.Sockets.SocketException (98): Address already in use

     at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)

     at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

     at System.Net.Sockets.Socket.Bind(EndPoint localEP)

     at Emby.Server.Implementations.Net.UdpSocket..ctor(Socket socket, Int32 localPort, IPAddress ip)

     at Emby.Server.Implementations.Net.SocketFactory.CreateUdpMulticastSocket(String ipAddress, Int32 multicastTimeToLive, Int32 localPort)

     at Rssdp.Infrastructure.SsdpCommunicationsServer.ListenForBroadcastsAsync()

     at Rssdp.Infrastructure.SsdpCommunicationsServer.BeginListeningForBroadcasts()

    System.Net.Sockets.SocketException

     at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)

     at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

     at System.Net.Sockets.Socket.Bind(EndPoint localEP)

     at Emby.Server.Implementations.Net.UdpSocket..ctor(Socket socket, Int32 localPort, IPAddress ip)

     at Emby.Server.Implementations.Net.SocketFactory.CreateUdpMulticastSocket(String ipAddress, Int32 multicastTimeToLive, Int32 localPort)

     at Rssdp.Infrastructure.SsdpCommunicationsServer.ListenForBroadcastsAsync()

     at Rssdp.Infrastructure.SsdpCommunicationsServer.BeginListeningForBroadcasts()

Edited by somy
Link to comment
Share on other sites

Well mb3admin.com and emby.media point to the same place so it's not surprising. I think you have some kind of configuration somewhere that is blocking the domain.

Link to comment
Share on other sites

Well mb3admin.com and emby.media point to the same place so it's not surprising. I think you have some kind of configuration somewhere that is blocking the domain.

Hi Luke, thank you for looking into this.

Kind of blocked here, don't really know where to look, guess I have to live with it for now and hope the root cause is found in the future.

Link to comment
Share on other sites

Are you certain you had the vpn disabled? what vpn is it?

 

Yes I do. I only have L2TP/IPsec enabled. I turned it off and verified that I could no longer get VPN connection, then restarted Emby app, which still couldn't get plugin list.

I don't quite understand how this is related to VPN, and it worked fine not long time ago. Also notice all scraper and subtitle downloaders work fine. Plus turning off VPN isn't really a solution for me anyways.

Could it have something to do with SSL? Is there a way to request plugin page with HTTP only? 

Link to comment
Share on other sites

No, I'm not sure what your issue is at this point. Other users are able to install plugins. I think you have something blocking access to our domain.

Link to comment
Share on other sites

No, I'm not sure what your issue is at this point. Other users are able to install plugins. I think you have something blocking access to our domain.

World it possible in anyway to try http (w/o ssl) for plugin page?

Edited by somy
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...