g0ldyy / comet

Stremio's fastest torrent/debrid search add-on.
MIT License
260 stars 49 forks source link

SelfHost Stremio Error #73

Closed drizzt09 closed 4 months ago

drizzt09 commented 4 months ago

I ran the elfhosted version first and setup and installed, I can see the comet sources. I then installed as selfhost docker and able to run the URL and get to the config screen. I setup the same as I did for the elfhosted version. I uninstalled elfhosted addon. Then I clicked install button on mine which launched to Stremio but get error: ERR_OPENING_MEDIA Failed to fetch

g0ldyy commented 4 months ago

need more info, any error in console?

g0ldyy commented 4 months ago

this problem does not come from Comet, I saw several posts on Reddit today with the same problem on other addons.

drizzt09 commented 4 months ago

ok so logs were useless. but i started searching stremio addons on reddit like you mentioned and found one: https://www.reddit.com/r/StremioAddons/comments/1alcwhk/error_installing_addons/

pointed me to DNS. I use Adblock DNS in my router. So I I turned off wifi on my phone and used mobile network and i was able to attach the application. Weird that elfhost version worked but my own hosted version didnt, same PC and same DNS.

That being said, the addon is added and running. but when a search is done it does not give results. Checking logs shows: 2024-07-22 21:28:35 2024-07-22 17:28:35 | 📰 INFO | stream.stream - No cache found for IF with user configuration 2024-07-22 21:28:36 2024-07-22 17:28:36 | 📰 INFO | stream.stream - Start of prowlarr search for IF with indexers ['bitsearch', 'yts', 'therarbg', 'eztv'] 2024-07-22 21:28:41 2024-07-22 17:28:41 | ⚠️ WARNING | general.get_indexer_manager - Exception while getting prowlarr results for IF with ['bitsearch', 'yts', 'therarbg', 'eztv']: Cannot connect to host prowlarr:9696 ssl:default [Try again] 2024-07-22 21:28:41 2024-07-22 17:28:41 | 📰 INFO | stream.stream - 0 torrents found for IF with prowlarr

I have prowlarr but looks like i need to fiddle with the URL, i am using the internal http docker URL so probably need to tweak that. but i was thinking that i would rather user torrentio anyways maybe. but it says false, but i dont see a config for that. where do I change that? 2024-07-22 21:02:56 2024-07-22 17:02:56 | 🌠 COMET | main.start_log - Server started on http://0.0.0.0:8000 - 1 workers 2024-07-22 21:02:56 2024-07-22 17:02:56 | 🌠 COMET | main.start_log - Database: data/comet.db - TTL: 86400s 2024-07-22 21:02:56 2024-07-22 17:02:56 | 🌠 COMET | main.start_log - Debrid Proxy: http://127.0.0.1:1080 2024-07-22 21:02:56 2024-07-22 17:02:56 | 🌠 COMET | main.start_log - Indexer Manager: prowlarr|http://Prowlarr:9696 - Timeout: 30s 2024-07-22 21:02:56 2024-07-22 17:02:56 | 🌠 COMET | main.start_log - Indexers: bitsearch, yts, therarbg, eztv 2024-07-22 21:02:56 2024-07-22 17:02:56 | 🌠 COMET | main.start_log - Get Torrent Timeout: 5s 2024-07-22 21:02:56 2024-07-22 17:02:56 | 🌠 COMET | main.start_log - Zilean: Disabled 2024-07-22 21:02:56 2024-07-22 17:02:56 | 🌠 COMET | main.start_log - Torrentio Scraper: False 2024-07-22 21:02:56 2024-07-22 17:02:56 | 🌠 COMET | main.start_log - Debrid Stream Proxy: False 2024-07-22 21:02:56 2024-07-22 17:02:56 | 🌠 COMET | main.start_log - Custom Header HTML: False

drizzt09 commented 4 months ago

i changed prowlarr URL to my https version in the docker compose: "INDEXER_MANAGER_URL=https://prowlarr.mydomain.org",

I also added the line: "SCRAPE_TORRENTIO=True",

now when i search i get errors for both of them: 2024-07-22 17:43:37 |[38;2;252;95;57m[38;2;252;95;57mINFO | stream.stream -[38;2;252;95;57mNo cache found for The Bear S03E08 with user configuration 2024-07-22 17:43:38 |[38;2;252;95;57m[38;2;252;95;57mINFO | stream.stream -[38;2;252;95;57mStart of prowlarr search for The Bear S03E08 with indexers ['bitsearch', 'yts', 'therarbg', 'eztv'] 2024-07-22 17:43:38 |[38;2;220;95;0m[38;2;220;95;0mWARNING | general.get_torrentio -[38;2;220;95;0mException while getting torrents for The Bear S03E08 with Torrentio, your IP is most likely blacklisted (you should try proxying Comet): Failed to perform, curl: (7) Failed to connect to 127.0.0.1 port 1080 after 0 ms: Couldn't connect to server. See https://curl.se/libcurl/c/libcurl-errors.html first for more details. 2024-07-22 17:43:38 |[38;2;220;95;0m[38;2;220;95;0mWARNING | general.get_indexer_manager -[38;2;220;95;0mException while getting prowlarr results for The Bear S03E08 with ['bitsearch', 'yts', 'therarbg', 'eztv']: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://prowlarr.mydomain.org/cosmos-ui/login?notlogged=1&redirect=/api/v1/indexer') 2024-07-22 17:43:38 |[38;2;220;95;0m[38;2;220;95;0mWARNING | general.get_indexer_manager -[38;2;220;95;0mException while getting prowlarr results for The Bear with ['bitsearch', 'yts', 'therarbg', 'eztv']: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://prowlarr.mydomain.org/cosmos-ui/login?notlogged=1&redirect=/api/v1/indexer') 2024-07-22 17:43:38 |[38;2;252;95;57m[38;2;252;95;57mINFO | stream.stream -[38;2;252;95;57m0 torrents found for The Bear S03E08 with prowlarr and Torrentio