DEFENDORe / pseudotv

Create live TV channels from your own media. Access the streams using the simulated HDHomerun tuner or the generated M3U URl.
MIT License
234 stars 36 forks source link

(node:18) UnhandledPromiseRejectionWarning: Plex 'Get' request failed #34

Open Liquidbings opened 4 years ago

Liquidbings commented 4 years ago

Successfully connected to : ./.pseudotv HTTP server running on port: http://*:8000 XMLTV Updated at 5/21/2020, 2:15:13 PM (node:18) UnhandledPromiseRejectionWarning: Plex 'Get' request failed. URL: http://192.168.1.16:32400/livetv/dvrs

(node:18) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

(node:18) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

powdermilkman commented 4 years ago

Thanks for the report, not sure why plex is failing to give up the goods but good to know we need to handle that failing.

Wolfie713 commented 4 years ago

What version of Plex (and PseudoTV) are you using? Also, could be a security setting within Plex that is causing the issue.

Liquidbings commented 4 years ago

Currently Plex Server 1.19.3.2831 Pseudo Tv v0.0.52

korumera commented 4 years ago

This is the sameone as posted by yourstruly under #14

edit: Updated the first thread, with some more information about this issue and what solved it for me.