Title: OpenAI chatbot error
Last modified: March 31, 2025

---

# OpenAI chatbot error

 *  Resolved [jminst](https://wordpress.org/support/users/jminst/)
 * (@jminst)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/openai-chatbot-error/)
 * I keep getting the following error when a prompt is entered to OpenAI Chatbot:
   `
   OpenAI: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error
   messages: error:0A000410:SSL routines::sslv3 alert handshake failure stream_socket_client():
   Failed to enable crypto stream_socket_client(): Unable to connect to ssl://api.
   openai.com:443 (Unknown error)`

Viewing 1 replies (of 1 total)

 *  Thread Starter [jminst](https://wordpress.org/support/users/jminst/)
 * (@jminst)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/openai-chatbot-error/#post-18392806)
 * I fixed it myself by removing `curl_exec` function from `disable_functions` in
   php.ini. Hope this helps others struggling with this error.

Viewing 1 replies (of 1 total)

The topic ‘OpenAI chatbot error’ is closed to new replies.

 * ![](https://ps.w.org/ai-engine/assets/icon-256x256.png?rev=3431928)
 * [AI Engine - The Chatbot, AI Framework & MCP for WordPress](https://wordpress.org/plugins/ai-engine/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ai-engine/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ai-engine/)
 * [Active Topics](https://wordpress.org/support/plugin/ai-engine/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ai-engine/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ai-engine/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [jminst](https://wordpress.org/support/users/jminst/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/openai-chatbot-error/#post-18392806)
 * Status: resolved