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

November 04 (8 years ago)
Description:  Only one of my many campaigns produces a script error.  This occurs regardless of using Firefox (preferred) or Chrome.  All API Scripts disabled.  Copying to Dev Server yields the same result.  Originally discovered on my Android tablet browser (default).  Attempted on a Windows Surface tablet via default browser.  Results are the same with desktop computer, details below.

app.js?1478202414:6.  (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 https://app.roll20.net 'unsafe-eval' https://app.roll20.net https://*.doubleclick.net https://app.roll20.net https://www.googletagservices.com https://app.roll20.net https://www.google-analytics.com https://app.roll20.net http://ajax.googleapis.com https://app.roll20.net https://cdn.firebase.com https://app.roll20.net https://*.tokbox.com https://app.roll20.net http://static.opentok.com https://app.roll20.net http://cdn.crowdin.com https://app.roll20.net http://stun.l.google.com”).editor:12
Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src https://app.roll20.net 'unsafe-eval' https://app.roll20.net https://*.doubleclick.net https://app.roll20.net https://www.googletagservices.com https://app.roll20.net https://www.google-analytics.com https://app.roll20.net http://ajax.googleapis.com https://app.roll20.net https://cdn.firebase.com https://app.roll20.net https://*.tokbox.com https://app.roll20.net http://static.opentok.com https://app.roll20.net http://cdn.crowdin.com https://app.roll20.net http://stun.l.google.com”).editor:13
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 “http://imgsrv.roll20.net/?src=i.imgur.com/X44kw8b.png” 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 https://developer.mozilla.org/docs/Mozilla/Perfor... for further details and to join the discussion on related tools and features!editor
"Swapping https://s3.amazonaws.com/files.d20.io/images/2439... to https://s3.amazonaws.com/files.d20.io/images/2439...
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 “http://www.spiralgraphics.biz/packs/stone_muted/previews/Midnight%20Stone.jpg” on a secure page[Learn More]jquery.1.8.2.min.js:2:70985
Loading mixed (insecure) display content “http://spiralgraphics.biz/packs/stone_muted/previews/Midnight%20Stone.jpg” on a secure page[Learn More]jquery.1.8.2.min.js:2:70985
Error: Script terminated by timeout at:
HT.Grid.prototype.GetHexId@https://app.roll20.net/assets/app.js?1478202414:6:8093
HT.Grid@https://app.roll20.net/assets/app.js?1478202414:6:7305
l@https://app.roll20.net/assets/app.js?1478202414:35:9641
d20.canvas_overlay.drawGrid@https://app.roll20.net/assets/app.js?1478202414:35:20052
d20.engine.drawGrid@https://app.roll20.net/assets/app.js?1478202414:36:10378
fabric.StaticCanvas<.renderAll@https://app.roll20.net/assets/app.js?1478202414:31:25893
d20.engine.renderLoop@https://app.roll20.net/assets/app.js?1478202414:37:14297
app.js:6:8093

November 04 (8 years ago)
Gid
Roll20 Team
Hi Dorgrim, what's the name of the campaign that you're getting this script error with?
November 04 (8 years ago)
It's in the screenshot:  "World of Arboria"
November 05 (8 years ago)
Update:  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).  Any attempt to log in as the GM on my end yields the same script error.

Original post updated with this new information.
November 10 (8 years ago)
The error persists.  Any status on this issue?
November 11 (8 years ago)
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.
November 12 (8 years ago)
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.
November 12 (8 years ago)
Kristen:  Yes, I was able to create a new campaign and then transmog what I needed.

Steve:  Thanks.  I had forgotten I was messing around with such a large map (which I don't normally do) hoping that it would work.  I am abandoning that project for now in both campaigns (map is incomplete anyways).

Thanks for your efforts.