# CLI action 'tap package' commands hanging

**URL:** <https://forum.opentap.io/t/cli-action-tap-package-commands-hanging/1185>\
**Category:** Technical\
**Created:** [August 2, 2023, 2:00pm UTC](https://forum.opentap.io/t/cli-action-tap-package-commands-hanging/1185 "2023-08-02T14:00:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tatata](https://avatars.discourse-cdn.com/v4/letter/t/839c29/32.png) [@tatata](https://forum.opentap.io/u/tatata)\
**Post date:** [August 2, 2023, 2:00pm UTC](https://forum.opentap.io/t/cli-action-tap-package-commands-hanging/1185/1 "2023-08-02T14:00:46Z")

</div>

I have been facing this issue where `tap package` commands, especially `tap package install` and `tap package list`, quite often hang without any timeout making plugin development painful as I need to restart the session on the terminal multiple times. I first thought it might be related to my network connection but I think it is not the case as I keep facing this issue at home using both Wi-Fi and cellular data and at the office. This happens both when running them on a terminal and via a subprocess (Python development) within a plugin.

I would appreciate it, if you can help me on this issue!

P.S.: I am using `OpenTAP 9.21.1+2a94acc7`.

---

<div class="post-metadata">

**Author:** ![alan\_copeland](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@alan\_copeland](https://forum.opentap.io/u/alan_copeland)\
**Post date:** [August 3, 2023, 12:40pm UTC](https://forum.opentap.io/t/cli-action-tap-package-commands-hanging/1185/2 "2023-08-03T12:40:49Z")

</div>

You should add a **-v** to the command, then you can see the timestamps and low-level detail of where the time is going.

---

<div class="post-metadata">

**Author:** ![tatata](https://avatars.discourse-cdn.com/v4/letter/t/839c29/32.png) [@tatata](https://forum.opentap.io/u/tatata)\
**Post date:** [August 3, 2023, 1:11pm UTC](https://forum.opentap.io/t/cli-action-tap-package-commands-hanging/1185/3 "2023-08-03T13:11:34Z")

</div>

I actually use verbose log messages when creating packages (`tap package create -v ...`) and see this command also hang sometimes right after:

`00:00:04.467 : CLI : Debug : CLI action returned exit code: 0 [273 ms]`

That said I added `-v` to `tap package list -i` command and observed it hanging at the same point. Any idea about what’s going on?

---

<div class="post-metadata">

**Author:** ![alan\_copeland](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@alan\_copeland](https://forum.opentap.io/u/alan_copeland)\
**Post date:** [August 3, 2023, 1:24pm UTC](https://forum.opentap.io/t/cli-action-tap-package-commands-hanging/1185/4 "2023-08-03T13:24:22Z")

</div>

What package repo(s) do you have configured? Does the behavior change if you take out the Package Repos from the internet and just leave your local package folder?
