Showing White Pages


(Owen Sullivan) #1

So, over at the 000webhost forum we’re running into an issue that shows us white pages at random. Like, there’s no way to reproduce it, it just happens and we have to just wait it out.

One of the other moderators checked his js console and it’s throwing a massive jQuery error, pasted below.

TypeError: Attempting to register an unknown factory: 'site-settings:main'
    at i.register (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:13747)
    at s.eval [as register] (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:46609)
    at Object.initialize (_application-b8184170fb6f51b3d3c8cfc66839710cc18d5b118ef5d7e51c538ebffec4dc12.js:47100)
    at Object.n.initialize (_application-b8184170fb6f51b3d3c8cfc66839710cc18d5b118ef5d7e51c538ebffec4dc12.js:1684)
    at eval (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:16418)
    at e.each (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:14530)
    at e.topsort (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:14497)
    at e.topsort (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:14442)
    at s._runInitializer (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:16445)
    at s.runInitializers (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:16413)
    at s._bootSync (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:15639)
    at s.domReady (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:15543)
    at p.run (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:12382)
    at p.join (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:12419)
    at Function.u.join (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:33497)
    at HTMLDocument.eval (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:33560)
    at l (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3186)
    at Object.fireWith [as resolveWith] (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3316)
    at Function.ready (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3535)
    at HTMLDocument.s (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3551)
    at rocket.min.js:2
    at _ (rocket.min.js:2)
    at Object.fireEvent (rocket.min.js:2)
    at Object.ready (rocket.min.js:4)
    at rocket.min.js:5

This only started after we updated the forum to Discourse v2.0.0.beta2, so I figured I’d post here first. Any thoughts?


(Matt Palmer) #2

Does the problem persist if you turn off Cloudflare? We’ve seen several cases where Cloudflare’s attempts at optimisation break advanced JavaScript applications like Discourse, and it wouldn’t surprise me if this was another case.


(Owen Sullivan) #3

Disabling Cloudflare isn’t currently an option since we use it for load-balancing and DDOS protection. We not only have thousands of registered forum users but we also have a lot of users who want to shut down all our services in exchange for free money (fun).

Are there any workarounds that you know of?


(Sam Saffron) #4

What about just disabling rocket loader?


(Matt Palmer) #5

File a support ticket with Cloudflare. With enough prodding they usually fix the problem eventually.