Jump to content

Free trakt.tv with emby not connecting


Go to solution Solved by Luke,

Recommended Posts

Posted (edited)

Hi,

 

I have the same problem as others in this topic, and this older topic: 

 

 

I tried to change the Trakt PIN in Emby settings multiple times, but seems like Emby is not connecting to Trakt. When I set up a new PIN in Emby for Trakt I don't see Emby in the Connected Apps on Trakt website and when I try to start a media I get this in the embyserver log:

Quote
2025-09-09 12:52:18.904 Info HttpClient: POST https://api.trakt.tv/oauth/token
2025-09-09 12:52:19.688 Error Trakt: Exception handled sending status update
	*** Error Report ***
	Version: 4.8.11.0
	Command line: /app/emby/system/EmbyServer.dll -programdata /config -ffdetect /app/emby/bin/ffdetect -ffmpeg /app/emby/bin/ffmpeg -ffprobe /app/emby/bin/ffprobe -restartexitcode 3
	Operating system: Linux version 6.8.0-63-generic (buildd@lcy02-amd64-047) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubunt
	Framework: .NET 6.0.36
	OS/Process: x64/x64
	Runtime: app/emby/system/System.Private.CoreLib.dll
	Processor count: 2
	Data path: /config
	Application path: /app/emby/system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: BadRequest
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Trakt.Api.TraktApi.GetResponseFromTrakt(HttpRequestOptions options, String method, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.PostToTrakt(String url, Object data, TraktUser traktUser, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.RefreshUserAuth(TraktUser traktUser, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.SetRequestHeaders(HttpRequestOptions options, TraktUser traktUser, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.PostToTrakt(String url, Object data, TraktUser traktUser, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.SendEpisodeStatusUpdateAsyncInternal(List`1 episodeDatas, MediaStatus status, TraktUser traktUser, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.SendEpisodeStatusUpdateAsync(Episode episode, MediaStatus status, TraktUser traktUser, Single progressPercent, CancellationToken cancellationToken)
	   at Trakt.ServerMediator.KernelPlaybackStart(Object sender, PlaybackProgressEventArgs e)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()

...

2025-09-09 12:54:56.413 Info Trakt: Item Not fully played. Tell trakt.tv we are no longer watching but don't scrobble
2025-09-09 12:54:56.421 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(SeriesPresentationUniqueKey)
2025-09-09 12:54:57.616 Info HttpClient: POST https://api.trakt.tv/oauth/token
2025-09-09 12:54:57.843 Error Trakt: Error sending scrobble
	*** Error Report ***
	Version: 4.8.11.0
	Command line: /app/emby/system/EmbyServer.dll -programdata /config -ffdetect /app/emby/bin/ffdetect -ffmpeg /app/emby/bin/ffmpeg -ffprobe /app/emby/bin/ffprobe -restartexitcode 3
	Operating system: Linux version 6.8.0-63-generic (buildd@lcy02-amd64-047) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubunt
	Framework: .NET 6.0.36
	OS/Process: x64/x64
	Runtime: app/emby/system/System.Private.CoreLib.dll
	Processor count: 2
	Data path: /config
	Application path: /app/emby/system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: BadRequest
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Trakt.Api.TraktApi.GetResponseFromTrakt(HttpRequestOptions options, String method, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.PostToTrakt(String url, Object data, TraktUser traktUser, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.RefreshUserAuth(TraktUser traktUser, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.SetRequestHeaders(HttpRequestOptions options, TraktUser traktUser, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.PostToTrakt(String url, Object data, TraktUser traktUser, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.SendEpisodeStatusUpdateAsyncInternal(List`1 episodeDatas, MediaStatus status, TraktUser traktUser, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.SendEpisodeStatusUpdateAsync(Episode episode, MediaStatus status, TraktUser traktUser, Single progressPercent, CancellationToken cancellationToken)
	   at Trakt.ServerMediator.KernelPlaybackStopped(Object sender, PlaybackStopEventArgs e)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()

I don't use VPN, running Emby in docker. It worked previously for years, but in the last weeks stopped working. I did not changed any configuration in Emby or Trakt, besides of Emby version upgrades.

Edited by szaz0
Posted
7 hours ago, Luke said:

@szaz0Hi, how exactly did you try to change the pin?

The same way as Airbender:

And after that I see the same as him on Trakt connected apps (there is no Emby). Is there any other way to change the pin?

  • 3 weeks later...
  • Solution
Posted

@szaz0did you see what he said after that?

 

Posted
On 9/26/2025 at 2:13 AM, Luke said:

@szaz0did you see what he said after that?

 

I just checked and looks like it works again, thanks! (I dunno what was the problem, I generated a new PIN, just like couple of times before, but now it works)

  • Thanks 1

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...