Hello. Seeing a handful of these today
HTTPConnectionPool(host=127.0.0.1, port=32400): Max retries exceeded with url: /library/sections/15/label (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x10caf0680>, Connection to 127.0.0.1 timed out. (connect timeout=60)))
that I don't understand. Anything I can do?
#HTTPConnectionPool Errors
1 messages · Page 1 of 1 (latest)
📝 If you want to review this again, rothnd_07346:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝
Welcome @scenic sun!
Someone from <@&938443185347244033> will assist when they're available.
Including meta.log from the beginning is a huge help. Type !logs for more information.
After attaching your log, do not forget to hit the green check boxes when prompted by our bot.
You can press the "Close Post" button above or type /close at any time to close this post.
**User Info**
Author of Linked Message: TheOneTheOnly
Person who Invoked the Command: TheOneTheOnly
File Name: meta.log
Table of Contents:
Page 01: User Info
Page 02: Kometa Info
Page 03: Kometa Summary Info
Page 04: Kometa Config.yml YAML Validation ✅
Page 05: Plex Configuration - Section 1
Page 06: Plex Configuration - Section 2
Page 07: Plex Configuration - Section 3
Page 08: Plex Configuration - Section 4
Page 09: Plex Configuration - Section 5
Page 10: Plex Configuration - Section 6
Page 11: Rec 01 - 💥 TRACEBACK ERROR
Page 12: Rec 02 - ❌ [ERROR]
Page 13: Rec 03 - ❌⏱️ TIMEOUT ERROR
Page 14: Rec 04 - ⚠️ [WARNING]
Page 15: Rec 05 - ⚠️ NO ITEMS FOUND IN PLEX
Page 16: Rec 06 - 💬 CONVERT WARNING
Page 1/16
Kometa's trying to open a connection to 127.0.0.1 on port 32400 and that connection attempt is timing out. There's nothing Kometa can do about this aside from waiting longer, which you'd do by putting a bigger number here:
plex:
timeout: 60
I'm seeing now that Plex just isn't reachable on 127.0.0.1
Is Plex running on this Mac?
Yep, I think buggy update. Stopped/Restarted asked to login again. Getting to a new Kometa run.
Apparently not the cause. http://127.0.0.1:32400/webis going in and out. During this Kometa run it started failing to resolve again and throwing the timeout.
app.plex.tv works fine
Why not use the actual IP of the Mac?
Where? I'm just going by the error Kometa is throwing with that 127.0.0.1
!noredact
In the the kometa config. Instead of:
plex:
url: http://127.0.0.1:32400
token: (redacted)
use:
plex:
url: http://192.168.1.50:32400
token: (redacted)
or whatever the LAN IP of the Mac is.
Also, no idea what "going in and out" means. Sounds like a networking issue that Kometa has nothing to do with and no control over.
Ok, I'm getting lost. When I visit that LAN based link it seems different. And more importantly, when I Get Info<View XML there's no token at the end of the url
When I go to http://192.168.1.199:32400/ I get some XML page only
it seems different
different to what and how specifically?
If you are running a browser on this Mac, and the Mac's LAN IP is 192.168.1.50, then these two URLs:
http://192.168.1.50:32400 > the computer on the LAN with IP 192.168.1.50
http://127.0.0.1:32400 > the computer from which I am making the request
point to exactly the same thing
Now, maybe Plex responds differently to one vs the other [though I have never seen that], but from a networking and Kometa perspective they are exactly the same.
I f you're visiting it in a browser maybe you need to add /web to it or something.
But you aren't visiting it in a browser you are connecting to it with the Plex API.
So what the browser shows is immaterial.
Yes those links point to exactly the same thing, this I know. What was different was that it wasn't seeing me as signed-in on the LAN IP url. But even after sign-in, trying to get the token yields a different token for each url..." Which is Kometa looking for exactly?
Kometa doesn't care where the token came from. It isn't looking for some specific token.
Ideally, you will use a token that you specifically generated for Kometa's use, not one taken from a URL.
The nightly wiki has a form you can use to generate such a token. If you use a webclient token or a server token, there are some odd issues that can result.
k
I don't know how to reach the nightly wiki. I'm looking at https://kometa.wiki/en/latest/config/plex/
Kometa is an open-source python project allowing you to unlock the potential of your media server.
Hover over the "pages" icon at the top of the page next to the search field OR click on "latest" down in the lower right OR change latest to nightly in the URL.
Doesn't matter to the API:
> python theonetheonly.py --url http://127.0.0.1:32400 --token BLAH
Connecting to http://127.0.0.1:32400...
------------------------------
Server Name: Home-test
Plex Version: 1.42.1.10060-4e8b05daf
Platform: Linux 6.14.0-36-generic
------------------------------
> python theonetheonly.py --url http://localhost:32400 --token BLAH
Connecting to http://localhost:32400...
------------------------------
Server Name: Home-test
Plex Version: 1.42.1.10060-4e8b05daf
Platform: Linux 6.14.0-36-generic
------------------------------
> python theonetheonly.py --url http://192.168.1.11:32400 --token BLAH
Connecting to http://192.168.1.11:32400...
------------------------------
Server Name: Home-test
Plex Version: 1.42.1.10060-4e8b05daf
Platform: Linux 6.14.0-36-generic
------------------------------
Using the top menu will drop you back at the front page.
Editing the URL or using the bottom-right menu will leave you on the page you are currently viewing.
Using the menu in the bottom right-ish corner, always keeps me where I am and just changes me to nightly
Excellent
K. So I'm using the Auth Tool. It says I'm from an odd location and gives me a new window with Authentication complete. You can close this window.
So close the window…
Um.. What about the Plex section in config..
The new window is what I was referring to, to close. The one that says “you can close this window”
I get that, close the window, check, now what
What is in the wiki authorization
`What happens next:
- Click the button below
- Sign in with your Plex account in the popup window
- Copy your access token to use with Kometa`? I'm asking where because I'm not seeing a token being generated (or the IP on which it is based, because all I've seen is close window
The token should appear back in the wiki window. If it's not, perhaps go straight to the source rather than using it embedded in the wiki page:
Thank you. It seems an actual answer today. It did not do that properly in the wiki.
You should see:
You know, I feel like I've provided a fair number of actual answers today.
Yea, I wasn't getting Your Plex Access Token from the wiki form
Wasn't referring to you
@silent portal I just tried and it keeps telling me pop up blocked. They’re not blocked. I’ve refreshed the page a few times, keeps logging in and then a new window opens that tells me I can close
Hm, must be a readthedocs idiosyncrasy.
Yea but what does the wiki say
Cool, the direct link does work
click on the direct link
#1468015367124156486 message
The wiki says to use the form in the page [at least it does for now], which worked when I tested it locally before deployment. Apparently readthedocs is behaving differently to a local mkdocs server in some regard.
Ah 👍
but the direct link provided above does work
And the wiki no longer contains the embedded version.
lol. Any way to retrieve one of these tokens after the fact?
You can't retrieve them, but you can revoke them. Just generate a new one and revoke the old one.
Ok cool