sitespeedio / sitespeed.io

sitespeed.io is an open-source tool for comprehensive web performance analysis, enabling you to test, monitor, and optimize your website’s speed using real browsers in various environments.
https://www.sitespeed.io/
MIT License
4.73k stars 601 forks source link

Unknown Information showing up after From IP instead of my IP #393

Closed iamkevingreen closed 10 years ago

iamkevingreen commented 10 years ago

I am not entirely sure what has happened since sitespeed.io has worked flawlessly for a while but I am getting some really weird results and failures after crawling the page. More interesting is that when the test starts up:

Using sitespeed.io version 2.3 Using PhantomJS version 1.9.2 Using Java version 1.6.0_65 Using BrowserTime version 0.5 From IP

That looks fine but 'From IP' is blank and right after that this block of code shows up from some random swedish site that I am not testing:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" ><!-- Source is http://www.binero.se/webbhotell -->
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Binero - v&auml;nligast p&aring; webbhotell | Apache Cluster</title>
    <style type="text/css" media="screen">
        body {
            margin: 0;
            padding: 0;
            background: #666;
            color: #666;
            font-family: "Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
        }

        #toolbarwrapper {
            height: 36px;
            background: #cef415 url(http://www.binero.se/park_images/bg_toolbar.png) repeat-x;
            white-space:nowrap;
        }

        #toolbar, #top {
            margin: 0 auto;
            width: 800px;
        }

        #toolbar p {
            padding-top: 5px;
        }

        #topwrapper {
            clear: both;
            height: 120px;
            background: #666 url(http://www.binero.se/park_images/bg_top.png) repeat-x bottom;
        }

        #logo {
            float: left;
            margin: 60px 0 0 0;
            background: url(https://webmail.binero.se/skins/logo.gif) no-repeat;
            font-size: 5px;
            text-indent: -2500px;
            height: 61px;
            width: 248px;
        }
        #letterhead {
            float: right;
            margin: 75px 0 0 0;
            font-size: 1em;
        }
        #mainwrapper {
            background: #fff url(http://www.binero.se/_img/bg_mainwrapper.png) repeat-y center;
            border-bottom: 2px solid #bebebe;
            padding-bottom: 15px;
        }

        #mainwrapper2 {
            background: url(http://www.binero.se/_img/bg_topline.gif) repeat-x top;
        }

        #main {
            margin: 0 auto 15px auto;
            width: 896px;
            border: 2px solid #fff;
            background: #fff;
        }
        #content {
            width: 800px;
            padding: 48px;
            background: url(http://www.binero.se/_img/bg_content.png) repeat-x top;
        }

        #sidebar {
            float: left;
            padding: 20px 10px 10px 10px;
            width: 136px;
            min-height: 280px;
            background: url(http://www.binero.se/park_images/bg_sidebar.png) no-repeat top left;
        }
        ol#substeps {
            margin: 0;
            padding: 0;
            list-style: decimal inside;
        }

        ol#substeps li {
            background: none;
            margin: 0;
            padding: 5px;
            font-size: 0.7em;
            color: #999;
        }
        #footer {
            width: 650px;
            margin: 30px auto;
        }
        #footer a {
            color: #999;
        }
        #footer p {
            color: #999;
            font-size: 0.7em;
        }
        h2 {
            font-size: 1.5em;
            font-weight: normal;
            color: #95b00f;
            margin: 0 0 0.5em 0;
        }

        h3, h4, h5, h6 {
            margin: 0 0 0.5em 0;
        }

        p {
            font-size: 0.8em;
            color: #666;
            margin: 0 0 1em 0;
        }

        a {
            color: #666;
        }

        a:hover {
            color: #333;
        }

        ul {
            margin: 0 0 15px 15px;
            padding: 0;
            list-style: none;
        }

        li {
            background: url(http://www.binero.se/park_images/bullet_arrow.gif) no-repeat 0 5px;
            margin: 0 0 10px 0;
            padding: 0 0 0 15px;
            font-size: 0.8em;
        }

        ol li {
            background: none;
            padding: 0;
        }
        img {
            border: none;
        }
        .clear {
            clear: both;
        }
        .paket {
            float: left;
            background: url(http://www.binero.se/_img/bg_pmiddle.png) no-repeat 0 64px;
            height: 210px;
            width: 266px;
        }

        #p_foretag {
            margin: 0 1px;
        }

        .paket h3 {
            height: 64px;
            margin: 0;
            text-indent: -3000px;
        }

        #p_privat h3 {
            background: url(http://www.binero.se/_img/bg_pprivat.png) no-repeat top;
        }

        #p_foretag h3 {
            background: url(http://www.binero.se/_img/bg_pforetag.png) no-repeat top;
        }

        #p_doman h3 {
            background: url(http://www.binero.se/_img/bg_pdoman.png) no-repeat top;
        }

        .paket ul {
            height: 109px;
            margin: 0 0 0 25px;
            padding: 0;
            list-style: none;
        }

        .paket ul li {
            margin: 0 0 1px 0;
            padding: 0 0 0 15px;
            font-size: 0.7em;
            line-height: 1.4em;
            color: #666;
            background: url(http://www.binero.se/_img/bullet_arrow.gif) no-repeat 0 3px;
        }

        a.p_bestall {
            background: url(http://www.binero.se/_img/bg_pbottom.png) no-repeat top;
            display: block;
            height: 37px;
            text-indent: -3000px;
        }

        a.p_bestall2 {
            background: url(http://www.binero.se/_img/bg_pbottom2.png) no-repeat top;
            display: block;
            height: 37px;
            text-indent: -3000px;
        }
        #homeleft {
            float: left;
            width: 509px;
            margin-right: 25px;
            margin-top: 25px;
        }

        #homeright {
            float: left;
            width: 241px;
            padding-left: 25px;
            margin-top: 25px;
            min-height: 230px;
            background: url(http://www.binero.se/_img/bg_sidebar.png) no-repeat top left;
        }

        #homeright p {
            font-size: 0.8em;
        }

        #homeright h3 {
            font-weight: normal;
            color: #73890c;
            margin: 0 0 10px 0;
        }

        #domainprices {
            height: 202px;
            width: 509px;
            background: url(http://www.binero.se/_img/img_home_domainprices.png) no-repeat;
        }

        #domainprices h2, #domainprices p {
            font-size: 3px;
            text-indent: -5000px;
        }

        a.domainprices {
            display: block;
            height: 202px;
            width: 509px;
            background: url(http://www.binero.se/_img/img_home_domainprices.png) no-repeat;
        }

        a.domainprices span {
            font-size: 3px;
            text-indent: -5000px;
        }
    </style>
</head>
<body>
        <div id="topwrapper">
            <div id="top">
                <h1 id="logo">Binero</h1>
                <!--<h2 id="letterhead">Apache Cluster</h2>-->
            </div>
        </div>
        <div id="mainwrapper">
            <div id="mainwrapper2">
                    <div id="main">
                        <div id="content">
                      <div id="homeleft">
<b>V&auml;lkommen till Binero Apache Cluster</b><br><br>Denna sida visas f&ouml;r dom&auml;nnamn som inte &auml;nnu konfigurerats upp i alla webbservrar i klustret.<br>Om du nyligen skapat din webbplats i kontrollpanelen s&aring; kommer den synas p&aring; adressen inom kort<br><br><br>This page is shown for requests to domainnames that have not yet been configured by all the of webservers in the cluster.<br>If you added your website recently it will show up here shortly.                      
                        </div>
                        <br class="clear"  />
                    </div>
                </div>
            </div>
        </div>
        <div id="footer">
            <div id="footerleft">
                <p id="copyright"><strong>Copyright &copy; 2001-2013 Binero AB</strong>, Jan Stenbecks Torg 17, 164 50 Kista<br />
                <strong>Telefon:</strong> 020-24 08 00, <strong>Fr&aring;n mobil:</strong> 0771-24 08 00, <strong>Fax:</strong> 08-514 80 140<br />
                <strong>E-post:</strong> <a href="mailto:info@binero.se">info@binero.se</a>, <strong>WWW:</strong> <a href="http://www.binero.se">www.binero.se</a></p>
            </div>
        </div>
        <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
        </script>
        <script type="text/javascript">
            _uacct = "UA-1689104-1";
            urchinTracker();
        </script>
</body>
</html>

I am testing sites on my local that I have vhosts set up for, my test are now failing similarly to how others have posted with the org.jdom2...

Create result.xml
Create the summary.xml
Exception in thread "main" org.jdom2.input.JDOMParseException: Error on line 1 of document file:/Volumes/Master/barrelimac24/Sites/speedtests/sitespeed-result/testrocking.com/2014-03-05-11-34-31/data/result.xml: The value of attribute "ip" associated with an element type "null" must not contain the '<' character.
    at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:228)
    at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:277)
    at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:264)

I think the real issue is that random block of code from binero... does anyone know how that might be showing up or why? Also to clarify that block of code shows up for any of the sites I test on my local.

soulgalore commented 10 years ago

Hi @iamkevingreen ! Which version are you running? the latest stable should have a fix for this. The problem was that I had a bad handling of when the IP number provider fails, it fails hard as you see. Please get back if the latest work or not.

Best Peter

iamkevingreen commented 10 years ago

It looks like I can only brew install 2.3 @soulgalore

I was able to run it directly from the cloned repo but wondering when the brew tap would be updated?

Any help appreciated :dancer:

soulgalore commented 10 years ago

Hi @iamkevingreen , ah no problem. Do it like this:

$ brew update
$ brew upgrade

Then you will fetch the latest released version. The first command fetch all new formulaes, and then install all the new ones.

Best Peter

iamkevingreen commented 10 years ago

awesome, works great again :+1:

soulgalore commented 10 years ago

great :)