Mediaflow Proxy usage
Usage- Add mediaflow proxy to Stremio Aim - Ability to watch stremio without IP restrictionHello. Am trying to setup Mediaflow Proxy docker container locally on my proxmox machine. I can access the the deployed container on
<ip>:8888
without any problems, and can run the speedtest command as well.
Now using the docs page, if i execute the /proxy/ip command it gives me Error: Internal Server Error
.
Logs for this are attatched.
Further i ran a nginx reverse proxy to access the <ip>:8888
outside network so the network looks like site.something.xyz
and i can see mediaflow proxy interface outside my home network. But when i execute the /proxy/ip command it gives me same error again.
please help me out here, how to proceed.23 Replies
@mhdzumair would you please look into it please
Yeah the issue is, we're setting up the port 8888 as pia vpn proxy server inside the mediafusion container. Thats the reason its not working when you also setting up localhost with port 8888.
You can run the mediaflow with port
8889:8888
so this will run port 8889 and use that port in the config.
Ahh wait i just looked your logs. Its failed due to httpx unable to connect to the internet.
Httpx sometime failed on connecting. Are you seeing the same issue ?i'd answer that if i understood what you mean. am a regular bloke and who reached at your page googling stuff man
i don't know what httpx is
Ahh no worry about httpx. It was the python package we're using to do the network.
You're using mediafusion and mediaflow in selfhosted?
do i need to self host mediafusion as well? i didn't know that.
i thought i'd host mediaflow proxy on my server, use mediafusion instance hosted https://mediafusion.elfhosted.com/ and enter the ip of mediaflow proxy
do i need to host mediafusion as well?
ahh i just saw this is also there and there's a docker compos version in it as well
Yes you can use the public mediafusion with your self hosted mediaflow.
Ahh again i mean you can host the mediafusion or you can use elfhosted public mediafusion. But the issue that you're point is not because of mediafusion.
Could you explain about the docker network you setup? Are you setup warp or something?
i had warp enabled on desktop pc (not on my proxmox) but i disbaled it right now and it's giving same errors
by docker network do you mean if i deployed container as host or bridge inside docker? well i selected host
docker run -p 8888:8888 -e API_PASSWORD=your_password mhdzumair/mediaflow-proxy
instead of running this i deployed it using portainer this time. last night i deployed it directly without portainer and it showed same errorsgo inside the docker with exec. then run the python,
then try running below.
okay so it again failed to connect to network. try with https://www.google.com
Google
Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.
httpx.get("https://www.google.com?format=json").json()
this?okay a wall of text appeared
ahh okay so its only you're not able to connect to
https://api.ipify.org?format=json
server
then you can do following. mediafusion support setting public ip in the config. so setup your server public ip address directly. so it wont try to fetch the ip from thisi can run
https://api.ipify.org
on PC's browser and it shows me my ip address though
same networkyeah its seems like its blocking the proxy server. will need to change the url then. may be i can make it as env variable.
just setup your public ip address in the mediaflow.
i don't have a static ip at home though. i think it is swapped every 24 hours or so
will i have to keep adding my new IP in mediaflow configuration?
setup something like this. right?
yess
Got it. Thankyou
I will try to set everything up tomorrow.