SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #241  
Old 12-27-2009, 11:49 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by Mtlca401 View Post
I installed jetty and the mobile web interface on the sagetv pc and changed the port number to 8500.
Did you restart SageTV after changing this?
Quote:
Originally Posted by Mtlca401 View Post
I have my router port forwarding 8500 to my sagetv pc. When I type in the address on the iphone all I get is "could not open page" displayed really fast. I do not get a 404 or 500 error. Just a blank page.

the address that I am using is http://myserver.com:8500/sagem/m/menu.jsp

Am I suppose to be able to view on my computer as well using the address? because that doesn't work either.
You can also view it on your computer's browser. In fact, it may be easier to troubleshoot it from there. Are you able to connect to the web server using the internal network's ip address? http://192.168.x.x:8500/ or http://192.168.x.x:8500/sagem/m/menu.jsp
It's usually better to make sure it's accessible on the local network before trying to get at it from the outside.

Also you can enable SageTV's debug logging as described in the FAQ. Uncommenting the DEBUG line in JettyStarter.properties will write extra web server logging to SageTV's log file. That may provide some clues about what's wrong.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #242  
Old 12-28-2009, 03:26 PM
Mtlca401 Mtlca401 is offline
Sage User
 
Join Date: Apr 2006
Posts: 67
Quote:
Originally Posted by jreichen View Post
You can also view it on your computer's browser. In fact, it may be easier to troubleshoot it from there. Are you able to connect to the web server using the internal network's ip address? http://192.168.x.x:8500/ or http://192.168.x.x:8500/sagem/m/menu.jsp
It's usually better to make sure it's accessible on the local network before trying to get at it from the outside.

Also you can enable SageTV's debug logging as described in the FAQ. Uncommenting the DEBUG line in JettyStarter.properties will write extra web server logging to SageTV's log file. That may provide some clues about what's wrong.
I connected locally on my iPhone and pc using 192.168.0.101:8500/sagem/m/menu.jsp. That worked fine.

It seems that the sagetv computer is not accessible outside of the network, but my development server is.
Reply With Quote
  #243  
Old 12-28-2009, 05:10 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by Mtlca401 View Post
I connected locally on my iPhone and pc using 192.168.0.101:8500/sagem/m/menu.jsp. That worked fine.

It seems that the sagetv computer is not accessible outside of the network, but my development server is.
It looks like the problem lies either in your router's port mapping or the external IP you're using. Is another server also using port 8500? Try this web site to verify the external IP you're using: http://www.whatsmyip.org/
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #244  
Old 12-28-2009, 10:14 PM
Mtlca401 Mtlca401 is offline
Sage User
 
Join Date: Apr 2006
Posts: 67
Is there anything else I need to install? I know on my developmental server I have apache installed.

My router should be setup correctly because I can connect to the sagetv pc locally, just not publicly. The external IP I'm using is a dynamic IP, but that is taken care of by my host (zoneedit).
Reply With Quote
  #245  
Old 12-28-2009, 10:37 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by Mtlca401 View Post
Is there anything else I need to install? I know on my developmental server I have apache installed.

My router should be setup correctly because I can connect to the sagetv pc locally, just not publicly. The external IP I'm using is a dynamic IP, but that is taken care of by my host (zoneedit).
You don't need to install anything else.

For your router's port mappings, the same port cannot be mapped to multiple places. For example, in your router, port 8500 could be mapped to your development server's port 8500 and 8501 could be mapped to your sage server's port 8500. But your router's port 8500 can't be mapped to both places.

Hopefully I'm not making it more confusing
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #246  
Old 12-29-2009, 05:34 PM
Mtlca401 Mtlca401 is offline
Sage User
 
Join Date: Apr 2006
Posts: 67
Quote:
Originally Posted by jreichen View Post
You don't need to install anything else.

For your router's port mappings, the same port cannot be mapped to multiple places. For example, in your router, port 8500 could be mapped to your development server's port 8500 and 8501 could be mapped to your sage server's port 8500. But your router's port 8500 can't be mapped to both places.

Hopefully I'm not making it more confusing
I changed the port number to 8585 and then to 55551. I still get the same result.

For the jetty settings, the only place I have the port number set is in the jetty.properties file. If there are no other settings for the port number then I guess this plugin just doesn't work for me. I'm not saying its the plugin. I obviously have the settings wrong somewhere on my network.

Thanks for your help though.
Reply With Quote
  #247  
Old 12-30-2009, 10:26 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Sometimes I've seen where the ISP is blocking incoming traffic, but if your development server is accessible then your sagetv server should be accessible, too. I don't know what else to tell you other than to double check the IP's, ports, etc settings in your router.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #248  
Old 01-04-2010, 05:53 PM
mzup mzup is offline
Sage Advanced User
 
Join Date: Sep 2007
Posts: 169
I installed this and keep getting error 404. I have bmt installed and that works, but can't this to work. I followed the suggestion to touch the sagewebapp.xml and reload but that didn't work. Any other suggestions?
Reply With Quote
  #249  
Old 01-04-2010, 07:30 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Try this:
  1. Shut down SageTV
  2. Delete the jetty/webapps/SageWebApp folder (but not the war file)
  3. Start SageTV
  4. Try accessing the URL again. Make sure you're typing in /sagem after the server and port, not /sage without the m. For example http://server:<port>/sagem/m/menu.jsp
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #250  
Old 01-05-2010, 08:05 AM
mzup mzup is offline
Sage Advanced User
 
Join Date: Sep 2007
Posts: 169
Did that and still no go. here's the error:
HTTP ERROR: 404
NOT_FOUND
RequestURI=/sagem/m/menu.jsp

Powered by jetty://

In the request.log I get this:
[05/Jan/2010:14:17:09 +0000] "GET /sagem/m/menu.jsp HTTP/1.1" 404 1303 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; InfoPath.2)"

I see the folder recreated, but there are no files in it. Should there be some created? I also have neilm webserver working thru this as well now.

Last edited by mzup; 01-05-2010 at 08:25 AM.
Reply With Quote
  #251  
Old 01-05-2010, 08:32 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Does the file jetty/webapps/SageWebApp.war exist? If not, make sure you preserve the folder structure when extracting the downloaded zip file. If it's there, turn on Sage's debug logging and post your log file and I'll take a look at it.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #252  
Old 01-05-2010, 08:50 AM
mzup mzup is offline
Sage Advanced User
 
Join Date: Sep 2007
Posts: 169
Quote:
Originally Posted by jreichen View Post
Does the file jetty/webapps/SageWebApp.war exist? If not, make sure you preserve the folder structure when extracting the downloaded zip file. If it's there, turn on Sage's debug logging and post your log file and I'll take a look at it.
It was on. here's the file.
Attached Files
File Type: zip sagetv_0.zip (111.5 KB, 305 views)
Reply With Quote
  #253  
Old 01-05-2010, 07:54 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
There's nothing about Jetty in there but there are an awful lot of other errors. Did the log file get truncated? Could you also verify if the war file exists?
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #254  
Old 01-06-2010, 06:42 AM
mzup mzup is offline
Sage Advanced User
 
Join Date: Sep 2007
Posts: 169
File isn't truncated and war file exists.
Reply With Quote
  #255  
Old 01-07-2010, 09:38 AM
mzup mzup is offline
Sage Advanced User
 
Join Date: Sep 2007
Posts: 169
No one has had an issue with this???
Reply With Quote
  #256  
Old 01-07-2010, 09:55 AM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Check to see that the folder structure is complete...
I have issues where the war file doesn't deploy correctly after a restart.
The other thing which I don't know was suggested or not.. Delete the whole
SageWebApp directory (not the war file) and then touch the sagewebapp.xml
and see if the war file deploys correctly. That usually fixes my problems. I never bothered to figure out why it doesn't deply fully and someday I might dig into it..

Jim
Reply With Quote
  #257  
Old 01-07-2010, 07:36 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
There have been some reports of extraction problems on Windows. Slugger has shown in his apps that it's pretty effective to remove the following line from the context xml file. This causes the war to be extracted to your system's temp directory rather than within the webapps directory. Try removing the following from jetty/contexts/sagewebapp.xml and see if it works:
Code:
  <Set name="tempDirectory">
    <SystemProperty name="jetty.home" default="."/>/webapps/SageWebApp
  </Set>
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #258  
Old 01-19-2010, 10:36 PM
OttoNP OttoNP is offline
Sage Advanced User
 
Join Date: Jan 2006
Posts: 142
I installed this and it is working great...I'm just trying to figure out how to download the files to my BB Storm. I have some files I converted that I can transfer to BB with USB cable. I can find them using the mobile server, but I do not see a download option; however, I can click on the file name, but then I get an error that states "http error 413 request entity too large".

It looks like it is a Blackberry issue limiting the file size, but I am wondering if I can't trick it into thinking it is an image so I can save it onto my memory card and then play it back from there...

I have tried accessing the files from my labtop as well, I can download the large raw files no problem, but for some reason can not download the mp4 files that I want to use on my BB. These files were created using the convert function. My work around was going to be to download them to my labtop and them put them on my phone...

It looks like it is not finding the file, it is download a file that is 0 bytes....

Also, I would much rather be able to download the whole file then stream...streaming makes me angry because buffering almost never works to my satisifaction....which makes me even angrier because buffering should be simple!

Last edited by OttoNP; 01-19-2010 at 11:17 PM.
Reply With Quote
  #259  
Old 01-22-2010, 06:38 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Take a look at this page and see if that fixes your problem.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #260  
Old 01-26-2010, 02:48 PM
OttoNP OttoNP is offline
Sage Advanced User
 
Join Date: Jan 2006
Posts: 142
Thanks for taking the time to find that link..even then it says the max is 1 mb, most of my converted files are at lease 90 mb. If I could just download them on my labtop that would be great, but for some reason it just links to a 0 byte files, like the link is broke. maybe someone else can try it to see if it is just me or not...

Thanks
Reply With Quote
Reply

Tags
mobile, web


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin: Web User Interface for SageTV 2.2-6.6 (V2.25 18 Sep 2009) nielm SageTV Customizations 2644 10-24-2016 10:18 AM
Wanted: Developer for Web Interface Mobile Brent SageTV Customizations 249 02-09-2009 11:21 PM
Web Interface Questions SoonerToucan SageTV Customizations 1 09-14-2004 04:16 AM
Web interface possible in the near future? debennett2 SageTV Software 7 06-05-2004 06:51 AM
web interface fmalabre SageTV Beta Test Software 6 04-28-2004 12:57 AM


All times are GMT -6. The time now is 09:53 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.