# error=Error communicating with OpenAI. - 3.8

**URL:** https://forum.rasa.com/t/error-error-communicating-with-openai-3-8/62089
**Category:** Rasa CALM
**Created:** [May 29, 2024, 2:59am UTC](https://forum.rasa.com/t/error-error-communicating-with-openai-3-8/62089 "2024-05-29T02:59:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rangaiahsanjeev](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/rangaiahsanjeev/32/24246_2.png) [@rangaiahsanjeev](https://forum.rasa.com/u/rangaiahsanjeev)
#### Post date: [May 29, 2024, 2:59am UTC](https://forum.rasa.com/t/error-error-communicating-with-openai-3-8/62089/1 "2024-05-29T02:59:02Z")

</div>

I am trying to just run the Tutorial. Tried with 3.80 and 3.81 and it I get this Error.

I run exactly the same Tutorial with rasa-plus (3.7x) and it is working

2024-05-26 08:20:23 **INFO** rasa.model\_training - [**info**] **Your Rasa model is trained and saved at ‘models/20240526-082021-full-drone.tar.gz’.** event\_key=model\_training.train.finished\_training

? **Do you want to speak to the trained assistant? 🤖**  **Yes**

2024-05-26 08:20:26 **INFO** root - Connecting to channel ‘rasa.core.channels.development\_inspector.DevelopmentInspectInput’ which was specified by the ‘–connector’ argument. Any other channels will be ignored. To connect to all given channels, omit the ‘–connector’ argument.

2024-05-26 08:20:26 **INFO** root - Starting Rasa server on [http://0.0.0.0:5005](http://0.0.0.0:5005/)

2024-05-26 08:20:26 **INFO** rasa.core.processor - Loading model models/20240526-082021-full-drone.tar.gz…

2024-05-26 08:20:26 **INFO** rasa.dialogue\_understanding.generator.llm\_command\_generator - [**info**] **llm\_command\_generator.flow\_retrieval.enabled**

/Users/srangaiah/repos/knowledge\_engine/rasa\_37/venv/lib/python3.10/site-packages/rasa/core/processor.py:129: UserWarning: The model metadata does not contain a value for the ‘assistant\_id’ attribute. Check that ‘config.yml’ file contains a value for the ‘assistant\_id’ key and re-train the model. Failure to do so will result in streaming events without a unique assistant identifier.

rasa.shared.utils.io.raise\_warning(

2024-05-26 08:20:26 **INFO** root - Rasa server is up and running.

/Users/srangaiah/repos/knowledge\_engine/rasa\_37/venv/lib/python3.10/site-packages/sanic/server/websockets/impl.py:521: DeprecationWarning: The explicit passing of coroutine objects to asyncio.wait() is deprecated since Python 3.8, and scheduled for removal in Python 3.11.

done, pending = await asyncio.wait(

2024-05-26 08:20:47 **ERROR** rasa.dialogue\_understanding.generator.command\_generator - [**error**] **command\_generator.predict.error** error=Error communicating with OpenAI

**Here is my config.yml**

recipe: default.v1 language: en pipeline:

- name: LLMCommandGenerator llm: model\_name: gpt-4

policies:

- name: FlowPolicy

---

<div class="post-metadata">

### Author: ![rangaiahsanjeev](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/rangaiahsanjeev/32/24246_2.png) [@rangaiahsanjeev](https://forum.rasa.com/u/rangaiahsanjeev)
#### Post date: [June 22, 2024, 4:50pm UTC](https://forum.rasa.com/t/error-error-communicating-with-openai-3-8/62089/2 "2024-06-22T16:50:34Z")

</div>

Found teh problem. This is isloted to MACOS. run this command

bash /Applications/Python\*/Install\ Certificates.command

> <https://stackoverflow.com/questions/42098126/mac-osx-python-ssl-sslerror-ssl-certificate-verify-failed-certificate-verify>
