Seeking debug information from those with blank screen problems

OK I see what I did wrong, I think that error should be fixed now.

How are the blank screens now, and if you still see them, are there new errors on the JS console?

1 Like

I got a blank screen and “…” PM boxes on opening OGS just now. Refresh fixed it, but I got a private-game popup from the home page after the refresh. Javascript console below:

online-go.com/:227 Welcome to OGS
ogs.5.0-456-g753f1cb.js:32 TODO: Need to ask for notification permissions
ogs.5.0-456-g753f1cb.js:30 updateFriends
ogs.5.0-456-g753f1cb.js:1 Fetching 64817 for fields Array[0]
ogs.5.0-456-g753f1cb.js:1 Connection to server established
ogs.5.0-456-g753f1cb.js:30 updateFriends
ogs.5.0-456-g753f1cb.js:30 Updated friends
ogs.5.0-456-g753f1cb.js:1 Fetching 51599 for fields Array[0]
11ogs.5.0-456-g753f1cb.js:1 Not allowed to access this game
E @ ogs.5.0-456-g753f1cb.js:1
ladders Failed to load resource: the server responded with a status of 520 ()
ogs.5.0-456-g753f1cb.js:1 /api/v1/me/ladders 520 error
error @ ogs.5.0-456-g753f1cb.js:1
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
A @ jquery.min.js:4
(anonymous) @ jquery.min.js:4
ogs.5.0-456-g753f1cb.js:1 Error
at o (ogs.5.0-456-g753f1cb.js:1)
at Object.i [as get] (ogs.5.0-456-g753f1cb.js:1)
at t.componentDidMount (ogs.5.0-456-g753f1cb.js:40)
at e.notifyAll (react-dom.min.js:12)
at r.close (react-dom.min.js:14)
at r.closeAll (react-dom.min.js:15)
at r.perform (react-dom.min.js:15)
at s (react-dom.min.js:14)
at r.perform (react-dom.min.js:15)
at Object.batchedUpdates (react-dom.min.js:14)
error @ ogs.5.0-456-g753f1cb.js:1
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
A @ jquery.min.js:4
(anonymous) @ jquery.min.js:4
ogs.5.0-456-g753f1cb.js:40 Caught Object {readyState: 4, responseText: “↵↵↵”, status: 520, statusText: “error”}

White Blank screen is fixed for me after your change. Both for FireFox and also for iphone Safari.
Thank you very much!

The blank screen is gone for me (android, stock browser) but the layout is somewhat muddled and the chat doesn’t appear in the game page.
Everything works fine in chrome.

Thanks for dealing with this!
I think I’ll play in chrome from now on because I discovered it handles the volume is handled much better. :slight_smile:

Hi,

The new OGS front end seems to be a problem in various browsers an devices. Now, instead of a blank screen I get a very very small goban at the top of the screen, and most buttons and ad overlapping each other. Most problems I encounter are in ios devices thought… I guess these are normal growing pains. I’ll send a screenshot when later on (I cannot attach images here, for some reason, so need to transfer the screenshot to a laptop first)

Here’s the screen shot - note the minute goban just above the tournament link :slight_smile:

1 Like

Qutebrowser will now load OGS, but it renders the same as Bacalouca’s image shown above.

Hi anoek - I’ve had no joy yet accessing the debug console, but I have a copy of the source code ‘behind’ the blank screen, if this is of any help. At the top of the blank page is the https: etc address, with the OGS/padlock icon to the left. The phone is a Huawei Ascend Y300, Android version 4.1.1. If the following is of no use to you, I’ll have another crack at the debug console. Thanks again for a great site :grinning:

<!doctype html>

OGS
  <meta name="viewport" content="width=device-width">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="format-detection" content="telephone=no">
  <meta name="application-name" content="Online-Go.com"/>

  <link rel="shortcut icon" href="https://cdn.online-go.com/icons/favicon.ico" type="image/x-icon" />
  <link rel="apple-touch-icon" sizes="57x57" href="https://cdn.online-go.com/icons/apple-touch-icon-57x57.png">
  <link rel="apple-touch-icon" sizes="60x60" href="https://cdn.online-go.com/icons/apple-touch-icon-60x60.png">
  <link rel="apple-touch-icon" sizes="72x72" href="https://cdn.online-go.com/icons/apple-touch-icon-72x72.png">
  <link rel="apple-touch-icon" sizes="76x76" href="https://cdn.online-go.com/icons/apple-touch-icon-76x76.png">
  <link rel="apple-touch-icon" sizes="114x114" href="https://cdn.online-go.com/icons/apple-touch-icon-114x114.png">
  <link rel="apple-touch-icon" sizes="120x120" href="https://cdn.online-go.com/icons/apple-touch-icon-120x120.png">
  <link rel="apple-touch-icon" sizes="144x144" href="https://cdn.online-go.com/icons/apple-touch-icon-144x144.png">
  <link rel="apple-touch-icon" sizes="152x152" href="https://cdn.online-go.com/icons/apple-touch mo-icon-152x152.png">
  <link rel="apple-touch-icon" sizes="180x180" href="https://cdn.online-go.com/icons/apple-touch-icon-180x180.png">
  <link rel="icon" type="image/png" href="https://cdn.online-go.com/icons/favicon-16x16.png" sizes="16x16">
  <link rel="icon" type="image/png" href="https://cdn.online-go.com/icons/favicon-32x32.png" sizes="32x32">
  <link rel="icon" type="image/png" href="https://cdn.online-go.com/icons/favicon-96x96.png" sizes="96x96">
  <link rel="icon" type="image/png" href="https://cdn.online-go.com/icons/android-chrome-192x192.png" sizes="192x192">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="msapplication-square70x70logo" content="https://cdn.online-go.com/icons/smalltile.png" />
  <meta name="msapplication-square150x150logo" content="https://cdn.online-go.com/icons/mediumtile.png" />
  <meta name="msapplication-wide310x150logo" content="https://cdn.online-go.com/icons/widetile.png" />
  <meta name="msapplication-square310x310logo" content="https://cdn.online-go.com/icons/largetile.png" />
  <meta name="msapplication-TileColor" content="#DDB06D" />
  <meta name="msapplication-TileImage" content="https://cdn.online-go.com/icons/apple-touch-icon-144x144.png" />

  <meta property="og:site_name" content="online-go.com" />
  <meta property="og:type" content="website" />
  <meta property="og:title" content="Online-Go" />
  <meta property="og:url" content="http://online-go.com/" />
  <meta property="og:image" content="https://cdn.online-go.com/icons/android-chrome-192x192.png" />
  <meta property="og:description" content="" />


  <style>
      html {
          touch-action: manipulation;
      }
      body, input, select, button {
          font-family: "Nunito", sans-serif;
          font-size: 12pt;
          font-weight: 400;
      }
      #em10 {
          position: absolute;
          top: -1px;
          height: 1px;
          width: 10em;
          display: inline block;
      }
      #main-content {
          display: none;
      }
      body.dark {
          background-color: #1A1A1A;
      }
      body.light {
          background-color: #ffffff;
      }
  </style>
  <script>
  </script>
  <noscript id="deferred-styles">
      <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Nunito:400,400i,700|Source+Code+Pro&amp;subset=latin-ext">
      <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/css-social-buttons/1.2.0/css/zocial.min.css">
      <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
      <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/fixed-data-table/0.6.3/fixed-data-table.min.css">
      <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/6.0.1/sweetalert2.min.css">
      <link rel="stylesheet" type="text/css" href="https://cdn.online-go.com/5.0/ogs.5.0-460-g84469f9.css">
  </noscript>
  <script>
      var loadDeferredStyles = function() {
        var addStylesNode = document.getElementById("deferred-styles");
        var replacement = document.createElement("div");
        replacement.innerHTML = addStylesNode.textContent;
        document.body.appendChild(replacement)
        addStylesNode.parentElement.removeChild(addStylesNode);
      };
      var raf = requestAnimationFrame || mozRequestAnimationFrame ||
          webkitRequestAnimationFrame || msRequestAnimationFrame;
      if (raf) raf(function() { window.setTimeout(loadDeferredStyles, 0); });
      else window.addEventListener('load', loadDeferredStyles);
  </script>

  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/es6-promise/4.0.5/es6-promise.auto.min.js"></script>
  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.35.3/es6-shim.min.js"></script>
  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.5.1/socket.io.min.js"></script>
  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/hammer.js/2.0.8/hammer.min.js"></script>
  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.16.0/moment-with-locales.min.js"></script>
  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.6.0/redux.min.js"></script>

  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/react/15.4.1/react.min.js"></script>
  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/react/15.4.1/react-dom.min.js"></script>
  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/react-router/2.8.1/ReactRouter.min.js"></script>
  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/react-redux/4.4.6/react-redux.min.js"></script>

  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/blueimp-md5/2.5.0/js/md5.min.js"></script>
  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/eventemitter3/2.0.2/index.min.js"></script>

  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/flot/0.8.3/jquery.flot.min.js"></script>
  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/flot/0.8.3/jquery.flot.navigate.min.js"></script>
  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/flot/0.8.3/jquery.flot.resize.min.js"></script>
  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/flot/0.8.3/jquery.flot.time.min.js"></script>

  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/6.0.1/sweetalert2.min.js"></script>
  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/commonmark/0.27.0/commonmark.min.js"></script>
  <script defer src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.4.0/d3.min.js"></script>


  <script type="text/javascript">
    var ogs_version='5.0-460-g84469f9';
    var ogs_release='5.0';
    var ogs_language_version='166819b36059f267dd93fc6dec84c9ad';
    var cdn_service = 'https://cdn.online-go.com';

    /* Detect prefered language {{{ */
    var supported_languages = {
        "en": true, 
        //"eo": true,
        "fi": true,
        "fr": true,
        "de": true,
        "it": true,
        "ja": true,
        "pl": true,
        "pt": true,
        "ro": true,
        "ru": true,
        "es": true,
        "sv": true,
        "ru": true,
        "nl": true,
        //"zh": true,
        "zh-cn": true,
        "debug": true,
    };

    function isSupportedLanguage(lang) {
        if (!lang) {
            return null;
        }

        lang = lang.toLowerCase();

        if (lang in supported_languages) {
            return lang;
        }

        lang = lang.replace(/-[a-z]+/, '');

        if (lang in supported_languages) {
            return lang;
        }

        return null;
    }

    function getPreferedLanguage() {
        try {
            var set_lang = JSON.parse(localStorage.getItem('ogs.preferences.language') || 'null');
            var lang = isSupportedLanguage(set_lang);
            if (lang) {
                return lang;
            } else if (set_lang && localStorage.getItem('ogs.preferences.language') != '"auto"') {
                console.error('User selected language: ', localStorage.getItem('ogs.preferences.language'), 'is not a recognized supported language');
            }
        } catch (e) {
            console.error(e);
        }

        try {
            for (var i=0; i < navigator.languages.length; ++i) {
                var lang = isSupportedLanguage(navigator.languages[i]);
                if (lang) {
                    return lang;
                }
            }
        } catch (e) {
        }

        try {
            return isSupportedLanguage(navigator.language || navigator.userLanguage) || 'en';
        } catch (e) {
        }

        return 'en';
    }


    var ogs_current_language = 'en';
    try {
        ogs_current_language = getPreferedLanguage();
    } catch (e) {
        console.error(e);
    }
    window['ogs_current_language'] = ogs_current_language || 'en';
    /* }}} */

    /* Load our language */
    document.write('<script defer src="https://cdn.online-go.com/5.0/locale/' + ogs_current_language + '.166819b36059f267dd93fc6dec84c9ad.js"><'+'/script>');
  </script>
  <script defer src="https://cdn.online-go.com/5.0/OGSScoreEstimator.5.0-460-g84469f9.js"></script>
  <script defer src="https://cdn.online-go.com/5.0/ogs.5.0-460-g84469f9.js"></script>


  <script type="text/javascript">
    /* Google analytics {{{ */
    if (/online-(go|baduk|weiqi|covay|igo).(com|net)$/.test(document.location.host)/* && !(/beta/.test(document.location.host))*/) {
        console.log("Welcome to OGS");
        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
            m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
        })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
        ga('create', 'UA-37743954-2', 'online-go.com');
        ga('send', 'pageview');
        window['ga'] = ga;
    } else {
        window['ga'] = null;
        console.log("Dev system detected, disabling google analytics");
    }
    /* }}} */
  </script>

<!-- Begin comScore -->
<script type="text/javascript">
var _comscore = _comscore || [];
_comscore.push({ c1: "2", c2: "6035118" });
(function() {
   var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true;
   s.src = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js";
   el.parentNode.insertBefore(s, el);
})();
</script>
<noscript>
   <img src="http://b.scorecardresearch.com/p?c1=2&amp;c2=6035118&amp;cv=2.0&amp;cj=1" />
</noscript>
<!-- End comScore -->

<!-- Nielsen Online SiteCensus -->
<script type="text/javascript">
(function () {
   var d = new Image(1, 1);
   d.onerror = d.onload = function () {
       d.onerror = d.onload = null;
   };
   d.src = ["//secure-us.imrworldwide.com/cgi-bin/m?ci=us-603339h&cg=0&cc=1&si=", escape(window.location.href), "&rp=", escape(document.referrer), "&ts=compact&rnd=", (new Date()).getTime()].join('');
})();
</script>
<noscript>
    <div><img src="//secure-us.imrworldwide.com/cgi-bin/m?ci=us-603339h&amp;cg=0&amp;cc=1&amp;ts=noscript" width="1" height="1" alt="" /></div>
</noscript>
<!-- End Nielsen Online SiteCensus -->
</html
1 Like

Ref: Clicked Forums got blank grey page

the last 24 hours i’ve been able to play on safari. chat still doesn’t work, and some other oddness.

even though I keep at least two browsers running for other reasons, thanks for paying attention to this

1 Like

Interesting. What version of OX X, Safari are you using? Also, what AV or security suite?

I’ve been getting Can’t Establish Secure Connection since original update. Just now, after the recent update alert, I tried again and got a blank white page. Not sure if that is progress. The error console contains the following. I think the first line is new. Maybe that is the progress.

[Log] Welcome to OGS (online-go.com, line 228)
[Error] Failed to load resource: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “cdn.online-go.com” which could put your confidential information at risk. (ogs.5.1-54-g846a273.js, line 0)
[Error] Failed to load resource: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “cdn.online-go.com” which could put your confidential information at risk. (en.e4a801d5ba76ad1b21efdd67d22f7ebf.js, line 0)
[Error] Failed to load resource: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “cdn.online-go.com” which could put your confidential information at risk. (OGSScoreEstimator-0.5.js, line 0)
[Error] Failed to load resource: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “cdn.online-go.com” which could put your confidential information at risk. (ogs.5.1-54-g846a273.css, line 0)

When I click on the first line, this (an excerpt containing line 228) section of code is displayed:

< script type=“text/javascript”>
/* Google analytics {{{ /
if (/online-(go|baduk|weiqi|covay|igo).(com|net)$/.test(document.location.host)/
&& !(/beta/.test(document.location.host))/) {
console.log(“Welcome to OGS”);
(function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1
new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,‘script’,’//www.google-analytics.com/analytics.js’,'ga’);
ga(‘create’, ‘UA-37743954-2’, ‘online-go.com’);
ga(‘send’, ‘pageview’);
window[‘ga’] = ga;
} else {
window[‘ga’] = null;
console.log(“Dev system detected, disabling google analytics”);
}
/* }}} */

line 228 is console.log(“Welcome to OGS”);

just 10.10.5…no security suite. safari 8.0.8

but usually cert problems are thrown by the browser regardless.

what version are you using?

OS X 10.9.5 Safari 9.1.3

No AV or anything? Evn if you feel safe, you could b bringing stuff in and passing it on to susceptible others. why the devil are you still at Safari version 8? You ought to check for updates and install them. There may be security content. Yes, look here https://en.wikipedia.org/wiki/Safari_version_history

i put off updating the OS because they keep dumbing it down and I figured I’d wait for them to debug it. Not sure if they’re finished with either project. :wink:

:slight_smile: i don’t know what my circa 1984 RAND mh client is going to pass on

Today I noticed very long delay before the reload button became available, then page was blank. (Vivaldi, OSX) Collected this. Has some different stuff from what i saw previously

How about some feedback about whether you got something useful or not. If you want help from people, let them know if they’re wasting their time trying to give it to you. I’m close to stopping.

We have moved issue tracking to github. Are you still experiencing the blank screen?

I asked whether I provided anything useful. In addition to these forums, Github is now the 3rd site where I’ve been advised (that is to say asked) to post and follow things related to OGS. That is just plain silly.

I have continued to have the problem on this browser - Vivaldi. Previously this was the only on that was working when I had secure connection problems. I have found two solutions: (A) opening a new window, online-go.com and then clicking forum. (B) closing the window or browser. Yesterday I tried an unrelated site - apple.com - in a new tab on the window where Forums came up blank and that yielded a blank page! There was nothing in the Dev Tools Console.

I think that is weird. It suggests that what happened with OGS messed up something in the browser. Given that the problem has been experienced by others on other browsers (i assume), and that in my experience it does not always happen when Forums is selected, it seems unlikely that the browser is initially causing the problem.

Do you think you have fixed the problem on other browsers? Which ones?

I am now on a new window after starting from a “clean”, newly launched browser. I logged in and got Forums with no problem. I just looked at Dev Tools and found this:

As far as we are aware, this issue is closed for the typical browsers (Chrome, Firefox, Safari, Edge). I do not know what the priority is for less popular browsers.

Since we have open sourced the front end code for OGS we are using the issue tracker on GitHub to manage bug reports.

1 Like