# OOD 1.5.5: Cluster config: batch\_connect: vnc: environment settings issue

**URL:** https://discourse.openondemand.org/t/ood-1-5-5-cluster-config-batch-connect-vnc-environment-settings-issue/551
**Category:** Get Help
**Tags:** question
**Created:** [October 16, 2019, 9:38pm UTC](https://discourse.openondemand.org/t/ood-1-5-5-cluster-config-batch-connect-vnc-environment-settings-issue/551 "2019-10-16T21:38:06Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [October 17, 2019, 2:51pm UTC](https://discourse.openondemand.org/t/ood-1-5-5-cluster-config-batch-connect-vnc-environment-settings-issue/551/2 "2019-10-17T14:51:05Z")

</div>

Hi, thanks for the all the details in your question! This works in your sandbox but not in your HPC (production?) environment, so that’s a clue. As a quick spot check be sure they’re the same versions. 1.5.5 isn’t that old, but it’s not that new either. (1.6.20 is latest just FYI).

You’re yml looks good. I copied it and read it and it loaded correctly.

But my guess is, if the libraries could have read the yml correctly they would written the job shell correctly (as they do in your lab sandbox). The library doesn’t interpret it in any way, so it’s actual content is only meaningful as it relates to yml parsing.

Can you do a quick diff on your cluster configs between the two environments? Sometimes it may be something as simple as a yml indentation issue. We use single lines like below. Maybe you can try that as a test instead of the `|`?

Obviously there’ll be some quoting issues, but my guess is it’s something simple like a yml parsing issue. The library can’t read it and just discards that portion.

```auto
  batch_connect:
      basic:
        script_wrapper: "module restore\n%s"
      vnc:
        script_wrapper: "module restore\nmodule load ondemand-vnc\n%s"

```

Also, it looks like you can set the websockify command directly with this parameter. Though, this will only get you half of the way there. You still won’t get the other bits out of the `script_wrapper` which isn’t happening for you now.

```auto
      vnc:
        # ...
        websockify_cmd: "/usr/bin/websockify"

```

---

_[View the full topic](https://discourse.openondemand.org/t/ood-1-5-5-cluster-config-batch-connect-vnc-environment-settings-issue/551)._
