# Ray tasks sometimes hang in PENDING\_NODE\_ASSIGNMENT

**URL:** <https://discuss.ray.io/t/ray-tasks-sometimes-hang-in-pending-node-assignment/8840>\
**Category:** Ray Core\
**Created:** [January 3, 2023, 8:05pm UTC](https://discuss.ray.io/t/ray-tasks-sometimes-hang-in-pending-node-assignment/8840 "2023-01-03T20:05:05Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![theicfire](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/theicfire/32/3661_2.png) [@theicfire](https://discuss.ray.io/u/theicfire)\
**Post date:** [January 5, 2023, 9:41pm UTC](https://discuss.ray.io/t/ray-tasks-sometimes-hang-in-pending-node-assignment/8840/6 "2023-01-05T21:41:38Z")

</div>

[Runtime\_env fails when running Ray in Docker](https://discuss.ray.io/t/runtime-env-fails-when-running-ray-in-docker/5508) looks like a similar issue, but all my ports are shared between all my ray workers. Here’s me checking the dashboard agent ports are good:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/ray/original/2X/1/1559973f673503e2cf7e05bf2214701d358cc13c.png)

---

_[View the full topic](https://discuss.ray.io/t/ray-tasks-sometimes-hang-in-pending-node-assignment/8840)._
