LinHES Forums
http://forum.linhes.org/

can't retrieve newsfeeds or weather
http://forum.linhes.org/viewtopic.php?f=17&t=6936
Page 1 of 2

Author:  rkhanso [ Tue Nov 15, 2005 4:42 pm ]
Post subject:  can't retrieve newsfeeds or weather

When trying to view newsfeeds (yes, I did set up which ones to get in 'setup') I get an error:
failed to retrieve newsfeeds

additionally, the mythweather doesn't work either - timeouts message window pops up when trying to get weather.

I can reach the internet from mythtv box (tv listings work fine)


Possibly related? I get this when trying to view myth weather from the mythweb interface
Code:
Error
The system administrator has been notified and the problem will be remedied shortly.


--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Warning at /usr/share/mythtv/mythweb/weather.php, line 104:
file(http://www.msnbc.com/m/chnk/d/weather_d_src.asp?acid=USMN0507): failed to open stream: HTTP request failed! 䳘+
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Error
The system administrator has been notified and the problem will be remedied shortly.


--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Warning at /usr/share/mythtv/mythweb/weather.php, line 106:
Invalid argument supplied for foreach()
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Error
The system administrator has been notified and the problem will be remedied shortly.


--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Warning at /usr/share/mythtv/mythweb/weather.php, line 209:
file(http://w3.weather.com/weather/map/USMN0507?from=LAPmaps&setcookie=1): failed to open stream: HTTP request failed! Tv
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Error
The system administrator has been notified and the problem will be remedied shortly.


--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Warning at /usr/share/mythtv/mythweb/weather.php, line 210:
Invalid argument supplied for foreach()
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Error
The system administrator has been notified and the problem will be remedied shortly.


--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Warning at /usr/share/mythtv/mythweb/weather.php, line 220:
Invalid argument supplied for foreach()


traceroute to IP works fine
Code:
root@pvr:/var/log$ traceroute 205.171.2.65
traceroute to 205.171.2.65 (205.171.2.65), 30 hops max, 38 byte packets
 1  copper (10.0.0.1)  0.833 ms  0.334 ms  0.232 ms
 2  * * *
 3  mpls-dsl-gw10-202.mpls.qwest.net (207.225.140.202)  49.432 ms  50.452 ms  49.203 ms
 4  mpls-agw1.inet.qwest.net (207.225.140.125)  50.096 ms  50.232 ms  49.558 ms
 5  mpl-core-01.inet.qwest.net (205.171.128.21)  73.331 ms  49.561 ms  50.112 ms
 6  resolver2.qwest.net (205.171.2.65)  50.095 ms  48.582 ms  50.085 ms
root@pvr:/var/log$

and to URL kinda works (although I can ping domain names with no problem from myth box)
Code:
mythtv@pvr:/var/log$ traceroute cisco.com
traceroute to cisco.com (198.133.219.25), 30 hops max, 38 byte packets
 1  copper (10.0.0.1)  0.475 ms  0.281 ms  0.208 ms
 2  * * *
 3  mpls-dsl-gw10-202.mpls.qwest.net (207.225.140.202)  48.345 ms  48.573 ms  49.944 ms
 4  mpls-agw1.inet.qwest.net (207.225.140.93)  49.968 ms  49.011 ms  49.972 ms
 5  mpl-core-01.inet.qwest.net (205.171.128.21)  50.406 ms  50.064 ms  49.881 ms
 6  cer-core-01.inet.qwest.net (205.171.205.62)  59.054 ms  59.328 ms  58.072 ms
 7  cer-brdr-01.inet.qwest.net (205.171.139.58)  59.043 ms  58.924 ms  58.792 ms
 8  qwest-gw.cgcil.ip.att.net (192.205.32.97)  60.026 ms  58.852 ms  58.811 ms
 9  tbr1-p032501.cgcil.ip.att.net (12.122.82.13)  107.439 ms  107.366 ms  109.535 ms
10  tbr1-cl1.sffca.ip.att.net (12.122.10.6)  106.597 ms  107.372 ms  108.541 ms
11  gbr5-p100.sffca.ip.att.net (12.122.11.74)  99.913 ms  101.742 ms  99.684 ms
12  gar1-p360.sj2ca.ip.att.net (12.122.2.253)  104.564 ms  104.661 ms  108.541 ms
13  12.127.200.82 (12.127.200.82)  100.930 ms  101.639 ms  100.849 ms
14  sjck-dmzbb-gw1.cisco.com (128.107.239.9)  100.907 ms  100.517 ms  101.379 ms
15  sjck-dmzdc-gw1.cisco.com (128.107.224.65)  101.345 ms  101.973 ms  102.155 ms
16  * * *
17  * * *

mythtv@pvr:/var/log$ ping cisco.com
PING cisco.com (198.133.219.25) 56(84) bytes of data.
64 bytes from www.cisco.com (198.133.219.25): icmp_seq=1 ttl=113 time=103 ms
64 bytes from www.cisco.com (198.133.219.25): icmp_seq=4 ttl=113 time=101 ms
64 bytes from www.cisco.com (198.133.219.25): icmp_seq=5 ttl=113 time=100 ms
64 bytes from www.cisco.com (198.133.219.25): icmp_seq=9 ttl=113 time=103 ms
64 bytes from www.cisco.com (198.133.219.25): icmp_seq=10 ttl=113 time=103 ms
64 bytes from www.cisco.com (198.133.219.25): icmp_seq=13 ttl=113 time=102 ms
64 bytes from www.cisco.com (198.133.219.25): icmp_seq=14 ttl=113 time=101 ms

--- cisco.com ping statistics ---
14 packets transmitted, 7 received, 50% packet loss, time 13020ms
rtt min/avg/max/mdev = 100.719/102.318/103.409/1.042 ms
mythtv@pvr:/var/log$
So, I don't think it's a network problem since I can ping both IP Addresses and URL's from the Mythtv box.

Suggestions?

Author:  rkhanso [ Wed Nov 16, 2005 12:24 pm ]
Post subject: 

Some of the newsfeeds mysteriously started working but the weather is still a dud.

I get the immediate timeout window popping up.

I see others have weather problems on thread:
http://www.mysettopbox.tv/phpBB2/viewto ... 0411#40411

Author:  zetoune [ Wed Nov 16, 2005 6:44 pm ]
Post subject: 

try to update your zip code in settings table in mysql.

Follow this thread http://mysettopbox.tv/phpBB2/viewtopic.php?t=6678

Author:  rkhanso [ Thu Nov 17, 2005 6:55 am ]
Post subject: 

I followed the instructions in that thread you mentioned about checking Webmin, but my zip code does appear correctly in the database
Code:
value data hostname
locale 55345 pvr
Still not working correctly.

Author:  gcstanley [ Thu Mar 23, 2006 11:43 am ]
Post subject: 

rkhanso wrote:
I followed the instructions in that thread you mentioned about checking Webmin, but my zip code does appear correctly in the database
Code:
value data hostname
locale 55345 pvr
Still not working correctly.


I'm having this exact same problem and can't figure it out. Mythweather, news, and netflix do not work. Mythweather timesout as soon as its loaded. I've tried every fix i've seen and nothing seems to work. Weather on mythweb works fine and pulls up the correct weather listing.

Any ideas?

Author:  sk6 [ Thu Mar 23, 2006 12:07 pm ]
Post subject: 

the following worked fo me:
* disconnect the network (i phisically disconnected the cable)
* change the weather settings
* reconnect the network.

let us know how you got on.

Author:  whitlabell [ Thu May 25, 2006 4:13 pm ]
Post subject: 

Yep - worked for me. Cheers. :lol:

Author:  mjl [ Thu May 25, 2006 9:15 pm ]
Post subject: 

Hi rkhanso,
Check your ownership in the /myth/ folder. ls -al /myth
Some times this one is incorrect:
drwxrwxr-t 2 mythtv www-data 4096 May 14 15:37 image_cache

Also check
ls -al /var/www/mythweb/php_sessions is owned:grouped properly.
drwxr-xr-x 13 www-data www-data 4096 May 15 09:03 ..

I think one of those is the issue.
Mike

Author:  rkhanso [ Sun Jun 11, 2006 8:17 am ]
Post subject: 

mjl wrote:
Hi rkhanso,
Check your ownership in the /myth/ folder. ls -al /myth
Some times this one is incorrect:
drwxrwxr-t 2 mythtv www-data 4096 May 14 15:37 image_cache

Also check
ls -al /var/www/mythweb/php_sessions is owned:grouped properly.
drwxr-xr-x 13 www-data www-data 4096 May 15 09:03 ..

I think one of those is the issue.
Mike
I'm not sure what folder you're talking about, but most are set the same:
Code:
mythtv@pvr:/myth$ ls -la
total 120
drwxr-xr-x  19 root     root      4096 Feb 13 08:25 .
drwxr-xr-x  25 root     root      4096 Jan 29 23:43 ..
drwxr-xr-x   6 www-data www-data  4096 Oct 19  2004 avimanager
drwxrwxr-x   2 mythtv   mythtv    4096 Apr 28 14:18 backup
drwxr-xr-x   2 mythtv   mythtv    4096 Sep 13  2005 cache
drwxrwxr-x   3 mythtv   mythtv    4096 Nov 11  2005 gallery
drwxrwxr-x   6 mythtv   mythtv    4096 Nov  7  2005 games
drwxrwxrwx   2 mythtv   mythtv    8192 Jun  8 13:07 image_cache
drwx------   2 mythtv   mythtv   16384 Nov  7  2005 lost+found
drwxrwxr-x   2 mythtv   mythtv    4096 Nov 26  2005 music
drwxr-xr-x  10 mythtv   root      4096 Apr 19 17:04 mystuff
drwxr-xr-x  15 root     root      4096 Nov  7  2005 mythburn
drwxrwxr-x   8 mythtv   mythtv    4096 Aug 31  2005 nuv2disc
drwxr-xr-x   2 mythtv   mythtv   20480 Jun 11 08:17 pretty
drwxrwxrwx   2 mythtv   mythtv    4096 Nov 25  2005 stream
drwxr-xr-x   3 mythtv   root      4096 Mar 19 06:13 temp
drwxrwxr-x   2 mythtv   mythtv    4096 Feb 15 03:07 tmp
drwxrwxr-x   2 mythtv   mythtv   16384 Jun 11 08:21 tv
drwxrwxr-x   3 mythtv   mythtv    4096 Jun  1 09:13 video

And:
Code:
mythtv@pvr:/var/www/mythweb$ ls -la
total 180
drwxr-xr-x  10 root root 4096 Nov  7  2005 .
drwxr-xr-x   9 root root 4096 Sep 13  2005 ..
lrwxrwxrwx   1 root root   33 Nov  7  2005 .htaccess -> /etc/mythtv/mythweb-htaccess.conf
lrwxrwxrwx   1 root root   44 Nov  7  2005 backgroundthumbnails -> /myth/mythburn/images/backgrounds/thumbnails
-rw-r--r--   1 root root  781 Sep 13  2005 canned_searches.php
-rw-r--r--   1 root root 3250 Sep 13  2005 channel_detail.php
drwxr-xr-x   2 root root 4096 Nov  7  2005 config
lrwxrwxrwx   1 root root   31 Nov  7  2005 highlightthumbnails -> /myth/mythburn/images/highlight
lrwxrwxrwx   1 root root   17 Nov  7  2005 image_cache -> /myth/image_cache
drwxr-xr-x   4 root root 4096 Sep 13  2005 images
drwxr-xr-x   2 root root 4096 Sep 13  2005 includes
-rw-r--r--   1 root root  157 Sep 13  2005 index.html
drwxr-xr-x   2 root root 4096 Sep 13  2005 js
drwxr-xr-x   2 root root 4096 Nov  7  2005 languages
-rwxr-xr-x   1 root root  797 Sep 13  2005 log.php
lrwxrwxrwx   1 root root   11 Nov  7  2005 music -> /myth/music
-rw-r--r--   1 root root 8069 Sep 13  2005 music.php
lrwxrwxrwx   1 root root   11 Nov  7  2005 music_dir -> /myth/music
lrwxrwxrwx   1 root root   11 Nov  7  2005 music_url -> /myth/music
lrwxrwxrwx   1 root root   19 Nov  7  2005 mythburnconf -> /myth/mythburn/conf
-rw-r--r--   1 root root 4135 Nov  7  2005 mythstreamtv.php
-rw-r--r--   1 root root  991 Nov  7  2005 mythstreamtv_confirm.php
-rw-r--r--   1 root root 2115 Nov  7  2005 mythstreamtv_createfile.php
lrwxrwxrwx   1 root root   44 Nov  7  2005 mythtvburndvd.php -> /myth/mythburn/mythwebburn/mythtvburndvd.php
lrwxrwxrwx   1 root root   52 Nov  7  2005 mythtvburndvd_confirm.php -> /myth/mythburn/mythwebburn/mythtvburndvd_confirm.php
lrwxrwxrwx   1 root root   54 Nov  7  2005 mythtvburndvd_createdvd.php -> /myth/mythburn/mythwebburn/mythtvburndvd_createdvd.php
lrwxrwxrwx   1 root root   20 Nov  7  2005 mythtvburnmusic -> /myth/mythburn/music
-rw-r--r--   1 root root 6838 Sep 13  2005 program_detail.php
-rw-r--r--   1 root root 1933 Sep 13  2005 program_listing.php
-rw-r--r--   1 root root 6892 Sep 13  2005 recorded_programs.php
-rw-r--r--   1 root root 1694 Sep 13  2005 recording_schedules.php
-rw-r--r--   1 root root 7679 Sep 13  2005 schedule_manually.php
-rw-r--r--   1 root root 5225 Sep 13  2005 scheduled_recordings.php
-rw-r--r--   1 root root 8818 Sep 13  2005 search.php
-rw-r--r--   1 root root  655 Sep 13  2005 settings.php
-rw-r--r--   1 root root 3258 Sep 13  2005 settings_channels.php
-rw-r--r--   1 root root 3528 Sep 13  2005 settings_keys.php
-rw-r--r--   1 root root 5109 Sep 13  2005 settings_mythweb.php
-rw-r--r--   1 root root 1557 Sep 13  2005 status.php
drwxr-xr-x   2 root root 4096 Sep 13  2005 templates
drwxr-xr-x   6 root root 4096 Sep 13  2005 themes
-rw-r--r--   1 root root 4550 Sep 13  2005 video.php
lrwxrwxrwx   1 root root    8 Nov  7  2005 video_dir -> /myth/tv
-rw-r--r--   1 root root 4594 Sep 13  2005 video_edit.php
lrwxrwxrwx   1 root root   19 Nov  7  2005 video_img -> /myth/video/.covers
lrwxrwxrwx   1 root root   11 Nov  7  2005 video_url -> /myth/video
drwxr-xr-x   3 root root 4096 Sep 13  2005 vxml
-rw-r--r--   1 root root 8137 Sep 13  2005 weather.php

Does it look correct?

Author:  mjl [ Sun Jun 11, 2006 11:25 am ]
Post subject: 

Hi

root@KnoppMyth-13:~# ls -al /myth
total 84
drwxr-xr-x 18 root root 4096 Jun 9 01:17 .
drwxr-xr-x 27 root root 4096 Jun 8 23:58 ..
drwxr-xr-x 6 www-data www-data 4096 Oct 19 2004 avimanager
drwxrwxr-x 2 mythtv mythtv 4096 Jun 10 01:32 backup
drwxr-xr-x 2 mythtv mythtv 4096 Sep 13 2005 cache
drwxrwxr-x 3 mythtv mythtv 4096 Jun 9 00:56 gallery
drwxrwxr-x 6 mythtv mythtv 4096 Jun 8 00:17 games
drwxrwxr-t 2 mythtv www-data 4096 Dec 10 2005 image_cache
drwx------ 2 mythtv mythtv 16384 Jun 8 20:41 lost+found
drwxrwxr-x 3 mythtv mythtv 4096 Jun 9 00:28 music
drwxr-xr-x 15 root root 4096 Jun 9 00:00 mythburn
drwxrwxr-x 8 mythtv mythtv 4096 Aug 31 2005 nuv2disc
drwxr-xr-x 2 mythtv mythtv 4096 Nov 5 2005 saytime
drwxrwxrwx 2 mythtv mythtv 4096 Jun 8 00:20 stream
drwxrwxr-x 2 mythtv mythtv 4096 Jun 8 00:17 tmp
drwxr-xr-x 4 mythtv mythtv 4096 Jun 9 01:56 tools
drwxrwxr-x 2 mythtv mythtv 4096 Jun 11 00:29 tv
drwxrwxr-x 3 mythtv mythtv 4096 Jun 8 00:17 video

root@KnoppMyth-13:~# ls -al /var/www/mythweb/php_sessions
total 16
drwxrwxrwx 2 root root 4096 Jun 9 00:58 .
drwxr-xr-x 10 root root 4096 Jun 9 01:57 ..
-rw------- 1 www-data www-data 448 Jun 9 00:24 sess_6f062e5790894387f3da15d46e42cfd2
-rw------- 1 www-data www-data 509 Jun 9 00:58 sess_7c56fb4859b9a4210065251a8ceb8a05

I have no idea what a session is..
Mike

Author:  tjc [ Sun Jun 11, 2006 12:35 pm ]
Post subject: 

mjl wrote:
I have no idea what a session is..

It's just that, a mythweb session, for example when you log in as mythtv, and then various bits of information like the current search terms and you prefered date/time formats persist. Some of this can be fiddled on the "session" page in mythweb: http://YOURMACHINE/mythweb/settings/session

Author:  mjl [ Sun Jun 11, 2006 12:41 pm ]
Post subject: 

Hi tjc,
Thank you,
I was thinking along those lines by relating to the "session cookies" in mozilla.
Mike

Author:  akoebbe [ Tue Jul 04, 2006 1:21 pm ]
Post subject: 

Ok. So did we ever figure out the problem. I have tried pulling the network and setting the weather location. It shows up in my database, but I'm still have the same problem of the time out message poping up right away. Newsfeeds and Netflix also not working.

And yes I too can access the internet from the myth box.

Author:  akoebbe [ Tue Jul 04, 2006 1:56 pm ]
Post subject: 

Looks like it's my DansGuardian install that's causing the problem. I'll continue in that direction. Any one else find why or a way to fix his when using dansguardian?

Author:  akoebbe [ Tue Jul 04, 2006 1:58 pm ]
Post subject: 

Man, I keep answering my own questions!

http://www.mcnabbs.org/andrew/linux/dansguardian/

There is great information in that page.

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/