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

Can't Upload Assets in Library (dev server)

1427945016

Edited 1427945133
In Chrome v41.0.2272.101 m and a fresh install of Firefox, I experience the same issue -- I can log in and launch the campaign, but when I open the star menu ("Library / Art Assets") the progress bar under "Your Library" goes to 100% and nothing further happens. When I go to the upload tab, I can use drag-and-drop OR file select; neither causes the files to be uploaded. I get a message about file size or format but these are JPGs at about 300kb each. Today I suspect a file I/O issue, possibly because my files have not been accessed in a few months and were maybe sitting on higher-latency storage? ...aaand in the time it took me to type this up, it's working now. This is the third or fourth time I've experienced this transient bug. It seems to be browser-independent and drives me up the wall. Restarting my browser doesn't fix it. Trying several times over the course of an hour seems to fix it. Sometimes I come back the next day and it's fixed. But the problem is a recurring issue for me. When I sit down to do DM prep, that's the two-hour period I've scheduled. During those two hours, I need to be able to upload the map. Waiting an hour to see if it's gotten any better means I don't get my prep done, which means I end up having to cancel on my players. No fun.
1427946397
The Aaron
Roll20 Production Team
API Scripter
I'm sorry you're having trouble with the site. Can you please follow Steps 1-3 of our Solving Technical Issues wiki page, taking special care to temporarily disable all browser add-ons and extensions, temporarily pause your anti-virus, and try switching browsers (for Chrome/Firefox specific issues) to see if one of those components is causing the problem. If all of that fails, please follow Step 4 , including providing all of the necessary information, so that we can further assist you. I know you've probably done some of this already, but it really helps us out if you can establish this baseline.
You're right - I have done some of these steps already. I have disabled browser add-ons (including using a fresh, zero-extension copy of Firefox). I will check the AV solution and be sure to clear my cache just in case it's one of those.
1427995617
The Aaron
Roll20 Production Team
API Scripter
If the problem persists, please be sure to paste your console log from Step 4
The problem, to put it simply, persists. This time I have come prepared to do battle w/ the bug though. Hopefully I can help you find and eradicate it. I believe the bug I'm getting is a sequence/race type bug, where I am moving to use the upload menu "too quickly". I'm running Windows 7 Ultimate in an Intel Core i5-2500K @3.3GHz (no overclock) I have 8 GB of RAM installed. I have cleared the cache and disabled all extensions in two separate browsers, and captured the error(s) to console in each. Here's a copy of the console log from Chrome 41.0.2272.118 m: &gt;&gt; app.js:31 Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/8601" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/8601</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/8601" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/8601</a>... app.js:31 Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/8601" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/8601</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/8601" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/8601</a>... app.js:31 Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/4186" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/4186</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/4186" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/4186</a>... app.js:31 Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/4171" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/4171</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/4171" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/4171</a>... app.js:31 Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/4182" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/4182</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/4182" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/4182</a>... app.js:34 Updating character sheet values app.js:36 refershing page listings! 5app.js:31 setting src app.js:31 Reorder by ZORDER app.js:34 Updating character sheet values app.js:39 initiatlizing video chat app.js:39 Connecting to WebRTC app.js:31 Reorder by ZORDER 5app.js:34 Updating character sheet values app.js:27 Cols: 2 Rows: 2 app.js:27 Took 2ms to generate cache. app.js:27 Cols: 2 Rows: 2 app.js:27 Took 30ms to generate cache. 6app.js:34 Updating character sheet values app.js:42 window resize app.js:28 Final set zoom! app.js:28 UPDATE GL SIZE! app.js:28 Final set zoom! app.js?1427723913:39 Connected to session app.js?1427723913:40 Someone just connected. app.js?1427723913:40 It's us? ?inapp=true:224 Resource interpreted as Script but transferred with MIME type text/html: "<a href="https://app.roll20.net/sessions/topbar/87" rel="nofollow">https://app.roll20.net/sessions/topbar/87</a>". jquery.min.js:4 POST <a href="https://marketplace.roll20.net/library/find/?inap" rel="nofollow">https://marketplace.roll20.net/library/find/?inap</a>... 500 (Internal Server Error) ?inapp=true:224 Resource interpreted as Script but transferred with MIME type text/html: "<a href="https://app.roll20.net/sessions/topbar/45" rel="nofollow">https://app.roll20.net/sessions/topbar/45</a>". jquery.min.js:4 POST <a href="https://marketplace.roll20.net/library/find/?inap" rel="nofollow">https://marketplace.roll20.net/library/find/?inap</a>... 500 (Internal Server Error) base.js?1421690138:4 base.js?1421690138:4 /library/userupload base.js?1421690138:4 POST <a href="https://marketplace.roll20.net/library/userupload" rel="nofollow">https://marketplace.roll20.net/library/userupload</a>... 503 (Service Unavailable) base.js?1421690138:4 upload complete triggered app.js?1427723913:42 window resize app.js?1427723913:28 Final set zoom! app.js?1427723913:28 UPDATE GL SIZE! app.js?1427723913:28 Final set zoom! app.js?1427723913:42 window resize app.js?1427723913:28 Final set zoom! app.js?1427723913:28 UPDATE GL SIZE! app.js?1427723913:28 Final set zoom! app.js?1427723913:32 Player -JNuC_3SdBPNjXjVhYCL is offline... Here's the same log, from Firefox 37.0: &gt;&gt; "Connecting to WebRTC" app.js:39:30788 "Updating character sheet values" app.js:34:24933 "Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/8601" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/8601</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/8601" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/8601</a>... app.js:31:1255 "Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/4171" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/4171</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/4171" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/4171</a>... app.js:31:1255 "Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/4186" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/4186</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/4186" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/4186</a>... app.js:31:1255 "Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/8601" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/8601</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/8601" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/8601</a>... app.js:31:1255 "Updating character sheet values" app.js:34:24933 "Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/4182" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/4182</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/4182" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/4182</a>... app.js:31:1255 "setting src" app.js:31:1416 "Reorder by ZORDER" app.js:31:22095 "setting src" app.js:31:1416 "Cols: 2 Rows: 2" app.js:27:774 "Took 2ms to generate cache." app.js:27:1450 "setting src" app.js:31:1416 "Cols: 2 Rows: 2" app.js:27:774 "Took 31ms to generate cache." app.js:27:1450 "Connected to session" app.js:39:32382 "Someone just connected." app.js:40:908 "It's us?" app.js:40:1010 "Someone just connected." app.js:40:908 "It's us?" app.js:40:1010 "activate page!" app.js:31:19251 "FULLY ACTIVATE VIEWS FOR PAGE." app.js:31:19483 "window resize" app.js:42:1039 "Final set zoom!" app.js:28:31330 "UPDATE GL SIZE!" app.js:28:12114 "Final set zoom!" app.js:28:31330 "window resize" app.js:42:1039 "Final set zoom!" app.js:28:31330 "UPDATE GL SIZE!" app.js:28:12114 "Final set zoom!" app.js:28:31330 "window resize" app.js:42:1039 "Final set zoom!" app.js:28:31330 "UPDATE GL SIZE!" app.js:28:12114 "Final set zoom!" app.js:28:31330 "window resize" app.js:42:1039 "Final set zoom!" app.js:28:31330 "UPDATE GL SIZE!" app.js:28:12114 "Final set zoom!" app.js:28:31330 "window resize" app.js:42:1039 "Final set zoom!" app.js:28:31330 "UPDATE GL SIZE!" app.js:28:12114 "Final set zoom!" app.js:28:31330 "window resize" app.js:42:1039 "Final set zoom!" app.js:28:31330 "UPDATE GL SIZE!" app.js:28:12114 "Final set zoom!" app.js:28:31330 "window resize" app.js:42:1039 "Final set zoom!" app.js:28:31330 "UPDATE GL SIZE!" app.js:28:12114 "Final set zoom!" app.js:28:31330 "window resize" app.js:42:1039 "Final set zoom!" app.js:28:31330 "UPDATE GL SIZE!" app.js:28:12114 "Final set zoom!" app.js:28:31330 "window resize" app.js:42:1039 "Final set zoom!" app.js:28:31330 "UPDATE GL SIZE!" app.js:28:12114 "Final set zoom!" app.js:28:31330 "window resize" app.js:42:1039 "Final set zoom!" app.js:28:31330 "UPDATE GL SIZE!" app.js:28:12114 "Final set zoom!" app.js:28:31330 POST <a href="https://marketplace.roll20.net/library/find/" rel="nofollow">https://marketplace.roll20.net/library/find/</a> [HTTP/1.1 500 Internal Server Error 313ms] Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery.min.js:3:0 syntax error find:1:1 &lt;div style="width: 95%;"&gt; base.js:4:26493 "/library/userupload" base.js:4:25227 "upload complete triggered" base.js:4:24932 &lt;div style="width: 95%;"&gt; base.js:4:26493 "/library/userupload" base.js:4:25227 In both cases the sequence of user inputs is the same. On ( <a href="https://app.roll20dev.net/editor/" rel="nofollow">https://app.roll20dev.net/editor/</a>), with the Baerstun game loaded, I create a Page. Then I name the page. The next step is to click on the Art Library tab in the right pane, and then click the star ("Your Art Library"). This brings up a Library window which seems to be what triggers the HTTP 500 Internal Server Error in the console logs. (I believe the faulted state there is persisting, or perhaps the inability to read the library is causing the system to be unable to write a new record to the library.) User input continues -- I click "Upload" before the library finishes loading, click Choose a File, and navigate in my file structure to the correct file. Files on local drives, network drives, thumb drives, and optical media all generate the same error message: "Your upload failed. Your file may be too large (only files up to 10 MB are accepted), been of an illegal filetype (only PNG, JPG, PDF, and GIF are accepted), or your connection may have been interrupted. Please try again." I have reproduced the error with PNG, JPG, and GIF in Chrome and with the same JPG test file in Firefox. Waiting several minutes for the Library to finish loading before starting an upload seems to prevent the error from occurring; other times the Library dialog generates a "the server seems to be down or not responding" error. It's not clear to me what I can do to put my system in a state where waiting will clear the error. (I shouldn't have to wait 20 mins for this feature to become available, but if it will work I'll try it.) Let me know if you are able to reproduce this bug.
1428510205
Stephen Koontz
Forum Champion
Marketplace Creator
Sheet Author
API Scripter
Compendium Curator
Is this only happening in campaigns on Dev, or on Main as well? Do you get this issue uploading files to your library from the Marketplace?
1428594108

Edited 1428594139
Steve - I don't really use any campaigns outside the dev server, but I can try to reproduce it on production. (Sorry I didn't think of that). I have not tried uploading Marketplace files to my library, since I do most of my own assets, but I'll give that a shot too. Tonight's D&D for my party but I may have a chance to try this tomorrow. I'm pretty sure the root cause has to do with long library load times or load failure -- yesterday my library loaded super-fast, and I did not see the error. thanks!