-
Notifications
You must be signed in to change notification settings - Fork 24
Failed to fetch #10
Comments
Same |
More details are needed:
|
@Nicohidalgo it says streaming server not available. Check if the streaming server url is correct and disable any firewall or AV. A quick smoke test id to ping the host. |
I have the same issue, Stremio can't connect to the server. When I enter <serverIP>:11470 in the browser it takes me straight to Stremio with the correct settings. However, the server "is not available". version: "2.1"
services:
stremio-server:
image: sleeyax/stremio-streaming-server
container_name: stremio-streaming-server
environment:
- TZ=Europe/Berlin
volumes:
- redacted
ports:
- 11470:11470
restart: unless-stopped I have about 15 other dockers that work fine from this same server. So it's not a network issue. Not the environment at least. |
Edit: Sorry, I was still using a testing container with another IP.
Old comment:
|
Hmm it could be that the browser blocks requests to LAN ips from a HTTPS site like app.stremio.com, see https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content#loading_locally_delivered_mixed-resources. The same likely goes for chrome. I think you'll need to use localhost/127.0.0.1 or setup a local tunnel to access it to avoid browser issues. |
You're right! This was the issue. I got sidetracked with CORS thinking that it might somehow be a problem despite the hotfix in #5. Since I wanted to use this across networks, localhost isn't a solution. Localtunnel would probably work fine. Another way, which is what I've done, is to make a simple reverse proxy (one that sends all headers intact). I would recommend traefik (the docker way) or caddy for this. Caddy only needs a few lines to make this work. One thing I'd hotpatch in the dockerfile in regards to server.js though is the line (or the block containing) Now everything is working fine. Finally Stremio on an Apple device, anywhere around the world :) |
I've tried localtunnel and ngrok but these don't work for me the 'streaming server URL' changes to the url that gives me localtunnel or ngrok so it says that streaming server is not available, only works when I use a localhost ip but I wanted to use my pc as a server to my private LAN and I can't change the 'streaming server URL' manually Edit: Ok, nevermind, I didn't see in the comment of kvn1351 that I had to change in the address bar HTTP to HTTPS and now works but I have to do it every time I refresh the page |
I've patched the script as I proposed above. It can be activated by a docker ENV variable. I'll make a pull request tomorrow. |
I am trying to get this to work but the streaming server is still unavailable. Tried the FORCE_HTTPS patch as well but the problem still persists. Even tried using ngrok but nothing. My streaming server is running on a public IP so I really don't know what the issue is here. I also want to add that it is definitely not a firewall issue either as there is none during my testing. Any help would be appreciated. |
Im getting "Failed to fetch" error when i try so start a movie with torrentio plugin, what can be?
The text was updated successfully, but these errors were encountered: