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.

Can't get API Sandbox to start

Just subscribed to Pro, Trying to experiment with the API but i can never get the sandbox to start. I am using chrome and have tried multiple machines (my desktop Windows Vista (i know... ) and my work laptop Mac OSX. Both stop at the same point: Spinning up new sandbox... "-=&gt; Torch v0.8.7 &lt;=- [Fri Feb 26 2016 20:39:59 GMT+0000 (UTC)]" "-=&gt; GroupInitiative v0.9.18 &lt;=- [Tue Feb 09 2016 23:15:36 GMT+0000 (UTC)]" " &gt; Updating Schema to v1 &lt;" if i try the Restart Sandbox button i get only the following: Restarting sandbox due to script changes... Previous shutdown complete, starting up... Spinning up new sandbox... "-=&gt; Torch v0.8.7 &lt;=- [Fri Feb 26 2016 20:39:59 GMT+0000 (UTC)]" "-=&gt; GroupInitiative v0.9.18 &lt;=- [Tue Feb 09 2016 23:15:36 GMT+0000 (UTC)]" so on the restart, i don't get to the "updating Schema" message. on my Windows Vista desktop i'm using Chrom&nbsp;Version 49.0.2623.112 on my Mac OSx laptop i'm using Chrome Version 52.0.2743.116 both are 64bit machines. Javascript is enabled Addons have been disabled&nbsp; Windows AV is AVG Free Mac AV is TrendMicro The only entries in the console log when loading the API page are https warnings on the Patreon logo. Mixed Content: The page at '<a href="https://app.roll20.net/campaigns/scripts/1583933" rel="nofollow">https://app.roll20.net/campaigns/scripts/1583933</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://app.roll20.net/images/patreon_logo.png" rel="nofollow">http://app.roll20.net/images/patreon_logo.png</a>'. This content should also be served over HTTPS. 1583933:716 Mixed Content: The page at '<a href="https://app.roll20.net/campaigns/scripts/1583933" rel="nofollow">https://app.roll20.net/campaigns/scripts/1583933</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://app.roll20.net/images/patreon_logo.png" rel="nofollow">http://app.roll20.net/images/patreon_logo.png</a>'. This content should also be served over HTTPS. 1583933:1134 Auth success!
1471107081

Edited 1471107364
Do you get the error message that the sandbox is shutdown due to an error in the scripts? (example below) If you don't see that the API sandbox should be running.
I guess I was expecting to be able to execute commands into the sandbox. does everything still have to be done through the camaign chat window?
1471113339
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Your sandbox is started up. Those log entries are based on what the script logs when it is loaded. The updating schema is just what Aaron programmed it to report when the version is updated. The sandbox itself doesn't actually give you any feedback that it is fully ready other than "spinning up sandbox". As for passing commands from the API console. The API is setup to interface with the game, so unless you use something like on('ready',function(){}) it won't do anything without some sort of input from the game, whether that be a chat message, a token change, or a character change depending on what sort of on('event type') you use.
Thanks for the clarification. I think the term "Sandbox" just threw me. It's really more of just a log output screen.&nbsp;
do i mark this closed/resolved somehow is that a mod thing?
Bill said: do i mark this closed/resolved somehow is that a mod thing? Mod thing. :)