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 .
×
Advertisement Create a free account

A GM-only popup that simply says: "Your API sandbox has crashed"

Score + 29
1633981490

Edited 1634031331
The API scripts are a big part of why I pay for the Pro subscription, but I cannot trust my collection of scripts if I don't get a notification as soon as they go down in the middle of a roleplaying session :-( UPDATE : &nbsp;Since roll20 will probably take at least a year to implement this fix; anyone who is interested in a temporary solution until then, can check out this thread, where two geniuses, The Aaron and Kurt J., created one for me on the spot (it's two scripts that work together brilliantly). <a href="https://app.roll20.net/forum/post/10433120/could-someone-create-this-teeeeeensy-api-script-for-me/" rel="nofollow">https://app.roll20.net/forum/post/10433120/could-someone-create-this-teeeeeensy-api-script-for-me/</a>
I am quite in favor of this for the stated reason
1633983906

Edited 1633983929
+1
1633985628
I would love this.&nbsp; I was using The Aaron's API Heartbeat for quite a while, but I realized that after prolonged use it would cause slowdown in the game.&nbsp; Since then I open up the game's API page in a separate window, and shrink it down and put it in the corner of my screen so I'll see right away if the pink error message pops up.&nbsp; Unfortunately there are still times when the API has 'silent' crashes that aren't logged in the API Output window, and I'll have to reboot the API without any indication on the API Output window.
Thanks for your kind words, guys :-) One thing, though... I think that one of us may have forgotten to press the "upvote-arrow" button... because right now, the score is only +3, but it should be +4, given that there are four of us... ... just trying to make sure that we get to the +10 mark before the&nbsp; suggestion-time-limit runs out :-)
+1 Yap, makes sense, absolutely. It happened to me a couple of times that had to wonder why an API wasn't doing what was expected to do, and had to answer some "funny"&nbsp; questions about this awesome API integration .... was not funny. Now am always checking sandbox more frequently for any nasty looking messages, and sometimes I just do a API restart... just in case. Not really a professional approach.
1633989421
The Aaron
Forum Champion
API Scripter
I'm in favor. =D Jarren said: I would love this.&nbsp; I was using The Aaron's API Heartbeat for quite a while, but I realized that after prolonged use it would cause slowdown in the game.&nbsp; Since then I open up the game's API page in a separate window, and shrink it down and put it in the corner of my screen so I'll see right away if the pink error message pops up.&nbsp; Unfortunately there are still times when the API has 'silent' crashes that aren't logged in the API Output window, and I'll have to reboot the API without any indication on the API Output window. I have a complete rewrite of API Heartbeat that I need to put the final touches on, maybe you could test it for me...?&nbsp;&nbsp;
1633991204
Kurt J.
Pro
API Scripter
Sounds like a good idea to me :)
1633992626
JP
Pro
+1, would be incredibly useful!
1633994178
You can actually detect the silent restarts if you have specific api's running that ping on restarts, like Teleport API, MOTD api, and Wildshape API.&nbsp; Cause they all whisper you a message when they spin up again.&nbsp;&nbsp;
1633998813
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I had a vote lying around.
1634004038
Kraynic
Pro
Sheet Author
Looks like the 10 is there.&nbsp; Now there is just the long slog to 200...&nbsp;
1634018325
GiGs
Pro
Sheet Author
API Scripter
This would be very handy.
1634026086

Edited 1634026325
Ronnie McDurgen said: .... ... just trying to make sure that we get to the +10 mark before the&nbsp; suggestion-time-limit runs out :-) community task: done ;)
1634031198

Edited 1634031363
UPDATE : Since roll20 will probably take at least a year to implement this fix; anyone who is interested in a temporary solution until then, can check out this thread, where two geniuses, The Aaron and Kurt J., created one for me on the spot (it's two scripts that work together brilliantly). <a href="https://app.roll20.net/forum/post/10433120/could-someone-create-this-teeeeeensy-api-script-for-me/" rel="nofollow">https://app.roll20.net/forum/post/10433120/could-someone-create-this-teeeeeensy-api-script-for-me/</a>
1634038186
David M.
Pro
API Scripter
+1 At the risk of scope creep, it would also be handy to have "Restart Sandbox" capability from within the VTT browser window after the notification was sent.
1634155620
The Aaron said: I have a complete rewrite of API Heartbeat that I need to put the final touches on, maybe you could test it for me...?&nbsp;&nbsp; Absolutely!
+1
1634181895
Jens
Pro
+1
1634311126
+1
1634584501
+1
I am not on pro obviously, but wouldnt it make more sense to fix the issue rather then have a message that says its down? This suggestion implys that the API is often broken.&nbsp; Am I missing something?
1634599181
David M.
Pro
API Scripter
Fluffanutter, api scripts are written by the community and are subject to bugs, incomplete error handling, unanticipated circumstances, and conflicts with each other. Many of us (including myself) are not formally trained s/w developers. It *usually* isn't a Roll20 infrastructure problem.&nbsp;
Thanks for the reply David, that makes more sense now and this sounds like a good suggestion.
1634857440
Bill
Pro
+1