Limekiller / moodle-block_openai_chat

An AI chat block for Moodle, powered by GPT
https://moodle.org/plugins/block_openai_chat
GNU General Public License v3.0
29 stars 18 forks source link

Timeout on API Call #46

Closed matthiasAtFernUni closed 6 months ago

matthiasAtFernUni commented 7 months ago

Hy,

we are using the openai_chat plugin in version 2.0.1 on our moodle (version 4.1.6), and our problem is that the connection to OpenAI appears to timeout.

The request to completion.php returns {"id":"error","message":""} and digging a little deeper, the request to OpenAI from within the plugin returns Operation timed out after 30001 milliseconds with 0 out of 0 bytes received.

My question is, how do we resolve this problem? Have we missed to configure something properly?

matthiasAtFernUni commented 6 months ago

We fixed the issue. The plugin wasn't at fault here. Our own firewall rules were too strict.

Issue closed.