About   |   Getting Started   |   Downloads   |   Documentation   |   Forum


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
POST/GET crash
03-02-2017, 07:48 PM
Post: #1
POST/GET crash
This morning my website went down with an "internal error" and when my plugins checked for an update (async POST over SSL), it crashed Illustrator and I (and probably all of my users) couldn't work until the plugins were removed. Later the site simply didn't respond, at which point the POST properly called the "fail" callback. Is there anything we can put in our code to catch that? Or maybe CORE can be modified to catch the failed server, stop the process, and fail normally? Thanks.
Find all posts by this user
Quote this message in a reply
03-07-2017, 12:29 PM
Post: #2
RE: POST/GET crash
That's strange. CORE internally uses built-in platform/OS functions to handle its networking, and as such the OS should have properly handled the connection error and/or HTTP error and executed your failure callback. Was this on Mac or Windows? And what was the specific HTTP error code that was being issued by your server?
Find all posts by this user
Quote this message in a reply
03-07-2017, 08:32 PM
Post: #3
RE: POST/GET crash
Hi Garrett, Macs crashed and Windows had odd behavior, particularly with selection tools. It was mayhem in the office when this happened so I only got a glimpse of the error screen. I could probably find out the specific error code, but I believe it was 500, internal server error. Let's hope it was a fluke and will never happen again. Thanks for confirming the OS handling of the call!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)