Kibi Posted May 10, 2021 Share Posted May 10, 2021 @JohnnyP what about to try the binhex plex docker? Quote Link to comment
jonpetersathan Posted May 10, 2021 Author Share Posted May 10, 2021 Yes you can try, but shouldn't make a difference and I'm using the official Plex image with the exact same config and it works fine. Really strange.... Quote Link to comment
Kibi Posted May 11, 2021 Share Posted May 11, 2021 Hmmmm next weekend I'll try to uninstall and reinstall Plex. Maybe something went wrong while installing Plex Quote Link to comment
Valiran Posted May 13, 2021 Share Posted May 13, 2021 (edited) Hello! I'm having a problem here. I can't figure how to make the bot join the Discord server. Everything is configured OK, logs show: ======== Running on http://0.0.0.0:32500 ======== (Press CTRL+C to quit) Plex webhook URL: http://localhost:32500/6s8r7t165sr7t1vf6s5r7t But no bot in discord server. What did I miss? Edited May 13, 2021 by Valiran add screenshot Quote Link to comment
PauloT Posted May 13, 2021 Share Posted May 13, 2021 1 hour ago, Valiran said: Hello! I'm having a problem here. I can't figure how to make the bot join the Discord server. Everything is configured OK, logs show: ======== Running on http://0.0.0.0:32500 ======== (Press CTRL+C to quit) Plex webhook URL: http://localhost:32500/6s8r7t165sr7t1vf6s5r7t But no bot in discord server. What did I miss? I think your problem is "plex webhook Token" It should look like: http://localhost:32400/6s8r7t165sr7t1vf6s5r7t if you didnt change the port. Quote Link to comment
jonpetersathan Posted May 13, 2021 Author Share Posted May 13, 2021 No his port is fine, it's the port PA is using (32500). What port Plex uses (32400 per default) doesn't matter here. I think everything is working here. PA is using Discord Webhooks which work fundamentally different then bots. You will for example never see a Webhook join your server, like a bot does. The message Plex send to your server will look like they were send by a bot called Plex (or however you configured your Webhook) but they were actually send using a web request to the Webhook URL you specified in your PA config. Hope this clarifies it 1 Quote Link to comment
CGRFC1872 Posted July 9, 2021 Share Posted July 9, 2021 does anyone else keep getting this error Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 314, in data_received messages, upgraded, tail = self._request_parser.feed_data(data) File "aiohttp/_http_parser.pyx", line 546, in aiohttp._http_parser.HttpParser.feed_data aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'invalid HTTP method'" Quote Link to comment
jonpetersathan Posted July 13, 2021 Author Share Posted July 13, 2021 @CGRFC1872Can you maybe share your full log file? Quote Link to comment
Wizaro Posted July 14, 2021 Share Posted July 14, 2021 Hi I was wondering if I could get some help. Whenever I play or resume anything or add anything new under movies or tv, all I get is a thumbnail in Discord no text at all. I have attached a pic of how it displays: I have monitored my log file after adding something new to plex and my log file never changes. Obviously it's connected and communicating but why am I only getting the thumbnail? I would appreciate any assistance. Thanks! Quote Link to comment
jonpetersathan Posted July 14, 2021 Author Share Posted July 14, 2021 10 hours ago, Wizaro said: Obviously it's connected and communicating but why am I only getting the thumbnail? I would appreciate any assistance. Thanks! Check your config again, you've probably inserted your Discord Webhook URL instead of the local PA URL (shown in the first line of your log) in your Plex settings. Quote Link to comment
Wizaro Posted July 14, 2021 Share Posted July 14, 2021 9 hours ago, JohnnyP said: Check your config again, you've probably inserted your Discord Webhook URL instead of the local PA URL (shown in the first line of your log) in your Plex settings. I got that entry from the URL of the XML file of one of my movies but apparently that token changes cause I opened a movie today the same way and that token had changed to this: I tried changing it to the token above and the behavior didn't change, still just shows the thumbnail in discord. Heres my current config: Quote Link to comment
jonpetersathan Posted July 15, 2021 Author Share Posted July 15, 2021 23 hours ago, Wizaro said: I got that entry from the URL of the XML file of one of my movies but apparently that token changes cause I opened a movie today the same way and that token had changed to this: I tried changing it to the token above and the behavior didn't change, still just shows the thumbnail in discord. Heres my current config: Ok, so the PLEX_WEBHOOK_TOKEN can literally be anything you want, just type some random value in here. This token is then used in the URL, where PlexAnnouncer is listening for incoming Webhooks from Plex. So in your case: http://localhost:32500/1fkD... You then need to put this URL in your Plex settings, where you added the Webhook. From the behavior of your issue I guess that you added the Discord Webhook URL instead here. That's how it looks in my config: Note: You may have to replace localhost with the IP address of PlexAnnouncer (like I did) if they aren't run on the same host. 1 Quote Link to comment
Wizaro Posted July 16, 2021 Share Posted July 16, 2021 56 minutes ago, JohnnyP said: Ok, so the PLEX_WEBHOOK_TOKEN can literally be anything you want, just type some random value in here. This token is then used in the URL, where PlexAnnouncer is listening for incoming Webhooks from Plex. So in your case: http://localhost:32500/1fkD... You then need to put this URL in your Plex settings, where you added the Webhook. From the behavior of your issue I guess that you added the Discord Webhook URL instead here. That's how it looks in my config: Note: You may have to replace localhost with the IP address of PlexAnnouncer (like I did) if they aren't run on the same host. You were 100% right! Thats exactly what I did, working now thanks so much!!! 1 Quote Link to comment
Hawkins12 Posted September 3, 2021 Share Posted September 3, 2021 (edited) Ok I am at a loss. I feel like I have everything set up correctly but not getting push notifications in Discord channels. Here's what I got: So I think I have my Plex settings right. Here's my docker settings: And of course the Discord Webhook URL matches the "copy webhook URL" from discord. Finally, checking the logs of PlexAnnouncer, it is running and I see: --- That's it. I added a couple shows to one of my libraries in Plex and nothing showed up in Discord. What did I do wrong? Edited September 3, 2021 by Hawkins12 Remove duplicate attachment Quote Link to comment
Hawkins12 Posted September 3, 2021 Share Posted September 3, 2021 I left it run all night, checked this morning and logs show: This seems to be an improvement from yesterday; however, I removed and re-added a video and still didn't show up in discord. Total loss at this Quote Link to comment
jamerperson Posted September 3, 2021 Share Posted September 3, 2021 It has to be something new. Removing and re-adding a movie will not trigger an event. Quote Link to comment
Hawkins12 Posted September 3, 2021 Share Posted September 3, 2021 1 minute ago, jamerperson said: It has to be something new. Removing and re-adding a movie will not trigger an event. Oh thanks, I'll try to find something new to add and report back. Thanks for this! Quote Link to comment
Hawkins12 Posted September 3, 2021 Share Posted September 3, 2021 (edited) 37 minutes ago, jamerperson said: It has to be something new. Removing and re-adding a movie will not trigger an event. I just added a new TV series to my TV Series folder. Nothing came through to discord. Is there generally a delay? I also added a new movie too. Still didn't report to discord Edited September 3, 2021 by Hawkins12 Quote Link to comment
jonpetersathan Posted September 3, 2021 Author Share Posted September 3, 2021 Hmm, looks alright at first glance. Stupid question, but are you able to communicate from the Plex container to the PlexAnnouncer container? Try running the following from inside you Plex container: curl -X POST 192.168.40.201:32500/PLEX_WEBHOOK_TOKEN Obviously replace PLEX_WEBHOOK_TOKEN with your token. You should see something like this in your PA logs: Quote Link to comment
Hawkins12 Posted September 4, 2021 Share Posted September 4, 2021 5 hours ago, JohnnyP said: Hmm, looks alright at first glance. Stupid question, but are you able to communicate from the Plex container to the PlexAnnouncer container? Try running the following from inside you Plex container: curl -X POST 192.168.40.201:32500/PLEX_WEBHOOK_TOKEN Obviously replace PLEX_WEBHOOK_TOKEN with your token. You should see something like this in your PA logs: Looks like something's amiss. Here is the results -- I ran twice for good measure. I did replace the IP with my internal IP for the plex container (and webhook) as well. Quote Link to comment
Hawkins12 Posted September 4, 2021 Share Posted September 4, 2021 (edited) 7 minutes ago, Hawkins12 said: Looks like something's amiss. Here is the results -- I ran twice for good measure. I did replace the IP with my internal IP for the plex container (and webhook) as well. Ok, disregard, I checked the logs of the PlexAnnouncer container and I did get the result you posted And in the process, I think I figured out the issue. In Plex Settings, I added: I think this needs to read :32500 and not :32400. I just need to test it. Edited September 4, 2021 by Hawkins12 Quote Link to comment
jonpetersathan Posted September 4, 2021 Author Share Posted September 4, 2021 7 hours ago, Hawkins12 said: I think this needs to read :32500 and not :32400. I just need to test it. Oh yes, didn't see... You are absolutely right, that's the issue! Quote Link to comment
Sidewinder5675 Posted January 7, 2022 Share Posted January 7, 2022 Hey there, I'm getting ```Invalid plex server url``` and I can't seem to get it to work. I navigate to my movies library and copy the URL https://app.plex.tv/desktop/#!/media/{SERVER-ID} - but then I have this at the end {SERVER_ID}/com.plexapp.plugins.library?source=1. Tried with it and without it and both don't work. Any advice? Quote Link to comment
Hawkins12 Posted March 11, 2022 Share Posted March 11, 2022 Was there a recent change to Discord/Plex/PA with respect to the service. My PA was working perfectly for months and on March 3rd, it stopped updating in discord. No changes to settings in PA, Discord, or Plex. I tried to re-config (start from scratch) and nothing is causing it to work again. Quote Link to comment
jonpetersathan Posted March 12, 2022 Author Share Posted March 12, 2022 Not really, maybe Discord did some changes to the Webhook API... But for me everything still works as expected. Is your Plex Pass still valid? Or did your license expire by any chance? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.