Title: Error reported using AI Engine
Last modified: April 24, 2023

---

# Error reported using AI Engine

 *  Resolved [seedatk](https://wordpress.org/support/users/seedatk/)
 * (@seedatk)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-reported-using-ai-engine/)
 * After I finished configuring open ai’s apikey, I went to debug it in Chatbots
   and clicked on AI to send him a message, but the result I got was Error while
   calling OpenAI: Error while calling OpenAI: cURL error 28: Failed to connect 
   to api.openai.com port 443: Connection timed out, I am very confused about this?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-reported-using-ai-engine/#post-16683416)
 * Hi [@seedatk](https://wordpress.org/support/users/seedatk/),
 * Can you have a look at this page? Here: [https://meowapps.com/fix-openai-errors/](https://meowapps.com/fix-openai-errors/).
   I am talking about this issue specifically. Let me know if you find something.
 *  Thread Starter [seedatk](https://wordpress.org/support/users/seedatk/)
 * (@seedatk)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-reported-using-ai-engine/#post-16683623)
 * Thank you very much for your reply, another question I have is that I prepared
   a server in the USA in the way you described and used squid in it, I have a problem
   that he needs to use the plugin in your theme or other plugins:
 * To send requests through the remote proxy server, simply call the `wp_proxy_request`
   function with the desired URL:
 * \`php</p> <p>$content = wp_proxy_request(‘<a href=”[https://example.com/&#8221](https://example.com/&#8221);
   rel=”noreferrer noopener” target=”_blank”>[https://example.com/</a>&#8217](https://example.com/</a>&#8217););
   </p> <p>`
 * Replace ‘[https://example.com/](https://example.com/)‘ with the URL you’d like
   to request through the proxy. The `$content` variable will hold the response 
   body, which you can use as needed in your theme or another plugin.
 * By following these steps, you’ll create a simple WordPress plugin that sends 
   requests through your remote Squid proxy server.
 * I would like to ask where is the function wp_proxy_request?
 *  Thread Starter [seedatk](https://wordpress.org/support/users/seedatk/)
 * (@seedatk)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-reported-using-ai-engine/#post-16683730)
 * Also after I purchased the pro version, I enabled the bot, but I don’t see it
   anywhere on my webpage.
 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-reported-using-ai-engine/#post-16685739)
 * > Also after I purchased the pro version, I enabled the bot, but I don’t see 
   > it anywhere on my webpage.
 * How have you enabled it? Are you using the shortcode? Have you enabled it site-
   wide and selected the right chatbot for it in the Chatbots tab?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error reported using AI Engine’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/error-reported-using-ai-engine/#post-16685739)
 * Status: resolved