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

Jukebox Music Regularly Stopping

My group and I have been having a recurrent problem with the jukebox function.&nbsp; It sometimes stops, with the track still listing under "Now Playing", with the time stopped on the track despite it being set to play.&nbsp; It can work for a while or stop almost immediately upon starting, despite the same input being used.&nbsp; It can stop for everyone at once, or occasionally just stop for one player while the others are able to continue hearing the music. It doesn't seem to be an issue on a specific track, since some will play fine at times and stop at others.&nbsp; Playlists are set to the default shuffle.&nbsp; I and my players have already tried disabling extensions and addons as well as clearing our caches, with no improvement. So, here I am, with a copy of the console log.&nbsp; My computer is running Windows 10 64-bit with Chrome 80.0.3987.132, Javascript and cookies enabled.&nbsp; I don't believe it's an issue with my particular browser or system, though, as my players also experience the issue.&nbsp; The most recent error we had before I copied the console log was starting up the music, which began to play, then stopped almost immediately for everyone.&nbsp; The following picture is a capture of the current jukebox display. Thank you in advance for the help, and please let me know if any more information is required on my end.&nbsp; I hope that we can get our music working properly soon!&nbsp; The console log reads: app.roll20.net/:12 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' 'nonce-yBUrJbcbEXMgvgxI' <a href="http://cdn.inspectlet.com" rel="nofollow">http://cdn.inspectlet.com</a> https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="http://www.google-analytics.com" rel="nofollow">http://www.google-analytics.com</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://crowdin.com" rel="nofollow">https://crowdin.com</a> <a href="http://stun.l.google.com" rel="nofollow">http://stun.l.google.com</a>". Either the 'unsafe-inline' keyword, a hash ('sha256-bmzEbsdPLmO6tvOUuoFoqvcRyfvFQ5IqrB7KGWbPvYI='), or a nonce ('nonce-...') is required to enable inline execution. app.roll20.net/:13 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' 'nonce-yBUrJbcbEXMgvgxI' <a href="http://cdn.inspectlet.com" rel="nofollow">http://cdn.inspectlet.com</a> https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="http://www.google-analytics.com" rel="nofollow">http://www.google-analytics.com</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://crowdin.com" rel="nofollow">https://crowdin.com</a> <a href="http://stun.l.google.com" rel="nofollow">http://stun.l.google.com</a>". Either the 'unsafe-inline' keyword, a hash ('sha256-/XHNKTzdVLpPBcMgsOl9LN6PEC5ufZbaLdoU14BWKr0='), or a nonce ('nonce-...') is required to enable inline execution. /v2/js/jquery.migrate.js:20 JQMIGRATE: Logging is active app.roll20.net/:15 CAMPAIGN ID: 5579823 app.js:541 70 app.js:543 TOUCH SUPPORTED: false app.js:543 USING WEBGL ACCELERATION... app.js:543 WEBGL STARTUP SUCCESS app.js:545 Custom Sheet Translation app.js:560 Loading Custom character sheet. app.js:560 Including compendium template css. tutorial_tips.js:7 tuts loaded app.roll20.net/:1 [DOM] Found 2 elements with non-unique id #color_value: (More info: <a href="https://goo.gl/9p2vKq" rel="nofollow">https://goo.gl/9p2vKq</a>) &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ sheetsandboxworker.js?1584292888133:682 Starting up WEB WORKER sheetsandboxworker.js?1584292888139:682 Starting up WEB WORKER chrome-extension://eofcbnmajmjmplflapaojjnihcjkigck/scripts/extension.js:24 onMessage extension chrome-extension://eofcbnmajmjmplflapaojjnihcjkigck/common/scripts/ial.js:425 Clean the cache of the scraper (new onComplete event) app.js:551 Final page load. app.js:549 Auth'ed. app.js:549 Go post auth! app.js:549 initial setup app.js:550 joining game... app.js:548 Player -Lwh2b2MS3Fsdr-Xoaio is offline... app.js:228 THREE.WebGLRenderer 69 app.js:548 Player -M0ICuNmG6FR1yuClI_5 is offline... app.js:550 Deferred finish joining... app.js:541 Firebase Online 17app.js:547 Full load page! app.js:549 We have 17 pages app.roll20.net/:1 [DOM] Found 18 elements with non-unique id #color_value: (More info: <a href="https://goo.gl/9p2vKq" rel="nofollow">https://goo.gl/9p2vKq</a>) &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ app.roll20.net/:1 Access to image at '<a href="https://s3.amazonaws.com/files.d20.io/images/99924360/AiogsxU4S8Bq1oZrr4Cvxg/thumb.png?15770409745555555555" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/99924360/AiogsxU4S8Bq1oZrr4Cvxg/thumb.png?15770409745555555555</a>' from origin '<a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. thumb.png:1 Failed to load resource: net::ERR_FAILED app.js:541 Error loading graphic, probably due to CORS. Trying once without CORS for <a href="https://s3.amazonaws.com/files.d20.io/images/99924360/AiogsxU4S8Bq1oZrr4Cvxg/thumb.png?1577040974555555555" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/99924360/AiogsxU4S8Bq1oZrr4Cvxg/thumb.png?1577040974555555555</a> (anonymous) @ app.js:541 app.js:94 Uncaught TypeError: Cannot read property 'apply' of undefined &nbsp; &nbsp; at r._processOnPosition (app.js:94) &nbsp; &nbsp; at r._whileplaying (app.js:94) &nbsp; &nbsp; at r._onTimer (app.js:94) &nbsp; &nbsp; at Audio.&lt;anonymous&gt; (app.js:94) &nbsp; &nbsp; at Audio.&lt;anonymous&gt; (app.js:94) app.js:551 Uncaught TypeError: d20.jukebox.randomizer.nextInt is not a function &nbsp; &nbsp; at T.i.setPlaylistPlaying (app.js:551) &nbsp; &nbsp; at r.n (app.js:551) &nbsp; &nbsp; at r._onfinish (app.js:94) &nbsp; &nbsp; at Audio.&lt;anonymous&gt; (app.js:94) &nbsp; &nbsp; at Audio.&lt;anonymous&gt; (app.js:94) s3.amazonaws.com/files.d20.io/tracks/268021/cw2mtx527_COngRZ3hLFUw/track.png:1 Failed to load resource: the server responded with a status of 403 (Forbidden) app.js:551 jQuery.fn.init(1) undefined undefined app.js:551 Unable to find jukebox item! app.js:551 jQuery.fn.init(1) undefined undefined app.js:551 Unable to find jukebox item! s3.amazonaws.com/files.d20.io/tracks/268087/lVsX_h2WCoxI1t2NrkdxvA/track.png:1 Failed to load resource: the server responded with a status of 403 (Forbidden) 2app.js:94 Uncaught TypeError: Cannot read property 'apply' of undefined &nbsp; &nbsp; at r._processOnPosition (app.js:94) &nbsp; &nbsp; at r._whileplaying (app.js:94) &nbsp; &nbsp; at r._onTimer (app.js:94) &nbsp; &nbsp; at Audio.&lt;anonymous&gt; (app.js:94) &nbsp; &nbsp; at Audio.&lt;anonymous&gt; (app.js:94) app.js:231 THREE.PlaneGeometry: Consider using THREE.PlaneBufferGeometry for lower memory footprint. app.js:229 THREE.WebGLProgram: gl.getProgramInfoLog() C:\fakepath(74,3-49): warning X3557: loop only executes for 1 iteration(s), forcing loop to unroll C:\fakepath(99,7-53): warning X3557: loop only executes for 1 iteration(s), consider removing [loop] app.js:229 THREE.WebGLProgram: gl.getProgramInfoLog() C:\fakepath(99,3-49): warning X3557: loop only executes for 1 iteration(s), forcing loop to unroll
Also having this problem pretty frequently, exactly as described. Any pointers or tips? Run in a different browser or something?
Mox said: Also having this problem pretty frequently, exactly as described. Any pointers or tips? Run in a different browser or something? Unfortunately I've yet to find a solution.&nbsp; Some days the jukebox behaves alright, while other days it stops every five minutes.&nbsp; We've tried running in different browsers with no luck. I imagine the issue lies with the errors the log I posted shows, perhaps those "Uncaught TyperError" errors or the 403 errors coming from s3.amazonaws.com?&nbsp; I'm no programmer so I think I'm at the limit of my troubleshooting abilities now, though.&nbsp; If you find a fix somehow, please share it here!
I have never been able to get anything at all to play on Jukebox. I click the play button, the total track time displays, but it doesn't start playing.&nbsp; Last time I asked on this forum, people said it was a known issue and to give up. Does anyone know if there has been any progress? Thanks, Allen
Allen C. said: I have never been able to get anything at all to play on Jukebox. I click the play button, the total track time displays, but it doesn't start playing.&nbsp; Last time I asked on this forum, people said it was a known issue and to give up. Does anyone know if there has been any progress? Thanks, Allen That sounds like it may be a different issue, though the track being set to play without playing does match up.&nbsp; I've been able to get music to play, but have had intermittent problems with it starting or continuing to play at times.&nbsp; The jukebox does work most of the time, so I imagine whatever your issue is, it should be fixable.&nbsp; I'm far from an expert, but I have at least been able to get music working most of the time, so I could give troubleshooting a shot for you if there's no one better qualified willing to give it a go. Some things you may want to confirm or test out to help figure out what's causing the issue might be: Are tracks being uploaded in the mp3, mgg, or flac formats?&nbsp; I've been using mp3, but the other two purportedly should work too.&nbsp; If the audio is in a different format, try converting to one of those. Do the tracks play for you when in the "Manage Audio" screen, and just not on the jukebox, or do they not play regardless? Does audio from non-uploaded sources work?&nbsp; If you haven't already, try adding music from Tabletop Audio or one of the other built-in options to see. Does the issue happen on different browsers? Aside from that, if you haven't already, you can give the steps listed at&nbsp; <a href="https://wiki.roll20.net/Solving_Technical_Issues" rel="nofollow">https://wiki.roll20.net/Solving_Technical_Issues</a> &nbsp;a try, though they didn't work for me and just lead me here.&nbsp; I hope you're able to get it working at least intermittently!&nbsp; If anyone else has anything to add, please let us know.
Thanks, Nick. You inspired me to try on Microsoft Edge...and it plays! Any suggestions on how to debug why my preferred browser, Chrome, won't play music? I would prefer to not remove all my extensions... Allen
Oh...and although I can play music from within the "Manage Audio" screen, I can't load my game from within Edge. It just hangs forever... Sigh.
Chrome and Firefox are the only officially supported browsers for Roll20.
Got it. But can you...or anyone...suggest how to debug why music won't play on my Chrome? Thanks, Allen
I cannot, but following the steps in the Bug Report is a good thing to do: <a href="https://roll20.zendesk.com/hc/en-us/articles/360045655014-Reporting-a-Bug" rel="nofollow">https://roll20.zendesk.com/hc/en-us/articles/360045655014-Reporting-a-Bug</a>
Has been a problem for a long time now. I gave up awhile ago trying to use it.
Thanks, Rabulias.&nbsp; The bug-reporting process requires disabling all my extensions and clearing my cache, which I would prefer to not do. So I'll just live with the problem. Allen
You could also try running in an Incognito / Private Browsing session. That temporarily disables many browser extensions and does not use the existing cache. Browser plugins are one of the most common sources of problems with Roll20 functionality.
OMG...that worked! Many thanks, Allen