Jump to content

Unable to Cast/play in browser FreeNAS


wolfie1_0

Recommended Posts

wolfie1_0

I just had to redo my FreeNAS server and finally got around to setting up the new iocage version of emby V.3.5.3.0 and am unable to play any of the media files that I have tried through a web browser, either at the local address or through the web portal, or through Chromecast/ my LG smart TV app.

 

Although the exact same files play just fine through the android app on my phone.

 

Though my unqualified eyes it looks like ffmpeg is crashing when it attempts to transcode

 

For context this is setup on FreeNAS 11.1 which is in a VM on a VMware ESXi 6.5 server Dell R720 with 2xE5-2620 if that's relevant

 

 

emby server log.txt

Link to comment
Share on other sites

wolfie1_0

What were your jail parameter?

An exact copy paste from the instructions, with the IP address changed to match my network

Link to comment
Share on other sites

makarai

An exact copy paste from the instructions, with the IP address changed to match my network

 

 

Ok. would you mind starting the jail in DHCp mode first with 

iocage fetch -P dhcp=on vnet=on bpf=yes allow_raw_sockets=1 -n emby-server-beta.json --branch 'master' 

and if that already works we can give the network config a try: 

iocage fetch -P --name emby-server-beta.json ip4_addr="vnet0|192.168.0.112/24" defaultrouter="192.168.0.1" vnet="on" allow_raw_sockets="1" boot="on" 
Edited by makarai
Link to comment
Share on other sites

wolfie1_0

Ok. would you mind starting the jail in DHCp mode first with 

 

iocage fetch -P dhcp=on vnet=on bpf=yes allow_raw_sockets=1 -n emby-server-beta.json --branch 'master' 

and if that already works we can give the network config a try: 

iocage fetch -P --name emby-server-beta.json ip4_addr="vnet0|192.168.0.112/24" defaultrouter="192.168.0.1" vnet="on" allow_raw_sockets="1" boot="on" 

Is that going to be recreating the jail from scratch? Also while I specified the IP address in the original install it still grabbed a dhcp address.

 

Also I don't seem to have any trouble reaching it

Link to comment
Share on other sites

makarai

If you don't properly setup your network, mulicast probably won't work. And the command you used is not proper. Also, would you mind sharing your network config/setup.

Link to comment
Share on other sites

wolfie1_0

If you don't properly setup your network, mulicast probably won't work. And the command you used is not proper. Also, would you mind sharing your network config/setup.

 

So is there any way I can change the network config without redoing the setup?

 

What do you need to know about my network config? 

Link to comment
Share on other sites

wolfie1_0

 

Ok. would you mind starting the jail in DHCp mode first with 

iocage fetch -P dhcp=on vnet=on bpf=yes allow_raw_sockets=1 -n emby-server-beta.json --branch 'master' 

and if that already works we can give the network config a try: 

iocage fetch -P --name emby-server-beta.json ip4_addr="vnet0|192.168.0.112/24" defaultrouter="192.168.0.1" vnet="on" allow_raw_sockets="1" boot="on" 

 

So I tried running the first command, and got an error stating: Error: no such option: --branch

 
and I am unable to run the command without --branch as it fails since I'm only running 11.1

 

So, since I don't know anything about your setup, it's quite difficult to pinpoint what the problem is. For me Chromecast and pretty much everything works on all the devices.

 

I have guesses, you started the jail in a way that the freenas to emby network is not properly working,e.g. I had problems when I direct attached emby to an interface and did not use vnet all multicast was broken, or since you run freenas virtualized, the esxi to freenas network is not working which I have no idea of but I think I read somewhere that network config can be tricky, or your switch/routerconfig stops certain traffic, I have a ubiquity switch where I had to turn on igmp traffic to get my live TV working.

 

And yes you can either change the existing setup via GUI, or you just install another jail, and play around with that one. Just add two movies and play around. In fact this is why I said you should just use the dhcp config first, because you can't really do anything wrong there

 

Writing from mobile, sorry for the spelling and runon sentences

 

As for my network as far as I know everything works since I can stream it to the emby app, I've got a pfsense router setup, and a really dumb switch, the ESXi network config is setup correctly with Promiscuous mode allowed

 

Is it possible I'm having a problem similar to this? I read through the post but don't have enough skills in the command line to actually do what's suggested

 

https://emby.media/community/index.php?/topic/60971-new-freenas-package-for-testing/page-7&do=findComment&comment=615883

Link to comment
Share on other sites

makarai

"I'm only running 11.1"

 

In order for the most recent beta to work you need to update your freenas to at least 11.2-RC2.

 

However, within the next 2 days  freenas 11.2 stable will be released, finally. 

If you want to play around a little, what you can try is changing the emby-server-beta.json file. you can open the json file and change the freebsd release to 11.1 (currently set to 11.2) Then you should print an ifconfig for me and i can set up your iocage start command.

 

Link to comment
Share on other sites

  • 1 month later...
Rudolf De Kock

I have the same issue and can not find any answer how to get this working. In the Android app it work 100% but running on Windows via any of the web browsers it start the play but then just hang there for ever doing nothing.

 

I installed Emby via the emby links on my FreeNas server.

 

I am still running the older version also and there it is still working with no issues. Do not understand what change in the new version that cause this issue.

 

Regards

Kokkie

Link to comment
Share on other sites

makarai

I have the same issue and can not find any answer how to get this working. In the Android app it work 100% but running on Windows via any of the web browsers it start the play but then just hang there for ever doing nothing.

 

I installed Emby via the emby links on my FreeNas server.

 

I am still running the older version also and there it is still working with no issues. Do not understand what change in the new version that cause this issue.

 

Regards

Kokkie

 

 

Please try this. Delete your jail!

 

follow the 3 steps:

 

open a shell in freenas

cd /tmp
wget https://raw.githubusercontent.com/ma-karai/iocage-plugin-emby/beta/emby-server-beta.json
iocage fetch -P dhcp=on vnet=on bpf=yes allow_raw_sockets=1 -n emby-server-beta.json --branch 'beta'  
Edited by makarai
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...