Pasted from http://www.tivocommunity.com/tivo-vb/showthread.php?p=10438136#post10438136
I was wondering if you had some suggestion on how I can figure out this error message I see after spawning the tivohmo Server (I haven't modified any of the settings in /etc/tivohmo.yml}:
[2015-03-15 19:05:38] INFO TivoHMO::Server Request from 192.168.1.36 Command=QueryContainer&Container=%2F&DoGenres=1"
[2015-03-15 19:05:38] DEBUG TivoHMO::Server Headers: {"Content-Type"=>nil}
[2015-03-15 19:05:38] INFO TivoHMO::Server Request from 192.168.1.37 Command=QueryContainer&Container=%2F&DoGenres=1"
[2015-03-15 19:05:38] DEBUG TivoHMO::Server Headers: {"Content-Type"=>nil}
OpenURI::HTTPError - 401 Unauthorized:
/usr/local/lib/ruby/2.0.0/open-uri.rb:353:in open_http' /usr/local/lib/ruby/2.0.0/open-uri.rb:709:inbuffer_open'
/usr/local/lib/ruby/2.0.0/open-uri.rb:210:in block in open_loop' /usr/local/lib/ruby/2.0.0/open-uri.rb:208:incatch'
/usr/local/lib/ruby/2.0.0/open-uri.rb:208:in open_loop' /usr/local/lib/ruby/2.0.0/open-uri.rb:149:inopen_uri'
/usr/local/lib/ruby/2.0.0/open-uri.rb:689:in open' /usr/local/lib/ruby/2.0.0/open-uri.rb:34:inopen'
/usr/local/lib/ruby/gems/2.0.0/gems/plex-ruby-1.5.2/lib/plex-ruby.rb:28:in open' /usr/local/lib/ruby/gems/2.0.0/gems/plex-ruby-1.5.2/lib/plex-ruby/library.rb:76:inbase_doc'
/usr/local/lib/ruby/gems/2.0.0/gems/plex-ruby-1.5.2/lib/plex-ruby/library.rb:68:in `xml_doc'
...
/usr/local/lib/ruby/gems/2.0.0/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'[2015-03-15 19:05:38] INFO TivoHMO::Server Request from 192.168.1.163 "GET ...?Command=QueryContainer&Container=%2F&DoGenres=1"
.163 is the TiVo Roamio, 242 is my Plex Server that I am running tivohmo executable on.
On a side note, I just had to spawn the executable after I setuid on the executable since I didn't have a /etc/init.d/tivohmo service script, the service call fails.
Pasted from http://www.tivocommunity.com/tivo-vb/showthread.php?p=10438136#post10438136
I was wondering if you had some suggestion on how I can figure out this error message I see after spawning the tivohmo Server (I haven't modified any of the settings in /etc/tivohmo.yml}:
[2015-03-15 19:05:38] INFO TivoHMO::Server Request from 192.168.1.36 Command=QueryContainer&Container=%2F&DoGenres=1"
[2015-03-15 19:05:38] DEBUG TivoHMO::Server Headers: {"Content-Type"=>nil}
[2015-03-15 19:05:38] INFO TivoHMO::Server Request from 192.168.1.37 Command=QueryContainer&Container=%2F&DoGenres=1"
[2015-03-15 19:05:38] DEBUG TivoHMO::Server Headers: {"Content-Type"=>nil}
OpenURI::HTTPError - 401 Unauthorized:
/usr/local/lib/ruby/2.0.0/open-uri.rb:353:in
open_http' /usr/local/lib/ruby/2.0.0/open-uri.rb:709:inbuffer_open'/usr/local/lib/ruby/2.0.0/open-uri.rb:210:in
block in open_loop' /usr/local/lib/ruby/2.0.0/open-uri.rb:208:incatch'/usr/local/lib/ruby/2.0.0/open-uri.rb:208:in
open_loop' /usr/local/lib/ruby/2.0.0/open-uri.rb:149:inopen_uri'/usr/local/lib/ruby/2.0.0/open-uri.rb:689:in
open' /usr/local/lib/ruby/2.0.0/open-uri.rb:34:inopen'/usr/local/lib/ruby/gems/2.0.0/gems/plex-ruby-1.5.2/lib/plex-ruby.rb:28:in
open' /usr/local/lib/ruby/gems/2.0.0/gems/plex-ruby-1.5.2/lib/plex-ruby/library.rb:76:inbase_doc'/usr/local/lib/ruby/gems/2.0.0/gems/plex-ruby-1.5.2/lib/plex-ruby/library.rb:68:in `xml_doc'
...
/usr/local/lib/ruby/gems/2.0.0/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'[2015-03-15 19:05:38] INFO TivoHMO::Server Request from 192.168.1.163 "GET ...?Command=QueryContainer&Container=%2F&DoGenres=1"
.163 is the TiVo Roamio, 242 is my Plex Server that I am running tivohmo executable on.
On a side note, I just had to spawn the executable after I setuid on the executable since I didn't have a /etc/init.d/tivohmo service script, the service call fails.