# Connection.yml is generated slowly

**URL:** <https://discourse.openondemand.org/t/connection-yml-is-generated-slowly/3277>\
**Category:** Get Help\
**Tags:** question\
**Created:** [February 21, 2024, 7:49am UTC](https://discourse.openondemand.org/t/connection-yml-is-generated-slowly/3277 "2024-02-21T07:49:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mnakao](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/mnakao/32/1001_2.png) [@mnakao](https://discourse.openondemand.org/u/mnakao)\
**Post date:** [February 21, 2024, 7:49am UTC](https://discourse.openondemand.org/t/connection-yml-is-generated-slowly/3277/1 "2024-02-21T07:49:19Z")

</div>

Congratulations on the release of OOD 3.1.

I tried it right away, but an issue occurred.  
When I submit an interactive job, the following error occurs.

> #\<Errno::ENOENT: No such file or directory @ rb\_sysopen - /home/users/masahiro.nakao/ondemand/data/sys/dashboard/batch\_connect/sys/desktop/output/ec133a4f-868a-4b11-b62d-b8a9d8fc0f0d/connection.yml\>

When I get this error and immediately run `ls ~/ondemand/data/sys/dashboard/batch_connect/sys/desktop/output/ec133a4f-868a-4b11-b62d-b8a9d8fc0f0d/connection.yml`, this file certainly does not exist. However, wait a few seconds and this file will be generated.

/home is NFS mounted, so I thought that synchronization was the problem. But my understanding is that `connection.yml` is generated by the server where OOD is installed. The above `ls` command is also executed on the same server. So I think it’s because for some reason it’s checking `connection.yml` before that file is generated.

Is there any solution to this issue?

Best,

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [February 21, 2024, 6:06pm UTC](https://discourse.openondemand.org/t/connection-yml-is-generated-slowly/3277/2 "2024-02-21T18:06:58Z")

</div>

Yea, sorry about that CSC just patched that and I’ll try to release the fix for it today.

The `connection.yml` is generated during the job’s runtime because the host & port aren’t known until the job is running.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [February 21, 2024, 9:30pm UTC](https://discourse.openondemand.org/t/connection-yml-is-generated-slowly/3277/3 "2024-02-21T21:30:12Z")

</div>

3.1.1 has been released with this bugfix.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [August 19, 2024, 9:30pm UTC](https://discourse.openondemand.org/t/connection-yml-is-generated-slowly/3277/4 "2024-08-19T21:30:47Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
