|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#261
|
||||
|
||||
You don't want to change the base port (8080) to match your extender, those are totally unrelated... That's the port you use to access the web server, not the port that the web server uses to access the extender...
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2 TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad |
#262
|
|||
|
|||
So it's possible (likely?) that if I change both my web redirect and the jetty server port setting back to 8080 (or some other unused port number, as long as they match) that it might work?
EDIT: It fixed it.... working now.
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such... Software: SageTV v9x64, stock STV with ADM. Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic). Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each. Last edited by pjpjpjpj; 01-05-2012 at 03:41 PM. |
#263
|
|||
|
|||
Quote:
Following jreichen's instructions here, I've attached the jetty/jar folder lists & Sage log. Hopefully someone more knowledgeable than I can identify the problem. |
#264
|
|||
|
|||
Self-Generated SSL
Trying to follow the instructions on the wiki, but I haven't been able to get jetty to use my own generated keystore file. I used the exact command in the example to generate mine. I added the lines to sage.properties. Still, jetty always default to using the built-in key. If I move the built-in key, I get an error on the page:
Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error. This is my sage.properties jetty section: jetty/jetty.configfiles="C\:\\Program Files (x86)\\SageTV\\SageTV\\jetty\\etc\\jetty.xml" "C\:\\Program Files (x86)\\SageTV\\SageTV\\jetty\\etc\\jetty-ssl.xml" jetty/jetty.home=C\:\\Program Files (x86)\\SageTV\\SageTV\\jetty jetty/jetty.log.level=INFO jetty/jetty.logs=C\:\\Program Files (x86)\\SageTV\\SageTV\\jetty\\logs jetty/jetty.port=8080 jetty/jetty.ssl.keypassword=123456 jetty/jetty.ssl.keystore="C\:\\Users\\MyUser\\.keystore" jetty/jetty.ssl.password=123456 jetty/jetty.ssl.port=8443 jetty/jetty.ssl.trustpassword=123456 jetty/jetty.ssl.truststore="C\:\\Users\\MyUser\\.keystore" jetty/upnp=Manual Configuration Any ideas what I'm doing wrong here? |
#265
|
||||
|
||||
Hi brb84, rename/move the keystore file you created to the same name/location as what sageTV expects. Make sure you're using the right passwords, truststore, etc define below. If you still are getting an error, you might be using the wrong instructions to create the keystore file.
PS: Are you using 8443 as your ssl port or 443? It might be easier to use 443. If you use 443, you dont have to specific the port in the URL every time. Quote:
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#266
|
|||
|
|||
I ran this exact command using the keytool executable in my java/jre6/bin directory and followed the prompts for setting name and location:
keytool -genkey -keyalg RSA -keypass 123456 -storepass 123456 -validity 365 That generated a .keystore file in my home directory, which is C:\Users\MyUser. The settings in Sage.Properties are pointing to that directory. I'm not sure what else could be missing. It would be nice if there was some more specific error. As for the port, I'm using 8443 because my router's SSL interface actually uses 443. Last edited by brb84; 02-23-2012 at 02:12 PM. |
#267
|
|||
|
|||
It looks fine to me. Did you stop the SageTV service before editing the properties file?
__________________
Home Network: https://karylstein.com/technology.html |
#268
|
|||
|
|||
I figured it out. I did not create the certificate as the root user. I ignored that statement originally because it was prefaced by "Linux users..."
Once I ran the command prompt as admin, created the certificate, specified that it just go on the C drive, and changed the sage.prop values to point to the key's name on the C drive, everything came up beautifully. |
#269
|
||||
|
||||
Got new server hardware, had to reinstall OS and SageTV again. Got everything working except for the webserver. I'm getting this error after login/password from this address: http://192.168.1.102:8080/apps/
Quote:
How do I fix this? EDIT: nevermind, went into realm.properties and delete a bunch of strange characters and changed it to "sage: frey,user", now it works.
__________________
Mayamaniac - SageTV 7.1.9 Server. Win7 32bit in VMWare Fusion. HDHR (FiOS Coax). HDHR Prime 3 Tuners (FiOS Cable Card). Gemstone theme. - SageTV HD300 - HDMI 1080p Samsung 75" LED. Last edited by mayamaniac; 04-08-2012 at 04:17 PM. |
#270
|
||||
|
||||
feeling like a newb here but I haven't had to touch my stuff in 3.5 years, just rebuilt the server, and now jetty doesn't work. I just get
Quote:
I'm on Windows 7-64Bit if that helps. Quote:
|
#271
|
|||
|
|||
Quote:
1.) Try to hit the URL from the server itself with http://localhost:8080/apps If that works, then if you were trying from a different server before, you may just need to create a windows firewall exception for 8080. 2.) Pull out the SSL config altogether so that you just have port 8080 setup. If that works, I'm guessing the server is blowing up on the certificate somehow. |
#272
|
||||
|
||||
Quote:
|
#273
|
|||
|
|||
Quote:
should be \\Program Files (x86)\\ ... not ... \\Program Files\\ .... In sage.properties and sageclient.properties change all the instances of \\Program Files\\ to \\Program Files (x86)\\ You did the same thing this user did. http://forums.sagetv.com/forums/show...02&postcount=1
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 07-24-2012 at 01:55 AM. |
#274
|
|||
|
|||
Which is why I always setup completely from scratch. Make sure everything is installed and working THEN copy in the wiz.bin and ONLY the wiz.bin from old install. That way the properties file and everything else in SageTV is setup for the new PC. I do make the PC name the same as the old name and the same recording drives. I use UNC.
|
#275
|
|||
|
|||
Quote:
If you want to keep all your settings there are ways to do it but it takes some tinkering and initial setup before moving Sage.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 07-24-2012 at 07:22 AM. |
#276
|
||||
|
||||
ooops, thanks. Although I must have multiple issues as I still can't get Jetty working. I changed Sage.prop & Sageclient.prop. Will look again tonight to see what else is going on.
|
#277
|
||||
|
||||
Couldn't take it anymore, blew away the whole SageTV directory and started over. And whaddya know, this worked right away.
Now to figure out which plugins I actually had installed. I suppose I should have written that down. Not that big a deal, I guess. And, it seems to work fine, so i'll back up the current wiz.bin, then put the prior one on, and pray it all still works. |
#278
|
||||
|
||||
So.. here's a crazy shot in the dark.. Has anyone tried dropping a newer version of jetty into sage and see what it breaks? I'm asking primarily because I've seen many users that want to upgrade to Java 8 on their servers and the currently used version of jetty (6.something) doesn't work under Java 8. The current version, 9.2 i think, is supposed to work well with Java 8. I will be the first to say, however, that I have absolutely NO idea how jetty is talking to the sage API's, and/or if this is something that would be broken with the new versions.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#279
|
|||
|
|||
Quote:
http://forums.sagetv.com/forums/show...&postcount=305 I looked at it very briefly about a month ago, and the API for jetty made a rather significant shift between 6.x and 7.x so even dropping a v7 Jetty jar in there may not work, but I didn't make an attempt at it before I had to leave again. Also V9 is not considered to be "release" just yet, so V8.x is the official release build currently. But we're behind on even that right now. |
#280
|
||||
|
||||
There were a lot of changes to Java package names and some class names when the project moved over to the Eclipse Foundation. I've already made these changes to the plugin's codebase.
The other issue is that each web app is required to deliver an xml file that has Jetty class references in it and all those have to be modified. Hopefully the plugin can be modified to work with the existing files in a "compatibility mode" until the other plugins can be updated. I hope to set aside some time to fix these issues but I don't see it happening until the Sage source code is released. If anybody else is interested in getting their feet wet with writing plugins I'd be more than happy to support them if they want to make these changes. EDIT: Oh, and the jsp functionality needs fixed too.
__________________
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. |
Currently Active Users Viewing This Thread: 2 (0 members and 2 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: SageTV Web Interface V2 for Jetty | jreichen | SageTV Customizations | 256 | 02-09-2014 08:05 AM |
Plugin: Jetty Starter 1.6 | jreichen | SageTV Customizations | 122 | 09-07-2012 06:48 PM |
error message with web server plugin | edgley | SageTV Customizations | 3 | 01-15-2006 11:32 AM |
Sage Web Server and existing web server compatibilty? | Brent94Z | SageTV Customizations | 6 | 01-18-2005 11:29 AM |