• Resolved katjavolker

    (@katjavolker)


    Hey. I am wondering if there is a code snippet I can add to make sure that Salesforce is up and running. Obviously, there has been a down time yesterday between 12.00 and 03.00pm CEST and that almost had our website crashed because a request was trying to send to Salesforce but couldn’t connect and things got stuck in a loop.

    Error reported:
    Failed to connect to site.my.salesforce.com port 443

    So I am thinking of something like that:
    if(salesforce is up) {
    do the thing we usually do;
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jonathan Stegall

    (@jonathanstegall)

    I’m curious what kind of code you’re running that would crash the website if Salesforce was down. Are you accessing the API directly, or doing some developer hook things, to load data onto the website directly from the API? I’d like to understand what is happening before trying to give advice on that, because I don’t think the default behavior of the plugin would cause a site to go down if Salesforce was down.

    Thread Starter katjavolker

    (@katjavolker)

    Hey, thanks for the reply. I figured that this goes beyond your plugin specs. It does not have anything to do with the sync.

    Yes, we have developed a snippet which connects to salesforce, sends collected data and returns a response.

    I have not experienced a down time of salesforce before yesterday and thus did not think of checking SF status before even trying to connect.

    Will figure it out ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Failed to connect to Salesforce’ is closed to new replies.