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
  #761  
Old 12-16-2005, 02:31 AM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
Quote:
Originally Posted by Thomas Wischgol
I only get a message "error in menu_items.js: check syntax".
What browser are you using?
Is it up-to-date?
You tried a reinstall?
Reply With Quote
  #762  
Old 12-16-2005, 03:17 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by jimmyb
Thanks for your reply Gerry. That is what I thought I USED to do. Now what would cause it to stop? I can only log on when Sage is runing or sleeping.
This suggests that either
you are *not* running the service...
or
you have configured the webserver in SageClient.properties (used by the GUI frontend in service mode), not in Sage.properties (used by the service)
or
you ahve configured it on both, with different ports, and are using the wrong port.
or
the service is failing to start...

Run SageTV Service control app and see what the status is.
Or right click My Computer -> Manage -> Services+apps -> Services -> SageTV and check the status...

The GUI front end should auto-start the service if it is enabled...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #763  
Old 12-16-2005, 07:45 AM
jimmyb jimmyb is offline
Sage Advanced User
 
Join Date: May 2004
Posts: 163
Quote:
Originally Posted by Thomas Wischgol
After upgrading to version 4.1.3 the menus of the web server do not work anymore. I only get a message "error in menu_items.js: check syntax". I checked the file and it looks okay to me. Is there anybody else having this problem?

Thomas
Rick if you read my previous posts up on the previuos page, I had the same problem. I was entering ......sage/home/ instead of ......sage/home (no trailing slash). Simple fix but was operator error.
__________________
The The AnJ Show Will Cook Weather

Last edited by jimmyb; 12-16-2005 at 07:49 AM.
Reply With Quote
  #764  
Old 12-16-2005, 08:12 AM
jimmyb jimmyb is offline
Sage Advanced User
 
Join Date: May 2004
Posts: 163
Nielm - I guess it is working ... but

I have Sage.prop at port 8080 and per our previous discussions the Client.prop setup at 8090. I also purchased a Client license (if this effects anything).

With services running and Sagetv closed I can log on as 8080 and see all BUT I cannot watch Live TV (control Sage / Play TV) as I can when I log on using the Client port. When I log on as Client port 8090 I get an error message .." The connection was refused when attempting .........."\

If Sage is running I can then log on with client port 8090 and all works well including the Play TV feature. Is this the way it works?
__________________
The The AnJ Show Will Cook Weather
Reply With Quote
  #765  
Old 12-16-2005, 09:18 AM
Thomas Wischgol's Avatar
Thomas Wischgol Thomas Wischgol is offline
Sage Aficionado
 
Join Date: Sep 2005
Posts: 276
Quote:
Originally Posted by rickgillyon
What browser are you using?
Is it up-to-date?
You tried a reinstall?
I tried it with Mozilla and Internet Explorer, both are up-to-date. I reinstalled the webserver but this did not change anything. The only thing I noticed is that if I put additional html files into the webroot folder I only get an empty body when I try to access it through a web browser.

I checked the log files this morning and found this message:
Server socket: java.net.BindException: Address already in use: JVM_Bind

I get this message every time I restart Sage after I upgraded. This sounds like some kind of conflict somewhere but I do not really have an idea what it might be at this point. Any ideas?

Thanks,
Thomas
Reply With Quote
  #766  
Old 12-16-2005, 09:33 AM
Thomas Wischgol's Avatar
Thomas Wischgol Thomas Wischgol is offline
Sage Aficionado
 
Join Date: Sep 2005
Posts: 276
Quote:
Originally Posted by Thomas Wischgol
I checked the log files this morning and found this message:
Server socket: java.net.BindException: Address already in use: JVM_Bind

I get this message every time I restart Sage after I upgraded. This sounds like some kind of conflict somewhere but I do not really have an idea what it might be at this point. Any ideas?
I just checked the processes that use port 8080 and it was SageTVServer. I enabled service mode during my last install and it seems to have copied to config files so that both the server and the client tried to start the webserver. After adjusting this issue, however, I still get the same error messages

Thomas
Reply With Quote
  #767  
Old 12-16-2005, 10:30 AM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
I'm not sure what's going on. Can people see my posts here in this thread? Or perhaps nobody subscribed to this thread has answers to my questions about enabling SSL? I don't think my questions were that complicated. I already tried my best to figure this out on my own and through Wiki documentation...

Would somebody be kind enough to please help?

Quote:
Originally Posted by mkanet
I need a little bit of help getting it to run in SSL mode.

In the Wiki documentation, it says to:

Set the property nielm/webserver/port=8443
Set the property nielm/webserver/ssl_args= with arguments from the following list
-keystoreFile (default %HOME%/.keystore
-keystorePass (default 123456)
-keystoreType (default JKS)
-algorithm (default SunX509)
-clientAuth (default false)
-port (default 8443)
-protocol (default TLS)
-backlog (default 1000)
-ifaddress (default none)


There is no sample provided for the ssl_args= command-line.

Can somebody please confirm that the below syntax is correct?
ssl_args= -keystoreFile %HOME%/.keystore, -keystorePass 123456

Also, the web pages I go to that are secure use port 443. Why is the
default port set to 8443? If I set it to 443, can I point my web browser to:

https://localhost/sage/Home

I'm guessing when typing HTTPS in the web browser, its not needed to also specify a port #. Right?

Thanks in advance!
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #768  
Old 12-16-2005, 11:32 AM
ellweber ellweber is offline
Sage Advanced User
 
Join Date: Nov 2003
Location: SF Bay Area
Posts: 150
This is what my Sage Client Properties file contains:

nielm/webserver/aliases_file=aliases.properties
nielm/webserver/backlog=
nielm/webserver/bind_address=
nielm/webserver/cgibin_dir=
nielm/webserver/charset=UTF-8
nielm/webserver/enableSageEncoderOpts=false
nielm/webserver/log_access=false
nielm/webserver/log_referrer=false
nielm/webserver/log_user_agent=false
nielm/webserver/port=443
nielm/webserver/realms_file=realms.properties
nielm/webserver/root=webserver
nielm/webserver/sage_recordings_includes_archived_files=true
nielm/webserver/servlets_file=servlets.properties
nielm/webserver/session_timeout=
nielm/webserver/ssl_args=-keystoreFile .keystore
nielm/webserver/throttles_file=throttles.properties
nielm/webserver/use_ssl=true
nielm/webserver/video_path_translation_file=paths.properties

This is a working intallation with SSL. The .keystore file is located in C:\Program Files\SageTV\SageTV

I just followed the documentation and particularly the .keystore generation proceedure found here: http://www.sage-community.org/index....i/WebserverSsl

Also, you might want to consider extending the validity beyend 900. I fell into that trap for few hours once!

Hope this helps a little.

Lynn
Reply With Quote
  #769  
Old 12-16-2005, 11:41 AM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Thank you Lynn! It looks like I have enough information now. It also looks like your config uses the standard port 443 verses 8443. I'm guessing its as simple as pointing a webbrowser to:

https://localhost/sage/Home ???

So currently, the only way to make this work is with an "unsigned certificate"?

Thanks again for helping!!
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #770  
Old 12-16-2005, 12:06 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by mkanet
Thank you Lynn! It looks like I have enough information now. It also looks like your config uses the standard port 443 verses 8443. I'm guessing its as simple as pointing a webbrowser to:

https://localhost/sage/Home ???

So currently, the only way to make this work is with an "unsigned certificate"?

Thanks again for helping!!
Also keep this in mind: Note: Setting the port number in both "nielm/webserver/port=" and "nielm/webserver/ssl_args=" can cause the webserver to not respond. Try to just set the port using the "nielm/webserver/port=" line when using SSL.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #771  
Old 12-16-2005, 12:21 PM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
Quote:
Originally Posted by mkanet
I'm not sure what's going on. Can people see my posts here in this thread?
Who said that?
Reply With Quote
  #772  
Old 12-16-2005, 01:24 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by jimmyb
I have Sage.prop at port 8080 and per our previous discussions the Client.prop setup at 8090.
...
With services running and Sagetv closed I can log on as 8080 and see all BUT I cannot watch Live TV (control Sage / Play TV) as I can when I log on using the Client port. When I log on as Client port 8090 I get an error message .." The connection was refused when attempting .........."\

If Sage is running I can then log on with client port 8090 and all works well including the Play TV feature. Is this the way it works?
yep.

The webserver running in the server/service on port 8080 cannot control the client (as it is a separate process)

The webserver running in the client on port 8090 needs the client to be running for it to be running
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #773  
Old 12-16-2005, 05:01 PM
Homebuilder Homebuilder is offline
Sage Advanced User
 
Join Date: Sep 2005
Posts: 180
port forwarding, linksys etc

I had trouble accessing from the internet, I found a way that worked for me...I added :8080 to the address line

So instead of xxx.xxxxxxxx.net/sage/home

I used xxx.xxxxxxxx.net:8080/sage/home

I am behind a linksys router..not sure if thats why... but it now works.
Reply With Quote
  #774  
Old 12-16-2005, 05:10 PM
Homebuilder Homebuilder is offline
Sage Advanced User
 
Join Date: Sep 2005
Posts: 180
importe video on server shows hauppauge inputs..

Hi,

Got my server up and running, yippie!!!

Really looking forward to exploring this more... Quick question, request or bug submission...

I put alot of files in my import folders....divx movies, tv series in divx... any way to just browse all items in folders? will it support folder in folder browsing?

When I do a search, my files do all come up, but so does all of my hauppauge inputs..example:

Hauppauge WinTV PVR PCI II Capture #2 Composite Fri, Dec 16
6:03 PM - 6:03 PM -

Hauppauge WinTV PVR PCI II Capture #2 Composite Fri, Dec 16
6:03 PM - 6:03 PM -

Hauppauge WinTV PVR PCI II Capture #2 Composite_2 Fri, Dec 16
6:03 PM - 6:03 PM -

Hauppauge WinTV PVR PCI II Capture #2 Composite_2 Fri, Dec 16
6:03 PM - 6:03 PM

etc etc etc etc...

This is an awesome plug in just as it is. If it is possible to browse files and folders like in windows, that would be great, if not, is it possible to not have tuner inputs show on searches?

Thanks again for a great tool!
Reply With Quote
  #775  
Old 12-17-2005, 11:45 AM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
I followed the instructions on Wiki PERFECTLY. I quadruple checked the steps to make sure I have no errors. I checked my browser settings for SSL and recreated .keystore several times.

I even tried to do it the way mentioned above (putting keystore file in sage dir). I immediately get the error popup below:


So, what am I doing wrong? I'm pulling my hair out trying to figure out why following the directlons EXACTLY doesnt work.

PLEASE help. I'm completely stuck!

EDIT: I about to just give up. I tried it one last time and everything started working!!! Maybe something got stuck who knows? Lesson learned: Following directions PERFECTLY does work
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***

Last edited by mkanet; 12-17-2005 at 12:07 PM.
Reply With Quote
  #776  
Old 12-17-2005, 12:29 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Okay, I found out the problem. But I need help to solve the problem:

If I use port 8443 (or ANY other port except for 443), I am able to login via SSL.

However, if I change "nielm/webserver/port=8443" to "nielm/webserver/port=443", the web browser acts as if there is no server to be found.

Would having IIS installed complicate things? I disabled IIS, but still got a message saying unable to connect.
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***

Last edited by mkanet; 12-17-2005 at 12:51 PM.
Reply With Quote
  #777  
Old 12-17-2005, 02:37 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Port 443 is also used by RPC. Do you remote desktop into that machine?

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #778  
Old 12-17-2005, 02:52 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Yes, I remote control to my machine.

Hmm.. that's strange, the remote control port that I had to open up on my router was 3389 in order for Remote Desktop to work. Are you "sure" what you're saying is true?
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #779  
Old 12-17-2005, 06:02 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by mkanet
Yes, I remote control to my machine.

Hmm.. that's strange, the remote control port that I had to open up on my router was 3389 in order for Remote Desktop to work. Are you "sure" what you're saying is true?
Sorry-my mistake. Another source just listed it as RPC over HTTP. That port is used for Exchange.
TCP Port 443 - HTTPS HTTP SSL
TCP Port 443 - HTTPS World Wide Web Publishing Service
TCP Port 443 - HTTPS SharePoint Portal Server
TCP Port 443 - RPC over HTTP Exchange Server 2003

Those are the default uses of that port by Microsoft. I'm assuming you're not running Sharepoint on that server either.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #780  
Old 12-17-2005, 06:06 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
I dont have Sharepoint, Frontpage extensions for authoring, nor exchange.

Edit: Opps.. Well, I have IIS running, with the WWW publishing service for http... It looks like XP's SSL service it turned off and set to manual

Last Edit: I'm going to run a port scan to see if there's something using 443 currrently. I'm not sure if this is the case, but makes most sense to me. I have a gut feeling it's somehow related to IIS (even though XP SSL service it not active).

Whatever it is, ONLY port 443 isn't allowed and gives the error.
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***

Last edited by mkanet; 12-17-2005 at 06:37 PM.
Reply With Quote
Reply

Tags
web


Currently Active Users Viewing This Thread: 2 (0 members and 2 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: Mobile Web Interface 1.2 jreichen SageTV Customizations 281 06-17-2011 02:20 PM
Can't get Web-based User Interface to install SSBrian SageTV Customizations 3 11-04-2008 08:12 PM
Web User interface link for the metadata file. zzmystique SageTV Customizations 0 06-21-2008 02:26 AM
Idea to enhance the Web User Interface: Messaging jbarr SageTV Customizations 3 05-14-2007 03:59 PM
Linkplayer, Linktheater with SageTV Web User Interface fyodor SageTV Customizations 0 10-08-2006 06:03 PM


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.