raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.02k stars 2.75k forks source link

[Plex] Failed to fetch latest data hostname/IP does not match certificate's altnames: IP: xxx.xxx.xxx.xxx is not in the cert's list #13144

Open j-peeters opened 1 week ago

j-peeters commented 1 week ago

Extension

https://raycast.com/mSarheed/plex

Raycast Version

1.77.0

macOS Version

14.5

Description

Thanks for this great plugin, I was hoping for something like this for a long time. I don't get it to work, though. I think I properly added the token and tried it with many URL formattings (like local address, plex.tv address, external IP etc, http, https etc) but keep getting this error.

Error:

FetchError: request to https://192.168.178.10:32400/library/sections/ failed, reason: Hostname/IP does not match certificate's altnames: IP: 192.168.178.10 is not in the cert's list: 
    at ClientRequest.<anonymous> (/Users/jpeeters/.config/raycast/extensions/48b273bd-39e2-4691-946a-3b1813a921f5/index.js:8:308403)
    at ClientRequest.emit (node:events:514:28)
    at ClientRequest.emit (node:domain:488:12)
    at TLSSocket.socketErrorListener (node:_http_client:495:9)
    at TLSSocket.emit (node:events:514:28)
    at TLSSocket.emit (node:domain:488:12)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Steps To Reproduce

  1. Add Token
  2. Add Plex URL
  3. activate Plex Library command
  4. Error shows

Current Behaviour

Error breaks showing of items

Expected Behaviour

That I could access the server.

raycastbot commented 1 week ago

Thank you for opening this issue!

🔔 @mSarheed you might want to have a look.

💡 Author and Contributors commands The author and contributors of `mSarheed/plex` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.