0

I've been accessing Odoo regularly for months via the XML-RPC API. I use a php script I wrote that makes use of darkaonline/ripcord library.

All of a sudden, in the last day or so, I have been seeing this error in my logs:

production.ERROR: exception 'ErrorException' with message 'file_get_contents(): SSL: crypto enabling timeout' in app/vendor/darkaonline/ripcord/src/Ripcord/Client/Transport/Stream.php:59

Nothing has changed on my server in the last few days, so I'm wondering if anything has changed with Odoo that might be causing this. I am access an ODOO ONLINE instance, meaning, I do not host it, it's hosted by Odoo. It's using Odoo 10.saas~14+e (Enterprise Edition).

My server is running Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-36-generic x86_64) and using PHP version: PHP 5.5.9-1ubuntu4.20 (cli) (built: Oct 3 2016 13:00:37).

Does anyone have any idea what this error means or why it suddenly started occurring? I have no idea where to being troubleshooting this.

Amit Gupta
  • 2,771
  • 2
  • 17
  • 31
flyingL123
  • 7,686
  • 11
  • 66
  • 135
  • https://stackoverflow.com/a/14078318/1207049 – marekful Jan 08 '18 at 04:32
  • @marekful, can you explain a bit more? What does this mean? Did the Odoo server suddenly update their SSL version and my PHP script is using now using the wrong version? If you could offer a more detailed explanation that would really be helpful. I see the question you referenced is very relevant, but I don't know enough to connect all the pieces. – flyingL123 Jan 08 '18 at 04:39
  • I linked this in so as to possibly having some clues. It's worth to give a try checking things like explicitly specifying sslv3 wiht cURL or playing with cipher algo settings. – marekful Jan 08 '18 at 04:42
  • I'm not even sure how to do that. I'm not using curl. I'm using that Ripcord library I linked to which uses `file_get_contents`. I'm not sure where I would attempt to make any of these configuration changes. – flyingL123 Jan 08 '18 at 04:56
  • @marekful, I was able to get the Ripcord library to use curl and use v3 ssl. When it attempts to make a call now, I get an error: `error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure`. Any idea what would cause this? – flyingL123 Jan 10 '18 at 00:43

0 Answers0