Closed HVR88 closed 2 months ago
In web ui settings edit 127.0.0.1:11470 to your server ip:11470 next authenticate with your current account you already using in desktop application.
Will load all your installed addons on desktop application
Thanks, I'll give it a try. I did forget that add-ons were tied to login ID so that you can set up in one place and use on another.
Couldn't log in until I used reverse proxy to set a TLS cert onto the page.
The problem with this is that Streaming Server setting always says ERROR, whether it's localhost (127....) or the actual IP of the bridge, or the FQDN. If I load the IP in the browser, then it says connected, but can't log in like that.
OK.... Hope you didn't read the post that I just got rid of because I just got this to work.
I set the docker back to regular bridge instead of custom bridge and skipped the reverse proxy so I can access it with http. This time it successfully logged in and changing the streaming server IP to the server's real IP brought it online.
And once online I see that streaming to the browser in fact works - so the benefit over using a client-side app is obvious here.
Hello,
seems you got things working?
The other user said it above, but just as a "tip" for future users
you can get this up and running for the server portion
reverse proxy that connection
and easily add it to the settings in
(The official publicly hosted stremio web app)
Useful for iOS devices (no Apple app... probably ever)
setup the http server in a container, setup a stremio account on desktop,
then on mobile add https://web.stremio.com/ to your Home Screen
go into the shortcut. Login. Add your ip:port (or reverse proxy url) to the settings, set it to launch in vlc or outplayer, then there you go. It works pretty well. I think it misses out scrobbling because of the app swap from safari to outplayer/vlc, but, 🤷‍♂️ Apple did this not stremio devs.
that's just the "shortcut" path btw. There's no reason you can't also host your own working web app and server if you wish. Just be careful if you reverse proxy the 11470 server and don't lock it down it I assume anyone can use it. I use a local domain (*.local.example.com) and vpn to my router and it works fine that way. Could also vpn to unraid if you have that setup. I'm not sure how the app performs in conjunction with an authentication setup like using authentik or authelia. But that would work too if it actually allows you to authenticate. Or just the ip:port if you don't care about doing so
Thanks for the tips.
Right now my problem is I'm unable to get the server status "online" in the self-hosted webUI when I go through reverse proxy and force HTTPS (with CA cert). Says Error every time. I'm using Nginx Proxy Manager, which has been working very well with everything else.
I also can't get the server to connect if I put its IP into web.stremio.com (or any variation of the non-hosted web site), even though it works fine via IP on the local web server. Because this is mainly intended for others in the house to use, I'd really like to get it working with FQDN and https like my other services.
Once I get that going then I'll test from outside - I'm running Tailscale right now which has worked well with all my other hosted apps and server WebUIs.
the blurred portions are my reverse proxy https://subdomain.domain.tld
I was able to get all of these working except for proxied web server + ip:port. the other setups all work.
Thanks again for looking at this.
I've added STREAM Proxies in NPM which send specified ports to your choice of IP:port. I've created entries for 11470 and 12470 (read about that port being used for secure server connection)
http IP webUI with http IP:11470 server works.
http IP or FQDN webUI with http FQDN:11470 server works
https server on port 11470 or 12470 always error, whether I connect to the webUI on IP or FQDN https
And of course it obviously also fails trying http server when using https on the webUI.
I don't see anything relevant coming up in the log that can be viewed in the docker (Unraid's docker menu)
apologies for the delay and half reply above. Life distractions around me.
these are my unraid template and NPM settings.
note that I proxy the http server ip:port
And a separate subdomain for the webpage (I changed the port from 8080 on the host purely as a test earlier today. Shouldn't matter.)
the rest of my settings are basically default.
so for you, I would try:
Reverse proxy both the webpage (the ip:8080 one) maybe name it like stremio.domain.tld (or whatever). Make another entry for the stremio server (ip:11470). Maybe name it stremio-server.domain.tld.
I would personally just continue to use http. This docker image/project supports https, but, you're reverse proxying it anyway. So, just keep it simple with the http port. It absolutely does work. You can see mine works. That's my opinion anyway.
I think your main issue at this moment was not having two subdomains. One for the web app side, one for the server side.
if I'm wrong about that, if you did already have two subdomains like my setup, then maybe try swapping that 8080 to... something else. But I' pretty sure you just need to reverse proxy the two IPs.
let me know!
Beautiful, it worked with two subdomains. Thanks!
I had come to the conclusion that it was likely the proxy causing the issue because it already specifies a specific port for the webUI that likely causes a problem for the server port. As it was getting late, I thought I'd ask tomorrow if you actually had the server settings using the same subdomain or if you had split them.
Now I can likely get the kids to use this without coming back to me with "it says the page isn't secure...." hahaha.
Very good! Glad I could help. I’m going to close this issue as it seems solved. I’ll also add this information (eventually…) to my little “readme” for this template. Should help people in the future. Have a good one.
Here's a summary:
The server should show up as ONLINE and video will play back within the browser - tested on Firefox and Safari in MacOS and Safari in iOS.
I wrote this for tsaridas on the original docker git, so thought I'd include it here for reference. Feel free to pull anything from it later when you expand your docs.
If you have set up a VPN like Tailscale, the above will also automatically work when you access your network remotely
I'm not sure what the point is of hosting Stremio in docker with no addons. Stremio without add-ons is a web player that can't play anything.
How do you get addons into the docker? Debrid search, Torrentio, etc..