cURL error 35: OpenSSL SSL_connect

I'm working on a Laravel project using the RE NEXT API.
I'm using cron jobs to get a new access token every hour, but sometimes this error appears:

cURL error 35: OpenSSL SSL_connect: Connection reset by peer in connection to oauth2.sky.blackbaud.com:443 (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://oauth2.sky.blackbaud.com/token

I'm not sure where the error is coming from, since I have been working on this for approximately 3 months and I have not seen this error, it started appearing at the end of October, I don't know if it has to do with the API being updated. If anyone has had this problem, it would be very useful if you tell me how you solved it, since this error appears in my tests both locally and in production (only sometimes the error appears, other times the request to obtain a new token is done without problem).
Thank you

P.S. How do I know when the API has been updated? I've been having some issues with the responses I get from the API as the response structure has changed a bit.

Comments

  • Alex Wong
    Alex Wong Community All-Star
    Tenth Anniversary Kudos 5 Facilitator 3 bbcon 2025 Attendee Badge

    @Giovanni Trejo Abasolo
    I have a power automate flow that get new token every 59 minutes and it has been working without issue for ~1 year now. So i don't think there's a server problem with the API.

  • Chris Rodgers
    Chris Rodgers Blackbaud Employee
    Ninth Anniversary Kudos 2 Name Dropper Participant

    Hi, @Giovanni Trejo Abasolo. Including yourself, we've heard of a few reports of customers experiencing this issue. I sent you a message yesterday to collect more details so we can gather more data points to investigate. Thank you.

Categories