Warning: SoapClient::__doRequest(): SSL operation failed with code 1.

Hi Everyone,

I’m having a very frustrating error that keeps happening when I make a SOAP call. Here are the two error messages I receiving and the call fails:

– Warning: SoapClient::__doRequest(): SSL operation failed with code 1. OpenSSL Error messages: error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length

–Fatal error: Uncaught SoapFault exception: [HTTP] Error Fetching http headers

This use to work just fine. I created a new server from snapshot and now I’m receiving this error.

I’ve tried several things and nothing seems to fix the problem. Any help would be greatly appreciated.

Thanks Bob

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @bbeams,

After some digging around, it seems like this error is related to outdated PHP versions. I know it’s quite dull but can you try and use the most up to date PHP version there is and see if the same error will be experienced? Of course, you’ll need to install the proper modules and everything but it should be well worthed.

Regards, KDSys