Question

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

Posted November 14, 2018 1.3k views
ApachePHPUbuntu 16.04

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:EVPCIPHERCTXsetkeylength: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

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.

×
1 answer

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

Submit an Answer