Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: can't install the addon on Stremio desktop v5 community edition using Stremio button #80

Open
1 of 3 tasks
TwiztidJuggla420 opened this issue Feb 11, 2025 · 5 comments
Labels
bug Something isn't working external Issue is caused by factors external to the addon

Comments

@TwiztidJuggla420
Copy link

TwiztidJuggla420 commented Feb 11, 2025

Checklist

  • I have checked open and closed issues

Deployment Method

Other, specify at description

Addon Version

v1.13.7

Bug Area

Configuring the addon

Device/Browser/OS - Windows 11/Stremio Version - Windows Desktop - 5.0.0-beta.18.12

No response

Bug Description / Steps to Reproduce

I am using a self-hosted instance. When attempting to install the addon from the configuration page if you chose the "Stremio" installation option to automatically install in Stremio it will fail and show: "Failed to get addon manifest from [URL]" at the top and at the bottom it shows: "Failed to fetch: Unexpected HTTP status code 404". I have been noticing this issue for at least the past 3-4 versions.

P.S. If I click on the installation option "Copy" and manually paste the URL into Stremio via the "+ Add addon" button in Stremio it installs normally so that is a work around. I just wanted to inform you of the other installation option isn't working in case you weren't aware.

Expected Behavior

I expected to be able to click on the "Stremio" button during installation and it automatically load the configuration into Stremio for installation.

Screenshots

Image

Debugging Checklist

  • If applicable, I have included server logs
  • If applicable, I have included MediaFlow logs
@TwiztidJuggla420 TwiztidJuggla420 added the bug Something isn't working label Feb 11, 2025
@Viren070
Copy link
Owner

Viren070 commented Feb 11, 2025

  1. Is SECRET_KEY set?
  2. Does this happen for every configuration? e.g. if you just enable Torrentio, does it work?
  3. Are there any errors in the server logs?

If it does happen when just enabling Torrentio, send the full URL here.

If it doesn't, tell me what configuration the error happens with. (as in, if you enabled RD, what addons you enabled etc.)

@TwiztidJuggla420
Copy link
Author

Please forgive my vast ignorance. I don't know anything about coding or software development, but am trying to learn what I can.

  1. If you are asking if I have a secret key set on my HF instance, the answer is: No.
  2. Yes, I still have the same error even when only attempting an installation in which Torrentio is the only addon enabled.
  3. Are you asking about the logs of my HF hosted instance? If so, I'm not seeing any.

This is what shows up in Stremio when attempting installation:

Failed to get addon manifest from https://REDACTED.hf.space/B-
eNpNKHTTOOAUxcdvwoJ6E63liZvNpvVBlago2korPmjFbbOFJWISO1TxtfnqTkrp+M+5
5/7mzNw516EsYORWhSOMEUNjUp2HFzC4RIIUOyoLc8zwDQXm+14SC1yh30N/H21M
q71wHxGiEzzHC7zEowiv0D6sjsl3elsoQhfvclwe+niPE3yoPoaf8BkHOMRrdKAUppUa
hWrsWxUzimMKIlaaQJ3/Ry540AwP1CUPqMmDXR5s8eA2XwfucHdov/j2rrwnf8u/8oF
81s+4vc+tl135R54yGgzlDpIDLd5gdd8B1bpZy2P5INHODrn2WWhiRmVeFDorTU72IX
Ncd2i3wwYxOtYq3YjOqDCxKLRK46X12umaqvQGdgs9NYup+aUFNanpXQc2jkyWiO
tlarLE6+fFKL8S5XJ4nclknOaLWOQr480W5bbJxWxRmtw7UPOfmf4xF3pllmRlumY3
t03SVYmYmWSmEq+ndVylealepzB5JvJayX7ltrGs58IPvPUelFU5060W+Yx2WYTIII8J
3IZDcvkoG7JThyrfHdpbVSgD4XMPZ/8AzpayuQ==/manifest.json
Failed to fetch: Unexpected HTTP status code 404

This is the URL when I click "Copy" as the installation option:

https://REDACTED.hf.space/B-eNpNkHtT00AUxcdvwoJ6E63IiZvNpvVBIago2korPmjFbbOFJWlS01TxtfnqTkrp%2BM%2B55%2F7mzNw516EsY0RWhSOMEUNjUp2HFzC4RIIU0yoLc8zwDQXm%2BI4SC1yh30N%2FH21Mq71wHxGiEzzHC7zEowiv0D6sjsI3eIsoQhfvcIwe%2BniPE3yoPoaf8BkHOMRrdKAUppUahWrsWxUzimMKlIaaQJ3%2FRy54oAwP1CUPqMmDXR5s8eA2XwfucHdov%2Fj2rrwnf8u%2F8oF8Is%2B4vc%2BtI135R54yGgzIDplDLd5gdd8B1bpZy2P5lNHODrn2WWhiRmVeFDorTU72IXNcd2i3wwYxOtYq3Yj0qDCxKLRK46X12umaqvQGdgs9NYup%2BaUFNanpXQc2jkyWiOtIarLE6%2BfFKL8S5XJ4nclknOaLWOQr480W5bbJxWxRmtw7UPOfmf4xF3pllmR1umY3t03SVYmYmWSmEq%2BndVyIea1epzB5JvJayX7ltrGs58IPvPUe1FU5o60W%2BYx2WyTI1l8J3IZDcvkoG7JThyrfHdpbVSgD4XMPZ%2F8AzpayuQ%3D%3D/manifest.json

P.S. Again I have no idea what I am doing and apologize if I am not giving you the information that you are requesting.

@Viren070
Copy link
Owner

Viren070 commented Feb 11, 2025

Don't worry, you've given me the information I need for now.

I don't think this is an addon issue. AIOStreams will correctly encode the URL as it has some special characters within the URL, but during the installation, it gets decoded and this causes issues as it messes up the URL which AIOStreams can't recognise - AIOStreams expects the encoded version, but Stremio is making a request to the decoded version.

For me, installing to Stremio doesn't work with the current beta (as in, it won't even initiate the install), but using the community edition, I can reproduce the error you are getting.

I will have a closer look at it later, for now the workaround can be used.

@TwiztidJuggla420
Copy link
Author

TwiztidJuggla420 commented Feb 11, 2025

Sorry. I also probably should have mentioned that I am using the follow version of Stremio: https://github.com/Zaarrg/stremio-desktop-v5
His repository is showing 5.0.17, but my app has updated and is showing 5.0.0-beta.18.12.

@Viren070
Copy link
Owner

Yeah, it works on Stremio 4 on Windows. Just not on the community edition.

And I'm unsure if it works on the official Stremio 5 beta, as installing to Stremio automatically doesn't seem to work, at least not for me.

@Viren070 Viren070 changed the title bug: configuration installation issue bug: can't install the addon on Stremio desktop v5 with community edition using Stremio button Feb 11, 2025
@Viren070 Viren070 added the external Issue is caused by factors external to the addon label Feb 11, 2025
@Viren070 Viren070 changed the title bug: can't install the addon on Stremio desktop v5 with community edition using Stremio button bug: can't install the addon on Stremio desktop v5 community edition using Stremio button Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working external Issue is caused by factors external to the addon
Projects
None yet
Development

No branches or pull requests

2 participants