Authorizing

I cannot authorize Mediaportal. I get page not found:

http://api.trakt.tv/oauth/device/code

Thanks.

is this not the link you’re supposed to use? Sign in to Trakt - Trakt

1 Like

Like Revenir said, it def should be this link. Not sure where you got the other link from.

https://trakt.tv/activate

1 Like

I get the error when Mediaportal tries to connect to Trakt. So I cannot do anything myself. Trakt generates a code which needs to be input in Mediaportal. I see an error in Mediaportal flashing by with the URL I mentioned.

Having same issue today.
the log from the plugin

2024-09-29 01:25:08.552 [INFO] [01]: Command Line Options Set, SilentMode = ‘False’, AutoSync = ‘False’, CloseAfterSync = ‘False’
2024-09-29 01:25:08.554 [INFO] [01]: Performing maintenance tasks
2024-09-29 01:25:08.558 [INFO] [01]: Loading local settings
2024-09-29 01:25:08.647 [INFO] [01]: Finished loading local settings
2024-09-29 01:25:09.695 [INFO] [03]: Getting device code from trakt.tv
2024-09-29 01:25:10.080 [ERR ] [03]: Protocol Error, Code = ‘404’, Description = ‘Not Found’, Url = ‘http://api.trakt.tv/oauth/device/code’, Headers = ‘Transfer-Encoding: chunked, Connection: keep-alive, x-frame-options: SAMEORIGIN, x-xss-protection: 0, x-content-type-options: nosniff, x-download-options: noopen, x-permitted-cross-domain-policies: none, referrer-policy: strict-origin-when-cross-origin, vary: Accept-Encoding, x-ratelimit: {“name”:“UNAUTHED_API_GET_LIMIT”,“period”:300,“limit”:1000,“remaining”:999,“until”:“2024-09-28T23:30:00Z”}, x-request-id: 86971439-ef0a-48db-82eb-8ed24a36b361, x-runtime: 0.026897, CF-Cache-Status: DYNAMIC, Speculation-Rules: “/cdn-cgi/speculation”, CF-RAY: 8ca77db3eac5771a-LHR, Cache-Control: no-cache, Content-Type: text/html; charset=utf-8, Date: Sat, 28 Sep 2024 23:25:09 GMT, Set-Cookie: _traktsession=VBssHEZE5oxr1OAQImdWLOTvYrmkSCk453OSh%2Bf8bO2DiOTQyMUlDplziJHceT1%2FwiO1gGuAu36nbCCVNIMzoZJJYoe3GXy17%2F2UY7tV3cZGa9WNmUR4d67r36RcUyMVok3ah2xd%2F43n27V5y69KrGVAUjMGh3FHJZYAr2C5EAE9D7jVpmAVqzXvcWzh0fOgPQwuJx5QSY%2Fg%2Fy%2FKf4B01kMDXuUS%2FV9tyiWrPbUVoeDibn07rQ%3D%3D–MMFTFbD4UismhcGF–I0DwGXCXyWl8aacroY83DQ%3D%3D; path=/; HttpOnly; SameSite=Lax, Server: cloudflare’
2024-09-29 01:25:10.081 [INFO] [01]: Authorization process cancelled
2024-09-29 01:25:10.090 [INFO] [01]: Saving settings

I’ve gotten mine working by enabling SSL for Trakt in Mediaportal.

Modify the following file :
C:\ProgramData\Team MediaPortal\MediaPortal\MediaPortal.xml

Search for the following section :
<section name="Trakt">

Within that section, you’ll see the UseSSL entry, which is set to no by default, change it to yes :
<entry name="UseSSL">yes</entry>

You should be able to authorize and sync Trakt from the plugin config.

This is unbelievable! It works like a charm! How did you find this? Because the XML is far from small! It took me quite some time to even find the UseSSL entry!
dstmar: you must be some kind of wizard… Thank you very much!

WOW…Thank You
works great