SageTV Community  

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

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #241  
Old 07-23-2011, 06:33 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by tmiranda View Post
I'm getting a "forbidden" error. Are there permissions to set someplace?
There's no security on the static folder. "Forbidden" (HTTP 403) isn't usually a login issue anyway. Login errors are "Unauthorized" (HTTP 401).

I was able to reproduce the "forbidden" error by going to a URL for a folder. For example, if I put a file in jetty/static/boxeetest/boxee.xml and go to the URL http://<server>:<port>/boxeetest/boxee.xml, the browser retrieves the file. But if I enter http://<server>:<port>/boxeetest/, I get the "forbidden" error. This is because directory listing is not allowed.
__________________
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 07-24-2011, 04:56 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by jreichen View Post
There's no security on the static folder. "Forbidden" (HTTP 403) isn't usually a login issue anyway. Login errors are "Unauthorized" (HTTP 401).

I was able to reproduce the "forbidden" error by going to a URL for a folder. For example, if I put a file in jetty/static/boxeetest/boxee.xml and go to the URL http://<server>:<port>/boxeetest/boxee.xml, the browser retrieves the file. But if I enter http://<server>:<port>/boxeetest/, I get the "forbidden" error. This is because directory listing is not allowed.
I had the wrong password
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #243  
Old 10-11-2011, 05:27 AM
iolaus iolaus is offline
Sage Advanced User
 
Join Date: Jan 2008
Posts: 83
Would it be possible to add a Log Level option of something like "Error" to the Jetty options? I have home automation software the continually polls SageTV and the resultant request logs are eating up GBs of HD space. For day to day operation I really don't need request level logging so a new log level that only logged errors would be helpful.

Thanks!
Reply With Quote
  #244  
Old 11-14-2011, 09:14 PM
Skybolt's Avatar
Skybolt Skybolt is offline
Sage Icon
 
Join Date: Aug 2006
Location: Annapolis, MD
Posts: 1,027
Is there anyway of NOT haveing a userid/password?

I have tried every combo I think of. Edited Jetty.xml and realms.properties to death. Nothing works?

Can some kind sole please help me remove the userid and password non-option?

Thanks,
Skybolt
Reply With Quote
  #245  
Old 11-15-2011, 07:20 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Did you go into Sage Plugins-Installed SageTV plugins and go to the Jetty plugin configuration page and change it?

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
  #246  
Old 11-15-2011, 09:38 AM
Skybolt's Avatar
Skybolt Skybolt is offline
Sage Icon
 
Join Date: Aug 2006
Location: Annapolis, MD
Posts: 1,027
Quote:
Originally Posted by gplasky View Post
Did you go into Sage Plugins-Installed SageTV plugins and go to the Jetty plugin configuration page and change it?

Gerry
Thanks, but that did not work either. This is the same as editing the files manualy. There needs to be an option such as "Do not require user name and password" I think.

I use to use the neilm's web server and just deleted the user/pass and that worked fine. I use the http commands to control my extenders, not through the web interface, so I can't login or I should say I can't figure out how to pass the user name and password in.

This is the structure if the commands I use:

Code:
http://192.168.2.51:88/sage/SageCommand?RetImage=no&nocache=1234103577546&command=down&context=0023a50004e3

Last edited by Skybolt; 11-15-2011 at 02:07 PM.
Reply With Quote
  #247  
Old 11-15-2011, 09:44 AM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by Skybolt View Post
I should say I can't figure out how to pass the user name and password in.
Simple enough...

Code:
http://JettyUsername:JettyPassword@192.168.2.51:88/sage/SageCommand?RetImage=no&nocache=1234103577546&command=down&context=0023a50004e3
__________________
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
Reply With Quote
  #248  
Old 11-15-2011, 09:54 AM
Skybolt's Avatar
Skybolt Skybolt is offline
Sage Icon
 
Join Date: Aug 2006
Location: Annapolis, MD
Posts: 1,027
Quote:
Originally Posted by Fonceur View Post
Simple enough...

Code:
http://JettyUsername:JettyPassword@192.168.2.51:88/sage/SageCommand?RetImage=no&nocache=1234103577546&command=down&context=0023a50004e3
On my windows box it just gave errors, popup can't find "address" ...
Reply With Quote
  #249  
Old 11-15-2011, 10:07 AM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by Skybolt View Post
On my windows box it just gave errors, popup can't find "address" ...
And you replaced the username/password by their actual values? Do you get asked for the user/pw if you use it on your windows box without the user/pw?
__________________
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
Reply With Quote
  #250  
Old 11-15-2011, 10:24 AM
Skybolt's Avatar
Skybolt Skybolt is offline
Sage Icon
 
Join Date: Aug 2006
Location: Annapolis, MD
Posts: 1,027
Quote:
Originally Posted by Fonceur View Post
And you replaced the username/password by their actual values? Do you get asked for the user/pw if you use it on your windows box without the user/pw?
Yes.
This will bring up the logon and I enter "sage" 'frey" for username and password.
Code:
http://192.168.2.51:87/sage/Home
This just gave a popup error:

Code:
http://sage:frey@192.168.2.51:87/sage/Home
I decided to make it simple for testing. And yes I changed to port number to 87 from 88. all of my scripts use port 87, and I thought the basic web page was a good test. I am remoted in right now so I can't really test the command text.

Thank you for helping
Reply With Quote
  #251  
Old 11-15-2011, 10:31 AM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by Skybolt View Post
This just gave a popup error:
Is it really an error, or is it a phishing warning? Providing the username/password in a url will indeed trigger a warning on most browsers, until you white-list the site or such...
__________________
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
Reply With Quote
  #252  
Old 11-15-2011, 10:36 AM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
If you are using Windows Internet Explorer switch to Firefox as Microsoft no longer support a USERID:PASSWORD in a URL according to this. Or use the Microsoft workarounds.
Reply With Quote
  #253  
Old 11-15-2011, 10:43 AM
Skybolt's Avatar
Skybolt Skybolt is offline
Sage Icon
 
Join Date: Aug 2006
Location: Annapolis, MD
Posts: 1,027
Yes it is indeed an error.

I wish I could use firefox but the scripts I use need MS IE.
shouldn't Jetty be able to be configured without a username and password?

I guess I will have to install neilm's older server and interface prior to jetty. As that worked fine.

Thanks for trying.
-Skybolt

EDIT: Got both working one on 87 and the other on 88. Thanks for trying Guys!

Last edited by Skybolt; 11-15-2011 at 02:07 PM.
Reply With Quote
  #254  
Old 11-20-2011, 08:14 PM
freewheeling's Avatar
freewheeling freewheeling is offline
Sage Aficionado
 
Join Date: Nov 2009
Location: Virginia
Posts: 482
Quote:
Originally Posted by jreichen View Post
The URLs should be:

http://<server>:<port>/apps
http://<server>:<port>/sage/Home

The default user name is sage and the default password is frey. You can change them in the Jetty Web Server plugin configuration. After you change them you'll need to restart Jetty by clicking the restart button on that same screen or by restarting Sage.
I'm attempting to chang the default username and password but I keep getting the message that the password is "incorrect". I recall from the time I did this before that you have to manually edit the file, but I don't recall which file you have to edit. I looked for a config file for jetty but couldn't find it. Is it just jetty.txt ?

Update: Never mind. It's the realm.properties file. You can also change the password by first entering "frey" as the default password and it'll give the option to change it.

Last edited by freewheeling; 11-20-2011 at 08:50 PM. Reason: Update
Reply With Quote
  #255  
Old 12-16-2011, 10:20 AM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
I'm not sure what happened, but my channel logos are now showing up as broken images in the sage web interface. I recently updated a lot of plugins including the web interface and BMT. I also cleared my BMT cache a while back too.

My chanel logos show up just fine on my HD200 and server but the logo images are broken/nonexistent in the web interface.

Does anyone have any ideas on what might be causing this? I did a search but came up empty.

Can someone tell me where the logos are stored for the webserver? I have some backups that I can copy the images from if I know where they should be on disc for the webserver to find them.
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data
SageTV 9 Docker, Open DCT Docker
Silicondust HDHomeRun Duo + Quatro
Sage Mini Client on Amazon Fire Sticks and Android TVs
Reply With Quote
  #256  
Old 12-17-2011, 11:36 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
There appears to be an update on Dec 16 - what's in the update?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #257  
Old 12-17-2011, 11:57 AM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
Not sure if it it's a coincidence but the update fixed my logo problem. Thanks
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data
SageTV 9 Docker, Open DCT Docker
Silicondust HDHomeRun Duo + Quatro
Sage Mini Client on Amazon Fire Sticks and Android TVs

Last edited by dinki; 12-17-2011 at 12:57 PM.
Reply With Quote
  #258  
Old 12-17-2011, 12:05 PM
darcilicious's Avatar
darcilicious darcilicious is offline
Sage Icon
 
Join Date: Jul 2009
Location: Venus
Posts: 1,306
Quote:
Originally Posted by wayner View Post
There appears to be an update on Dec 16 - what's in the update?
Can be viewed via the Plugin Manager with "View Updated Plugin Details" after selecting the Plugin.
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output
on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT)
via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB
Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd
Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2
Reply With Quote
  #259  
Old 12-17-2011, 01:24 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by wayner View Post
There appears to be an update on Dec 16 - what's in the update?
See below.

Quote:
Originally Posted by dinki View Post
sure if it its a coincidence but the update fixed my logo problem. Thanks
Major coincidence, there were no changes to the channel logos code in this update.

Quote:
Originally Posted by darcilicious View Post
Can be viewed via the Plugin Manager with "View Updated Plugin Details" after selecting the Plugin.
More details on the 2.31 update over here. This thread is for the Jetty server plugin, the other one is for the nielm web UI plugin.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #260  
Old 01-04-2012, 11:42 AM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,164
This past weekend I had to reinstall Sage (HDD crash) and I have not been able to get this plugin to work since. I may be doing something wrong, please help.

I used the Sage "detailed setup" portion for placeshifters/extenders where it shows you your locator code (aaaa-bbbb-cccc-dddd). It also listed a port number (5 digits). I set my online host manager ("web redirect") that I've always used to this locator code and this port number, and changed the port number and such in the jetty setup to match.

When I try to access the website on my iPod touch, I get a popup "Safari cannot open the page because the network connection was lost."

Could this have anything to do with me using the same port that the placeshifter/extender setup listed? Is it right that I used this, or should I choose another port? I had previously had 8080, but the port I am using now is different (31099, I think?).

I'm hoping someone has seen this exact error message that I'm getting and knows of a simple cure.

TIA.
__________________
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.
Reply With Quote
Reply


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: 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


All times are GMT -6. The time now is 01:27 PM.


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