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

[(sort-of)SOLVED]SchedulesDirect failing to download
http://forums.linhes.org/viewtopic.php?f=14&t=24605
Page 1 of 1

Author:  poflynn [ Thu Dec 22, 2016 10:02 am ]
Post subject:  [(sort-of)SOLVED]SchedulesDirect failing to download

I'm trying to install LH in a VirtualBox VM. I am using the latest VirtualBox version (Version 5.1.10 r112026 (Qt5.6.1), upgraded to ensure this wasn't the problem). Host is CentOS 7.2. Network adapter is set to 'bridged' on VBox (which may be related? I plan on trying are-install using NAT when I have time). I am using all default options in LH other than the static IP addr and assigning a pwd to root.

I couldn't download my TV listings in the setup pages (no error msgs on it so nothing to report here) so I dropped to cmd line and simply tried to curl schedulesdirect.org with no luck. This works fine on my host machine BTW (ie the one running VirtualBox). Inside the LH VM I can curl google.com just fine. I can ping schedulesdirect.org, heck, I can even telnet to port 80! But wget and curl don't work and I'm assuming this is why the listings won't download.

This is quite the mystery to me! I've never seen anything like this before. Any thoughts? Thanks.


Code:
[mythtv@linhes ~]$ curl http://www.schedulesdirect.org
curl: (56) Recv failure: Connection reset by peer
[mythtv@linhes ~]$ curl http://www.google.com
<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="en"><head><meta content="Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for." name="description"><meta content="noodp" name="robots"><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"><meta content="/logos/doodles/2016/steve-bikos-70th-birthday-5759174941081600-hp.png" itemprop="image"><meta content="Steve Biko's 70th birthday #GoogleDoodle" property="og:description"><meta content="http://www.google.com/logos/doodles/2016/steve-bikos-70th-birthday-5759174941081600.8-thp.png" property="og:image"><meta content="550" property="og:image:width"><meta content="225" property="og:image:height"><title>Google</title><script>(function(){window.google={kEI:'BCZXWKqnEcOOjwP2qrL4DQ',kEXPI:'750722,1351903,1352218,1352298,1352397,3700323,4029815,4032678,4038012,4043492,4045841,4048347,4062666,4065786,4067860,4068550,4069839,4069841,4070804,4072602,4072777,4073405,4073728,4073958,4074955,4076096,4076931,4076999,4078430,4078438,4078767,4079105,4079441,4079623,4079894,4080167,4080383,4081037,4081038,4082041,4082217,4082619,4083476,4084343,4084348,4084956,4085336,4085413,4086011,4086788,4086797,4086810,4087191,4087708,4087718,4088644,4089003,4089106,4089181,4089538,4090526,4090657,4090806,4090822,4090830,4090850,4090893,4091308,4091843,8300273,8300481,8300483,8506615,8507380,8507420,8508059,8508065,8508956,8509066,8509225,8509243,10200083,13500022',authuser:0,kscs:'c9c918f0_24'};google.kHL='en';})();(function(){google.lc=[];google.li=0;google.getEI=function(a){for(var b;a&&(!a.getAttribute||!(b=a.getAttribute("eid")));)a=a.parentNode;return b||google.kEI};google.getLEI=function(a){for(var b=null;a&&(!a.getAttribute||!(b=a.getAttribute("leid")));)a=a.parentNode;return b};google.https=function(){return"https:"==window.location.protocol};google.ml=function(){return null};google.wl=function(a,b){try{google.ml(Error(a),!1,b)}catch(c){}};google.time=function(){return(new Date).getTime()};google.log=function(a,b,c,d,g){a=google.logUrl(a,b,c,d,g);if(""!=a){b=new Image;var e=google.lc,f=google.li;e[f]=b;b.onerror=b.onload=b.onabort=function(){delete e[f]};window.google&&window.google.vel&&window.google.vel.lu&&window.google.vel.lu(a);b.src=a;google.li=f+1}};google.logUrl=function(a,b,c,d,g){var e="",f=google.ls||"";c||-1!=b.search("&ei=")||(e="&ei="+google.getEI(d),-1==b.search("&lei=")&&(d=google.getLEI(d))&&(e+="&lei="+d));a=c||"/"+(g||"gen_204")+"?atyp=i&ct="+a+"&cad="+b+e+f+"&zx="+google.time();/^http:/i.test(a)&&google.https()&&(google.ml(Error("a"),!1,{src:a,glmm:1}),a="");return a};google.y={};google.x=function(a,b){google.y[a.id]=[a,b];return!1};google.lq=[];google.load=function(a,b,c){google.lq.push([[a],b,c])};google.loadAll=function(a,b){google.lq.push([a,b])};}).call(this);var a=window.location,b=a.href.indexOf("#");if(0<=b){var c=a.href.substring(b+1);/(^|&)q=/.test(c)&&-1==c.indexOf("#")&&a.replace("/search?"+c.replace(/(^|&)fp=[^&]*/g,"")+"&cad=h")};</script><style>#gbar,#guser{font-size:13px;padding-top:1px !important;}#gbar{height:22px}#guser{padding-bottom:7px !important;text-align:right}.gbh,.gbd{border-top:1px solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}@media all{.gb1{height:22px;margin-right:.5em;vertical-align:top}#gbar{float:left}}a.gb1,a.gb4{text-decoration:underline !important}a.gb1,a.gb4{color:#00c !important}.gbi .gb4{color:#dd8e27 !important}.gbf .gb4{color:#900 !important}
</style><style>body,td,a,p,.h{font-family:arial,sans-serif}body{margin:0;overflow-y:scroll}#gog{padding:3px 8px 0}td{line-height:.8em}.gac_m td{line-height:17px}form{margin-bottom:20px}.h{color:#36c}.q{color:#00c}.ts td{padding:0}.ts{border-collapse:collapse}em{font-weight:bold;font-style:normal}.lst{height:25px;width:496px}.gsfi,.lst{font:18px arial,sans-serif}.gsfs{font:17px arial,sans-serif}.ds{display:inline-box;display:inline-block;margin:3px 0 4px;margin-left:4px}input{font-family:inherit}a.gb1,a.gb2,a.gb3,a.gb4{color:#11c !important}body{background:#fff;color:black}a{color:#11c;text-decoration:none}a:hover,a:active{text-decoration:underline}.fl a{color:#36c}a:visited{color:#551a8b}a.gb1,a.gb4{text-decoration:underline}a.gb3:hover{text-decoration:none}#ghead a.gb2:hover{color:#fff !important}.sblc{padding-top:5px}.sblc a{display:block;margin:2px 0;margin-left:13px;font-size:11px}.lsbb{background:#eee;border:solid 1px;border-color:#ccc #999 #999 #ccc;height:30px}.lsbb{display:block}.ftl,#fll a{display:inline-block;margin:0 12px}.lsb{background:url(/images/nav_logo229.png) 0 -261px repeat-x;border:none;color:#000;cursor:pointer;height:30px;margin:0;outline:0;font:15px arial,sans-serif;vertical-align:top}.lsb:active{background:#ccc}.lst:focus{outline:none}</style><script></script><link href="/images/branding/product/ico/googleg_lodp.ico" rel="shortcut icon"></head><body bgcolor="#fff"><script>(function(){var src='/images/nav_logo229.png';var iesg=false;document.body.onload = function(){window.n && window.n();if (document.images){new Image().src=src;}
if (!iesg){document.f&&document.f.q.focus();document.gbqf&&document.gbqf.q.focus();}
}
})();</script><div id="mngb"> <div id=gbar><nobr><b class=gb1>Search</b> <a class=gb1 href="http://www.google.com/imghp?hl=en&tab=wi">Images</a> <a class=gb1 href="http://maps.google.com/maps?hl=en&tab=wl">Maps</a> <a class=gb1 href="https://play.google.com/?hl=en&tab=w8">Play</a> <a class=gb1 href="http://www.youtube.com/?tab=w1">YouTube</a> <a class=gb1 href="http://news.google.com/nwshp?hl=en&tab=wn">News</a> <a class=gb1 href="https://mail.google.com/mail/?tab=wm">Gmail</a> <a class=gb1 href="https://drive.google.com/?tab=wo">Drive</a> <a class=gb1 style="text-decoration:none" href="https://www.google.com/intl/en/options/"><u>More</u> &raquo;</a></nobr></div><div id=guser width=100%><nobr><span id=gbn class=gbi></span><span id=gbf class=gbf></span><span id=gbe></span><a href="http://www.google.com/history/optout?hl=en" class=gb4>Web History</a> | <a  href="/preferences?hl=en" class=gb4>Settings</a> | <a target=_top id=gb_70 href="https://accounts.google.com/ServiceLogin?hl=en&passive=true&continue=http://www.google.com/" class=gb4>Sign in</a></nobr></div><div class=gbh style=left:0></div><div class=gbh style=right:0></div> </div><center><br clear="all" id="lgpd"><div id="lga"><a href="/search?site=&amp;ie=UTF-8&amp;q=Steve+Biko&amp;oi=ddle&amp;ct=steve-bikos-70th-birthday-5759174941081600-hp&amp;hl=en&amp;sa=X&amp;ved=0ahUKEwiqudu-_P7QAhVDx2MKHXaVDN8QPQgD"><img alt="Steve Biko&#8217;s 70th birthday" border="0" height="225" src="/logos/doodles/2016/steve-bikos-70th-birthday-5759174941081600-hp.png" title="Steve Biko&#8217;s 70th birthday" width="550" id="hplogo" onload="window.lol&&lol()"><br></a><br></div><form action="/search" name="f"><table cellpadding="0" cellspacing="0"><tr valign="top"><td width="25%">&nbsp;</td><td align="center" nowrap=""><input name="ie" value="ISO-8859-1" type="hidden"><input value="en" name="hl" type="hidden"><input name="source" type="hidden" value="hp"><input name="biw" type="hidden"><input name="bih" type="hidden"><div class="ds" style="height:32px;margin:4px 0"><input style="color:#000;margin:0;padding:5px 8px 0 6px;vertical-align:top" autocomplete="off" class="lst" value="" title="Google Search" maxlength="2048" name="q" size="57"></div><br style="line-height:0"><span class="ds"><span class="lsbb"><input class="lsb" value="Google Search" name="btnG" type="submit"></span></span><span class="ds"><span class="lsbb"><input class="lsb" value="I'm Feeling Lucky" name="btnI" onclick="if(this.form.q.value)this.checked=1; else top.location='/doodles/'" type="submit"></span></span></td><td class="fl sblc" align="left" nowrap="" width="25%"><a href="/advanced_search?hl=en&amp;authuser=0">Advanced search</a><a href="/language_tools?hl=en&amp;authuser=0">Language tools</a></td></tr></table><input id="gbv" name="gbv" type="hidden" value="1"></form><div id="gac_scont"></div><div style="font-size:83%;min-height:3.5em"><br></div><span id="footer"><div style="font-size:10pt"><div style="margin:19px auto;text-align:center" id="fll"><a href="/intl/en/ads/">Advertising�Programs</a><a href="/services/">Business Solutions</a><a href="https://plus.google.com/116899029375914044550" rel="publisher">+Google</a><a href="/intl/en/about.html">About Google</a></div></div><p style="color:#767676;font-size:8pt">&copy; 2016 - <a href="/intl/en/policies/privacy/">Privacy</a> - <a href="/intl/en/policies/terms/">Terms</a></p></span></center><script>(function(){window.google.cdo={height:0,width:0};(function(){var a=window.innerWidth,b=window.innerHeight;if(!a||!b)var c=window.document,d="CSS1Compat"==c.compatMode?c.documentElement:c.body,a=d.clientWidth,b=d.clientHeight;a&&b&&(a!=google.cdo.width||b!=google.cdo.height)&&google.log("","","/client_204?&atyp=i&biw="+a+"&bih="+b+"&ei="+google.kEI);}).call(this);})();</script><div id="xjsd"></div><div id="xjsi"><script>(function(){function c(b){window.setTimeout(function(){var a=document.createElement("script");a.src=b;document.getElementById("xjsd").appendChild(a)},0)}google.dljp=function(b,a){google.xjsu=b;c(a)};google.dlj=c;}).call(this);(function(){window.google.xjsrm=[];})();if(google.y)google.y.first=[];if(!google.xjs){window._=window._||{};window._._DumpException=function(e){throw e};if(google.timers&&google.timers.load.t){google.timers.load.t.xjsls=new Date().getTime();}google.dljp('/xjs/_/js/k\x3dxjs.hp.en_US.NvgIAsLVyEw.O/m\x3dsb_he,d/rt\x3dj/d\x3d1/t\x3dzcms/rs\x3dACT90oGNV93J8fosxdIb65eqXMcZr4IaLg','/xjs/_/js/k\x3dxjs.hp.en_US.NvgIAsLVyEw.O/m\x3dsb_he,d/rt\x3dj/d\x3d1/t\x3dzcms/rs\x3dACT90oGNV93J8fosxdIb65eqXMcZr4IaLg');google.xjs=1;}google.pmc={"sb_he":{"agen":true,"cgen":true,"client":"heirloom-hp","dh":true,"dhqt":true,"ds":"","fl":true,"host":"google.com","isbh":28,"jam":0,"jsonp":true,"msgs":{"cibl":"Clear Search","dym":"Did you mean:","lcky":"I\u0026#39;m Feeling Lucky","lml":"Learn more","oskt":"Input tools","psrc":"This search was removed from your \u003Ca href=\"/history\"\u003EWeb History\u003C/a\u003E","psrl":"Remove","sbit":"Search by image","srch":"Google Search"},"nds":true,"ovr":{},"pq":"","refpd":true,"rfs":[],"scd":10,"sce":5,"stok":"19LMoOd-B_eyxy-_m-X1Ov29qlQ"},"d":{}};google.y.first.push(function(){if(google.med){google.med('init');google.initHistory();google.med('history');}});if(google.j&&google.j.en&&google.j.xi){window.setTimeout(google.j.xi,0);}
</script></div></body></html>
[mythtv@linhes ~]$ telnet schedulesdirect.org 80
Trying 52.3.57.155...
Connected to schedulesdirect.org.
Escape character is '^]'.
GET
HTTP/1.1 400 Bad Request
Date: Mon, 19 Dec 2016 00:13:32 GMT
Server: Apache/2.4.18 (Amazon) OpenSSL/1.0.1k-fips PHP/5.4.45 mod_perl/2.0.7 Perl/v5.16.3
Content-Length: 226
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
</body></html>
Connection closed by foreign host.
[mythtv@linhes ~]$ curl http://www.schedulesdirect.org
curl: (56) Recv failure: Connection reset by peer
                                                                               
Broadcast message from root@linhes.local (somewhere) (Sun Dec 18 16:53:51 2016)
                                                                               
Condition red myth_mtc on linhes.local                                         
See the system health webpage.                                                 
                                                                               

[mythtv@linhes ~]$ wget http://www.schedulesdirect.org
--2016-12-18 20:23:41--  http://www.schedulesdirect.org/
Resolving www.schedulesdirect.org (www.schedulesdirect.org)... 52.3.57.155
Connecting to www.schedulesdirect.org (www.schedulesdirect.org)|52.3.57.155|:80... connected.
HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Retrying.

--2016-12-18 20:38:42--  (try: 2)  http://www.schedulesdirect.org/
Connecting to www.schedulesdirect.org (www.schedulesdirect.org)|52.3.57.155|:80... connected.
HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Retrying.

--2016-12-18 20:53:44--  (try: 3)  http://www.schedulesdirect.org/
Connecting to www.schedulesdirect.org (www.schedulesdirect.org)|52.3.57.155|:80... connected.
HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Retrying.

--2016-12-18 21:08:47--  (try: 4)  http://www.schedulesdirect.org/
Connecting to www.schedulesdirect.org (www.schedulesdirect.org)|52.3.57.155|:80... connected.
HTTP request sent, awaiting response... ^C
[mythtv@linhes ~]

Author:  poflynn [ Sun Dec 25, 2016 7:03 pm ]
Post subject:  Re: SchedulesDirect failing to download

I think I hit an obscure VirtualBox issue when using bridged networking. I tried the suggested fix below and it didn't work so I swapped out the NIC and now all is working fine. Weird, oh well.

https://forums.virtualbox.org/viewtopic ... 32&start=0

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