Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account
This post has been closed. You can still view previous posts, but you can't post any new replies.

Script Error when attempting to join game

Description: &nbsp; Only one of my many campaigns produces a script error.&nbsp; This occurs regardless of using Firefox (preferred) or Chrome.&nbsp; All API Scripts disabled.&nbsp; Copying to Dev Server yields the same result.&nbsp; Originally discovered on my Android tablet browser (default).&nbsp; Attempted on a Windows Surface tablet via default browser.&nbsp; Results are the same with desktop computer, details below. app.js?1478202414:6.&nbsp; (See Screen Shot below) I am feedback from my players to see if they are experiencing the same issue. Steps: Login and simply click the Join Game link for the campaign in question. Setup: Windows 7 Firefox 49.0.2 Javascript Yes Flash Version 23.0.0.205 Cookies Yes User Agent Mozilla/530 (Windows NT 6.1;WOW64;rv:49.0) Gecko/20100101 Firefox/49.0 Script Error Note: All Addons in Firefox were disabled when generating the console log below; unreachable code after return statement[Learn More]browse.js:655:3 Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> 'unsafe-eval' <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> https://*.doubleclick.net <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> https://*.tokbox.com <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> <a href="http://stun.l.google.com”).editor:12" rel="nofollow">http://stun.l.google.com”).editor:12</a> Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> 'unsafe-eval' <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> https://*.doubleclick.net <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> https://*.tokbox.com <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a> <a href="http://stun.l.google.com”).editor:13" rel="nofollow">http://stun.l.google.com”).editor:13</a> 70app.js:35:4832 TOUCH SUPPORTED: falseapp.js:35:30046 USING WEBGL ACCELERATION...app.js:35:30867 WEBGL STARTUP SUCCESSapp.js:35:31456 Custom Sheet Translationapp.js:37:15207 selectapp.js:30:20712 Switch mode to selectapp.js:30:22558 Initializing new dice engine with randomness...app.js:46:26643 Using random entropyapp.js:46:26720 Unable to start up OpenTok!app.js:48:28842 Compiling sheet...app.js:50:15221 Found rolltemplate: 5e-shapedapp.js:50:15504 Found webworker scriptapp.js:50:16043 Finding sheet rolls...app.js:50:16498 window resizeapp.js:51:32102 Final set zoom!app.js:36:11172 UPDATE GL SIZE!app.js:35:24596 Final set zoom!app.js:36:11172 tuts loadedtutorial_tips.js:7:2 flashblockCheckLoad, false, false, trueframe.js:7:3 flashblockCheckLoad: preventingframe.js:7:3 flashblockCheckLoad: prevented true, true, 1478268023153000frame.js:7:3 Loading mixed (insecure) display content “<a href="http://imgsrv.roll20.net/?src=i.imgur.com/X44kw8b.png”" rel="nofollow">http://imgsrv.roll20.net/?src=i.imgur.com/X44kw8b.png”</a> on a secure page[Learn More]jquery.1.8.2.min.js:2:70985 Use of getAttributeNode() is deprecated. Use getAttribute() instead.jquery.1.8.2.min.js:2:31678 Use of getPreventDefault() is deprecated. Use defaultPrevented instead.jquery.1.8.2.min.js:2:40278 Starting up WEB WORKERsheetsandboxworker.js:250:2 Final page load.app.js:42:8769 Refresh jukebox List!app.js:52:3700 Auth'ed.app.js:41:17381 Go post auth!app.js:41:17578 Scan for new plays!app.js:42:5591 Refresh jukebox List!app.js:52:3700 initial setupapp.js:41:17723 Refresh jukebox List!app.js:52:3700 Object { attributes: Object, _escapedAttributes: Object, cid: "c0", changed: Object, _silent: Object, _pending: Object, _previousAttributes: Object, activePage: bound (), showSettings: bound (), initActivePage: bound (), 22 more… }app.js:39:22467 Got players value...app.js:41:17965 joining game...app.js:41:24812 Player -K-QbVHpXKWlYyySAs-N is offline...app.js:39:29401 THREE.WebGLRenderer 69app.js:14:9182 Global Volume: 0=0app.js:40:5014 Player -K8uzxqI44PFWHdjVCPI is offline...app.js:39:29401 Player -K99DrQN9xCruHfy0TgN is offline...app.js:39:29401 Player -K9ADsUNrReirFOoUO5r is offline...app.js:39:29401 Player -KM6X98gfe5umQddemXq is offline...app.js:39:29401 Player -KOkrDAQpK514t8qV7je is offline...app.js:39:29401 Player -KRBZeViZvYi2Tl9lIcR is offline...app.js:39:29401 Player -KSsu8VsC3ztCwiTb6YX is offline...app.js:39:29401 Deferred finish joining...app.js:41:24902 Firebase Onlineapp.js:35:6138 Full load page!app.js:39:1587 We have 8 pagesapp.js:41:18783 refershing page listings!app.js:44:32616 Refresh Journal List!app.js:49:29030 Search took 30msapp.js:49:27882 handle page changesapp.js:41:19323 falseapp.js:41:19404 Scan for new plays!app.js:42:5591 init active page!app.js:41:23765 activate page!app.js:39:3749 FULLY ACTIVATE VIEWS FOR PAGE.app.js:39:3981 Refresh jukebox List!app.js:52:3700 This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see <a href="https://developer.mozilla.org/docs/Mozilla/Perfor" rel="nofollow">https://developer.mozilla.org/docs/Mozilla/Perfor</a>... for further details and to join the discussion on related tools and features!editor "Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/2439" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/2439</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/2439" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/2439</a>... setting srcapp.js:38:17798 Cols: 6 Rows: 6app.js:34:13131 Took 2890ms to generate cache.app.js:34:13807 Loading mixed (insecure) display content “<a href="http://www.spiralgraphics.biz/packs/stone_muted/previews/Midnight%20Stone.jpg”" rel="nofollow">http://www.spiralgraphics.biz/packs/stone_muted/previews/Midnight%20Stone.jpg”</a> on a secure page[Learn More]jquery.1.8.2.min.js:2:70985 Loading mixed (insecure) display content “<a href="http://spiralgraphics.biz/packs/stone_muted/previews/Midnight%20Stone.jpg”" rel="nofollow">http://spiralgraphics.biz/packs/stone_muted/previews/Midnight%20Stone.jpg”</a> on a secure page[Learn More]jquery.1.8.2.min.js:2:70985 Error: Script terminated by timeout at: HT.Grid.prototype.GetHexId@<a href="https://app.roll20.net/assets/app.js?1478202414:6:8093" rel="nofollow">https://app.roll20.net/assets/app.js?1478202414:6:8093</a> HT.Grid@<a href="https://app.roll20.net/assets/app.js?1478202414:6:7305" rel="nofollow">https://app.roll20.net/assets/app.js?1478202414:6:7305</a> l@<a href="https://app.roll20.net/assets/app.js?1478202414:35:9641" rel="nofollow">https://app.roll20.net/assets/app.js?1478202414:35:9641</a> d20.canvas_overlay.drawGrid@<a href="https://app.roll20.net/assets/app.js?1478202414:35:20052" rel="nofollow">https://app.roll20.net/assets/app.js?1478202414:35:20052</a> d20.engine.drawGrid@<a href="https://app.roll20.net/assets/app.js?1478202414:36:10378" rel="nofollow">https://app.roll20.net/assets/app.js?1478202414:36:10378</a> fabric.StaticCanvas&lt;.renderAll@<a href="https://app.roll20.net/assets/app.js?1478202414:31:25893" rel="nofollow">https://app.roll20.net/assets/app.js?1478202414:31:25893</a> d20.engine.renderLoop@<a href="https://app.roll20.net/assets/app.js?1478202414:37:14297" rel="nofollow">https://app.roll20.net/assets/app.js?1478202414:37:14297</a> app.js:6:8093
1478271348
Gid
Roll20 Team
Hi Dorgrim, what's the name of the campaign that you're getting this script error with?
It's in the screenshot:&nbsp; "World of Arboria"
Update:&nbsp; My players have reported no errors. Using one of my working campaigns as a guide, I have successfully logged in as a player (app.roll20.net/editor/setcampaign/1047775/?desiredrole=player).&nbsp; Any attempt to log in as the GM on my end yields the same script error. Original post updated with this new information.
The error persists.&nbsp; Any status on this issue?
1478893032
Gid
Roll20 Team
Doing some testing on my end, whatever is going on is definitely tied to your account. I logged into your campaign as a GM and and was able to log in with no issue. I created a copy of the game and was also able to log in just fine. I logged in under your own account and I got the exact same error and my browser tab crashed out in the same fashion you're describing. I'm going to bring this up with the other Devs to get their opinion on this. In the meantime while we investigate, what you might want to try is create a campaign copy of World of Arboria and see if you can access the copy.
1478911165
Stephen Koontz
Forum Champion
Marketplace Creator
Sheet Author
API Scripter
Compendium Curator
Hi Dorgrim, I took a look at your game. The problem is the map it's trying to load when you join the game. Your World Map page was 1000x1000 units, which is fantastically larger than is safe. Moreover, you turned on the hex map grid which is a very expensive process because it has to draw irregular shapes all over the length of the map. I went under the hood and turned off just the hex grid and that seems to have solved the issue. Though I'd strongly suggest dropping the size of the map and not using a hex grid for large maps.
Kristen:&nbsp; Yes, I was able to create a new campaign and then transmog what I needed. Steve:&nbsp; Thanks.&nbsp; I had forgotten I was messing around with such a large map (which I don't normally do) hoping that it would work.&nbsp; I am abandoning that project for now in both campaigns (map is incomplete anyways). Thanks for your efforts.