chvb

[Support] DVBLink, Kerio Connect, Apache-php, TVHProxy, Webgrabplus

Recommended Posts

4 hours ago, alturismo said:

i assume some sort of security,

You assume correctly. Any containers assigned different IP's from the host will be firewalled from the host. If you want a container to be able to access other containers using non-host IP addresses, you must assign ALL of them unique IP's (as you found out)

Share this post


Link to post
Share on other sites
13 hours ago, alturismo said:

 

yes, i guess u have a common setup as i do, plex, tvh and proxy all on unraid, if u assign a ip to tvhproxy it cant be accessed by the other dockers, i assume some sort of security,

u need all dockers assign an ip ... tvh, plex and tvhproxy, then it works.

 

the webgui of the proxy (192.x.x.x:5004) will always end up in 404, doesnt matter.

 

Thank you alturismo, I had given up with it but it's good to know there is a solution. 

Share this post


Link to post
Share on other sites
9 hours ago, jonathanm said:

You assume correctly. Any containers assigned different IP's from the host will be firewalled from the host. If you want a container to be able to access other containers using non-host IP addresses, you must assign ALL of them unique IP's (as you found out)

 

Is there any reason for this? I would try and get this working but I'm not sure I can mess with my configuration that much, most of the dockers I have interact with another in one way or another and giving them all separate static ip addresses and changing all my firewall and port forwarding rules to match may be to much of a hassle. 

Share this post


Link to post
Share on other sites
21 minutes ago, unJim said:

Is there any reason for this?

Security. Either isolate all containers, or just allow them all to play in the same pen.

Share this post


Link to post
Share on other sites
3 hours ago, jonathanm said:

Security. Either isolate all containers, or just allow them all to play in the same pen.

 

Thanks, I was hoping you might elaborate a bit on how keeping them separated helps with security but that's probably a discussion for another thread. 

Share this post


Link to post
Share on other sites

there was somewhere also a way to reverse proxy ... cant find the manual actually anymore,

dunno if thats possible  with this docker in any way cause i think u have to add this in the config.

 

For those running a apache or similar reverse proxy anyway already ...

 

that way u may could also bypass the port 80 conflict.

Share this post


Link to post
Share on other sites

Can someone give me a quick step by step how to configure?  I must be missing something simple but the tvhproxy won't start, I get 

socket.error: [Errno 97] Address family not supported by protocol

Share this post


Link to post
Share on other sites
On 1.9.2017 at 0:32 AM, pepper said:

Can someone give me a quick step by step how to configure?  I must be missing something simple but the tvhproxy won't start, I get 

socket.error: [Errno 97] Address family not supported by protocol

 

as there aint much to config, may post your config ...

 

here is a sample working config while all dockers would need a br0 setup with own ip´s in the same range ... in my case 192.168.1.x

 

image.thumb.png.f6a7643f637757dc8a3685adedb5cd36.png

 

i actually use a different setup now with ubuntu VM and this docker here cause i dont like to assign sep. ip´s for each dockers, still looking how to bypass this maybe with an reverse proxy, nvm.

Edited by alturismo
typo

Share this post


Link to post
Share on other sites

I've got Plex & TVHeadend installed (the latter needs reconfiguring after I cleared it out to start again, but it does work), and I'm looking to get TVHProxy up and running.  Giving all different IPs isn't ideal, but it's not the end of the world.

 

Do I have to add the two Container Ports manually, and I may be being stupid, but I don't have the option of a br0 network type.  Any idea?

Share this post


Link to post
Share on other sites

Hi,

 

Can anyone see anything wrong with this setup please as I cannot get tvhproxy to start?

 

Traceback (most recent call last):
File "/opt/tvhproxy/tvhProxy.py", line 81, in <module>
http.serve_forever()
File "/usr/lib/python2.7/site-packages/gevent/baseserver.py", line 360, in serve_forever
self.start()
File "/usr/lib/python2.7/site-packages/gevent/baseserver.py", line 304, in start
self.init_socket()
File "/usr/lib/python2.7/site-packages/gevent/pywsgi.py", line 1451, in init_socket
StreamServer.init_socket(self)
File "/usr/lib/python2.7/site-packages/gevent/server.py", line 127, in init_socket
self.socket = self.get_listener(self.address, self.backlog, self.family)
File "/usr/lib/python2.7/site-packages/gevent/server.py", line 138, in get_listener
return _tcp_listener(address, backlog=backlog, reuse_addr=cls.reuse_addr, family=family)
File "/usr/lib/python2.7/site-packages/gevent/server.py", line 224, in _tcp_listener
sock = socket(family=family)
File "/usr/lib/python2.7/site-packages/gevent/_socket2.py", line 107, in __init__
self._sock = _realsocket(family, type, proto)
socket.error: [Errno 97] Address family not supported by protocol

 

 

 

tvhproxy.JPG

Share this post


Link to post
Share on other sites

Now I've got TVH running as I want it, I'm moving on to TVHProxy.

 

Are you guys running the 6.4 version of Unraid to enable dockers on different IPs?

Share this post


Link to post
Share on other sites
Now I've got TVH running as I want it, I'm moving on to TVHProxy.
 
Are you guys running the 6.4 version of Unraid to enable dockers on different IPs?
Exactly, remember, all dockers on sep ip's ...

Gesendet von meinem SM-G950F mit Tapatalk

  • Upvote 1

Share this post


Link to post
Share on other sites

I've setup TVHproxy and all seems correct as it picks up my tuner, epg etc.  But when I try to watch a live show I get 'Playback Error Unable to tune channel'  I tried doing a recording as well, but when I go to Recording Schedule to check it says ' Transcoder error' net to the recording.

 

Do I need to setup a particular profile or change any settings in TVH other than creating a user for Plex to use like I have?

 

Thanks

Share this post


Link to post
Share on other sites

Update: sorted.  my new plex profile wasn't using pass as the streaming profile.

 

@chvb help please!  tvhproxy looks like it's connecting to TVH ok as it's picking up my channels, so I think the proxy-plex bit isn't working for me.  I've taken screenshots so hopefully you can tell me what I'm doing wrong.

 

imageproxy.php?img=&key=00b562fcac28e727

 

 

 

 

FireShot Capture 43 - Highlander_UpdateContainer_ - http___172.30.12.2_Docker_UpdateContainer.png

FireShot Capture 44 - Plex - http___172.30.12.90_.png

FireShot Capture 45 - Plex - http___172.30.12.90_.png

FireShot Capture 46 - Plex - http___172.30.12.90_.png

FireShot Capture 47 - Plex - http___172.30.12.90_.png

FireShot Capture 49 - Plex - http___172.30.12.90_.png

Edited by DZMM

Share this post


Link to post
Share on other sites

may restart the plex docker, i also have to do this when i change something on DVR ... im using proxy on ubuntu, but overall the same ...

cause i dont want to add sep ip´s for all my dockers.

Share this post


Link to post
Share on other sites

hi, after got my settings running for my episodes infos with webgrab+ i have some issues with auto updating,.

 

from the log ... between the hourly cron ...

 

may an idea what is wrong ? webgrab exe ... localtime ?

 

Nov 4 00:17:01 729ca78b8daa CRON[86]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Nov 4 01:17:01 729ca78b8daa CRON[89]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Nov 4 02:02:01 729ca78b8daa CRON[92]: (nobody) CMD (mono /webgrab/bin/WebGrab+Plus.exe "/config" 2>&1 | /usr/bin/logger -t WebGrab++)
Nov 4 02:02:01 729ca78b8daa WebGrab++:
Nov 4 02:02:01 729ca78b8daa WebGrab++: Unhandled Exception:
Nov 4 02:02:01 729ca78b8daa WebGrab++: System.TypeInitializationException: The type initializer for 'WGconsole.Program' threw an exception. ---> System.IO.FileNotFoundException: Could not find file "/etc/localtime"
Nov 4 02:02:01 729ca78b8daa WebGrab++: File name: '/etc/localtime'
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x14cdc1f5d2c0 + 0x005ed> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) <0x14cdc1f5cf30 + 0x0004b> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.File.OpenRead (System.String path) <0x14cdc1f5aa50 + 0x00034> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.FindSystemTimeZoneByFileName (System.String id, System.String filepath) <0x14cdc1ebbfe0 + 0x00032> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.CreateLocal () <0x14cdc1eba850 + 0x00176> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.get_Local () <0x14cdc1eba7c0 + 0x00025> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (DateTime time, System.Boolean& isAmbiguousLocalDst) <0x14cdc1ebbce0 + 0x00017> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.DateTime.get_Now () <0x14cdc1d64260 + 0x00046> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at WGconsole.Program..cctor () <0x40ae4d50 + 0x00096> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: --- End of inner exception stack trace ---
Nov 4 02:02:01 729ca78b8daa WebGrab++: [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'WGconsole.Program' threw an exception. ---> System.IO.FileNotFoundException: Could not find file "/etc/localtime"
Nov 4 02:02:01 729ca78b8daa WebGrab++: File name: '/etc/localtime'
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x14cdc1f5d2c0 + 0x005ed> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) <0x14cdc1f5cf30 + 0x0004b> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.File.OpenRead (System.String path) <0x14cdc1f5aa50 + 0x00034> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.FindSystemTimeZoneByFileName (System.String id, System.String filepath) <0x14cdc1ebbfe0 + 0x00032> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.CreateLocal () <0x14cdc1eba850 + 0x00176> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.get_Local () <0x14cdc1eba7c0 + 0x00025> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (DateTime time, System.Boolean& isAmbiguousLocalDst) <0x14cdc1ebbce0 + 0x00017> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.DateTime.get_Now () <0x14cdc1d64260 + 0x00046> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at WGconsole.Program..cctor () <0x40ae4d50 + 0x00096> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: --- End of inner exception stack trace ---
Nov 4 02:17:01 729ca78b8daa CRON[98]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Nov 4 03:17:01 729ca78b8daa CRON[101]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Nov 4 04:17:01 729ca78b8daa CRON[104]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)

Share this post


Link to post
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

Copyright © 2005-2017 Lime Technology, Inc. unRAID® is a registered trademark of Lime Technology, Inc.