# "The connection to the terminal's pty host process is unresponsive, the terminals may stop working."

**URL:** <https://discourse.julialang.org/t/the-connection-to-the-terminals-pty-host-process-is-unresponsive-the-terminals-may-stop-working/85741>\
**Category:** VS Code\
**Tags:** repl, error, vscode, crash\
**Created:** [August 14, 2022, 7:31pm UTC](https://discourse.julialang.org/t/the-connection-to-the-terminals-pty-host-process-is-unresponsive-the-terminals-may-stop-working/85741 "2022-08-14T19:31:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bremez](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bremez/32/38777_2.png) [@bremez](https://discourse.julialang.org/u/bremez)\
**Post date:** [August 14, 2022, 7:31pm UTC](https://discourse.julialang.org/t/the-connection-to-the-terminals-pty-host-process-is-unresponsive-the-terminals-may-stop-working/85741/1 "2022-08-14T19:31:02Z")

</div>

I’ve been using VSCode for a few months. Today I started receiving the following error:

```nohighlight
The connection to the terminal's pty host process is unresponsive, the terminals may stop working.

```

At which point, the REPL becomes unresponsive to user input. It appears I can still run cells from the editor window.

This happens every few minutes, usually following anything that prints more than a few characters in the REPL. The success of VSCode in reestablishing connection with the terminal is not guaranteed, and VSCode starts churning away at my CPU until it does, or gives up. The problem persists across multiple attempts at shutting down VSCode and relaunching it.

This is making VS Code borderline unusable. Any clues how to investigate the cause?

---

<div class="post-metadata">

**Author:** ![mkoculak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkoculak/32/28310_2.png) [@mkoculak](https://discourse.julialang.org/u/mkoculak)\
**Post date:** [August 14, 2022, 7:56pm UTC](https://discourse.julialang.org/t/the-connection-to-the-terminals-pty-host-process-is-unresponsive-the-terminals-may-stop-working/85741/2 "2022-08-14T19:56:00Z")

</div>

Yeah, look here

> [@VSCode REPL hanging after a while](https://discourse.julialang.org/t/vscode-repl-hanging-after-a-while/85585):
>
> This just started happening recently. After I use the integrated VSCode repl for a while, it increasingly hangs with this error: “The connection to the terminal’s pty host process is unresponsive, the terminals may stop working.” It recovers, but it takes longer and longer to recover until I have to restart it. This was happening with Julia 1.7.1 and I upgraded to 1.7.3 and it still happens. I recently upgraded to Windows 11, so that could be related. I understand the problem might be with Wi…

I think they already pushed a fix to the insiders version of the plugin.
