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

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

Score + 104
October 11 (3 years ago)

Edited October 12 (3 years ago)

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 : 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).

https://app.roll20.net/forum/post/10433120/could-someone-create-this-teeeeeensy-api-script-for-me/

October 11 (3 years ago)

I am quite in favor of this for the stated reason

October 11 (3 years ago)

Edited October 11 (3 years ago)

+1

October 11 (3 years ago)

I would love this.  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.  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.  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  suggestion-time-limit runs out :-)

October 11 (3 years ago)

+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"  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.

October 11 (3 years ago)
The Aaron
Roll20 Production Team
API Scripter

I'm in favor. =D


Jarren said:

I would love this.  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.  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.  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...?  


October 11 (3 years ago)
Kurt J.
Pro
API Scripter

Sounds like a good idea to me :)

October 11 (3 years ago)
JP
Plus

+1, would be incredibly useful!

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.  Cause they all whisper you a message when they spin up again.  

October 12 (3 years ago)
keithcurtis
Forum Champion
Marketplace Creator
API Scripter

I had a vote lying around.

October 12 (3 years ago)
Kraynic
Pro
Sheet Author
Looks like the 10 is there.  Now there is just the long slog to 200... 
October 12 (3 years ago)
GiGs
Pro
Sheet Author
API Scripter

This would be very handy.

October 12 (3 years ago)

Edited October 12 (3 years ago)


Ronnie McDurgen said:

....

... just trying to make sure that we get to the +10 mark before the  suggestion-time-limit runs out :-)


community task: done ;)



October 12 (3 years ago)

Edited October 12 (3 years ago)

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).

https://app.roll20.net/forum/post/10433120/could-someone-create-this-teeeeeensy-api-script-for-me/

October 12 (3 years ago)
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.

October 13 (3 years ago)

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...?  

Absolutely!

+1

October 14 (3 years ago)
Jens
Pro

+1

October 15 (3 years ago)

+1

+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.  Am I missing something?

October 18 (3 years ago)
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. 

Thanks for the reply David, that makes more sense now and this sounds like a good suggestion.

October 21 (3 years ago)
Bill
Pro

+1

November 13 (3 years ago)

Edited June 01 (2 years ago)

+1 Requested this months ago.

APIs are a BIG part of the game these days and among the main reasons to have a Pro account. I have gotten to the point now where I keep a separate web tab open to the API page so that when it blows out (not infrequent as things get updated), I can immediately punt the thing back into action. Having to stop and open a page load just to restart this AND always wondering if it has blown out when things go awry seems silly.

If you make it a colored hammer icon that flashes red when it bails that I can mouse mash ... PERKS! ;)

December 13 (3 years ago)
Jiboux
Pro
Sheet Author
Compendium Curator

+1

+1

June 17 (2 years ago)

+1

March 10 (2 years ago)

Edited March 10 (2 years ago)

Indeed, API scripts are still a big help for my campaigns, but prefer build-in features assuming they run more smoothly and better supported by the roll20 team :) 

A pop-up window with a Refresh/Restart option for the API sandbox included flashing would be really handy :D  

March 10 (2 years ago)

I've been using API HeartBeat to monitor the sandbox status, but having a way to restart the sandbox from within the game would be great. I really don't like having to keep another instance of Roll20 running in a separate tab just to facilitate that.

+1

For a PRO account subscriber, APIs are essential but frequently crash and are an ongoing frustration. A fast reboot option would be v useful. 

ideally some of the core APIs would be incorporated into Roll20 to hopefully stabilise the platform.

+1 on this also, but as the TO predicted a year has passed and it was not implemented up until now, which shows their priorities...


the Magnificent DM said:

+1

For a PRO account subscriber, APIs are essential but frequently crash and are an ongoing frustration. A fast reboot option would be v useful. 

ideally some of the core APIs would be incorporated into Roll20 to hopefully stabilise the platform.



August 15 (1 year ago)

I voted for this a while ago, but I want to chime in on the fast-reboot idea.  How about a pop-up with a button, eg. "Your API sandbox has crashed, do you want to restart it?".

If I'm debugging, sure, I'll want to open the window and look at the traceback.  But if I'm mid-game, I just want to get back to the action as quickly as possible.

April 09 (1 year ago)
Ulti
Pro
Sheet Author
API Scripter

Maybe we could have that with the next big updates ?