# Creditcoin 1.6.3 Error

**URL:** https://community.creditcoin.org/t/creditcoin-1-6-3-error/118
**Category:** Mining
**Created:** [November 4, 2020, 5:19am UTC](https://community.creditcoin.org/t/creditcoin-1-6-3-error/118 "2020-11-04T05:19:09Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![dlwlalsggg](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@dlwlalsggg](https://community.creditcoin.org/u/dlwlalsggg)
#### Post date: [November 4, 2020, 5:19am UTC](https://community.creditcoin.org/t/creditcoin-1-6-3-error/118/1 "2020-11-04T05:19:09Z")

</div>

```
[2020-11-04 05:16:40.054 ERROR interconnect] An error occurred while sending heartbeat: Set changed size during iteration
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 199, in _do_heartbeat
    yield from self._do_dealer_heartbeat()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 274, in _do_dealer_heartbeat
    yield from self._stop()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 607, in _stop
    tasks = list(asyncio.Task.all_tasks(self._event_loop).copy())
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in all_tasks
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in <setcomp>
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/_weakrefset.py", line 60, in __iter__
    for itemref in self.data:
RuntimeError: Set changed size during iteration
```

---

<div class="post-metadata">

### Author: ![pringles](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.creditcoin.org/pringles/32/64_2.png) [@pringles](https://community.creditcoin.org/u/pringles)
#### Post date: [November 4, 2020, 6:00am UTC](https://community.creditcoin.org/t/creditcoin-1-6-3-error/118/2 "2020-11-04T06:00:48Z")

</div>

yes i have RuntimeError: Set changed size during iteration too

It is literally a problem caused by resizing during iteration.  
It seems to have nothing to do with mining.

---

<div class="post-metadata">

### Author: ![dlwlalsggg](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@dlwlalsggg](https://community.creditcoin.org/u/dlwlalsggg)
#### Post date: [November 5, 2020, 2:47pm UTC](https://community.creditcoin.org/t/creditcoin-1-6-3-error/118/3 "2020-11-05T14:47:52Z")

</div>

오류가 밀리세컨드 단위로 매우 빈번하게 수백번 이상 반복됩니다.  
Errors are repeated hundreds or more times very often in milliseconds.

```
[2020-11-05 14:45:41.760 ERROR interconnect] An error occurred while sending heartbeat: Set changed size during iteration
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 199, in _do_heartbeat
    yield from self._do_dealer_heartbeat()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 274, in _do_dealer_heartbeat
    yield from self._stop()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 607, in _stop
    tasks = list(asyncio.Task.all_tasks(self._event_loop).copy())
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in all_tasks
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in <setcomp>
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/_weakrefset.py", line 60, in __iter__
    for itemref in self.data:
RuntimeError: Set changed size during iteration
[2020-11-05 14:45:55.665 ERROR interconnect] An error occurred while sending heartbeat: Set changed size during iteration
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 199, in _do_heartbeat
    yield from self._do_dealer_heartbeat()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 274, in _do_dealer_heartbeat
    yield from self._stop()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 607, in _stop
    tasks = list(asyncio.Task.all_tasks(self._event_loop).copy())
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in all_tasks
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in <setcomp>
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/_weakrefset.py", line 60, in __iter__
    for itemref in self.data:
RuntimeError: Set changed size during iteration
[2020-11-05 14:45:41.761 ERROR interconnect] An error occurred while sending heartbeat: Set changed size during iteration
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 199, in _do_heartbeat
    yield from self._do_dealer_heartbeat()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 274, in _do_dealer_heartbeat
    yield from self._stop()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 607, in _stop
    tasks = list(asyncio.Task.all_tasks(self._event_loop).copy())
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in all_tasks
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in <setcomp>
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/_weakrefset.py", line 60, in __iter__
    for itemref in self.data:
RuntimeError: Set changed size during iteration
[2020-11-05 14:45:55.666 ERROR interconnect] An error occurred while sending heartbeat: Set changed size during iteration
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 199, in _do_heartbeat
    yield from self._do_dealer_heartbeat()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 274, in _do_dealer_heartbeat
    yield from self._stop()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 607, in _stop
    tasks = list(asyncio.Task.all_tasks(self._event_loop).copy())
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in all_tasks
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in <setcomp>
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/_weakrefset.py", line 60, in __iter__
    for itemref in self.data:
RuntimeError: Set changed size during iteration
[2020-11-05 14:45:55.698 ERROR interconnect] An error occurred while sending heartbeat: Set changed size during iteration
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 199, in _do_heartbeat
    yield from self._do_dealer_heartbeat()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 274, in _do_dealer_heartbeat
    yield from self._stop()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 607, in _stop
    tasks = list(asyncio.Task.all_tasks(self._event_loop).copy())
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in all_tasks
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in <setcomp>
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/_weakrefset.py", line 60, in __iter__
    for itemref in self.data:
RuntimeError: Set changed size during iteration

```

또 다른 오류  
Another error

```
[2020-11-05 14:50:34.395 ERROR base_events] Task was destroyed but it is pending!
task: <Task pending coro=<_SendReceive._send_last_message() done, defined at /usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py:409> cb=[_chain_future.<locals>._call_set_state() at /usr/lib/python3.5/asyncio/futures.py:438]>
[2020-11-05 14:50:34.395 ERROR base_events] Task was destroyed but it is pending!
task: <Task pending coro=<_SendReceive._send_last_message() done, defined at /usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py:409> cb=[_chain_future.<locals>._call_set_state() at /usr/lib/python3.5/asyncio/futures.py:438]>

```

경고가 너무 많이 발생 함.  
Too many warnings have occurred.

```
[2020-11-05 14:54:30.714 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.714 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.714 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.721 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.721 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.733 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.733 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.734 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.734 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.735 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.735 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.742 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.742 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.743 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.743 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.760 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.760 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.761 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.761 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.767 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.767 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.771 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.771 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.772 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.772 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.773 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.773 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.777 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.777 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.784 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.784 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.861 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
[2020-11-05 14:54:30.861 WARNING handlers] Received AuthorizationViolation from 1ea032ca36203431f5810bd1cc2e607d5f0688199ff7a2b1fc4b9a42c0859b86619da44d872e9871ab4596b7505f5e7e7185a4505f3f2f91440dd5c552e60f5d
```

---

<div class="post-metadata">

### Author: ![pringles](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.creditcoin.org/pringles/32/64_2.png) [@pringles](https://community.creditcoin.org/u/pringles)
#### Post date: [November 5, 2020, 8:39pm UTC](https://community.creditcoin.org/t/creditcoin-1-6-3-error/118/4 "2020-11-05T20:39:47Z")

</div>

yes this is the same issue

---

<div class="post-metadata">

### Author: ![will\_gluwa](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.creditcoin.org/will_gluwa/32/9_2.png) [@will\_gluwa](https://community.creditcoin.org/u/will_gluwa)
#### Post date: [November 5, 2020, 9:54pm UTC](https://community.creditcoin.org/t/creditcoin-1-6-3-error/118/5 "2020-11-05T21:54:47Z")

</div>

Please try updating to Creditcoin 1.6.4, which contains a hotfix for this issue with Sawtooth Validator.

---

<div class="post-metadata">

### Author: ![pringles](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.creditcoin.org/pringles/32/64_2.png) [@pringles](https://community.creditcoin.org/u/pringles)
#### Post date: [November 5, 2020, 11:47pm UTC](https://community.creditcoin.org/t/creditcoin-1-6-3-error/118/6 "2020-11-05T23:47:15Z")

</div>

thx will I love your speed

---

<div class="post-metadata">

### Author: ![pringles](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.creditcoin.org/pringles/32/64_2.png) [@pringles](https://community.creditcoin.org/u/pringles)
#### Post date: [November 6, 2020, 1:07am UTC](https://community.creditcoin.org/t/creditcoin-1-6-3-error/118/7 "2020-11-06T01:07:55Z")

</div>

I confirmed that the problem was solved.

---

<div class="post-metadata">

### Author: ![dlwlalsggg](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@dlwlalsggg](https://community.creditcoin.org/u/dlwlalsggg)
#### Post date: [November 6, 2020, 4:50pm UTC](https://community.creditcoin.org/t/creditcoin-1-6-3-error/118/8 "2020-11-06T16:50:50Z")

</div>

Creditcoin 1.6.4 에서 발생함

```
[2020-11-06 16:48:57.681 ERROR interconnect] An error occurred while sending heartbeat: Set changed size during iteration
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 199, in _do_heartbeat
    yield from self._do_dealer_heartbeat()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 277, in _do_dealer_heartbeat
    yield from self._stop()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 610, in _stop
    tasks = list(asyncio.Task.all_tasks(self._event_loop).copy())
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in all_tasks
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in <setcomp>
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/_weakrefset.py", line 60, in __iter__
    for itemref in self.data:
RuntimeError: Set changed size during iteration
[2020-11-06 16:48:57.681 ERROR interconnect] An error occurred while sending heartbeat: Set changed size during iteration
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 199, in _do_heartbeat
    yield from self._do_dealer_heartbeat()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 277, in _do_dealer_heartbeat
    yield from self._stop()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 610, in _stop
    tasks = list(asyncio.Task.all_tasks(self._event_loop).copy())
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in all_tasks
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in <setcomp>
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/_weakrefset.py", line 60, in __iter__
    for itemref in self.data:
RuntimeError: Set changed size during iteration
[2020-11-06 16:48:57.710 ERROR interconnect] An error occurred while sending heartbeat: Set changed size during iteration
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 199, in _do_heartbeat
    yield from self._do_dealer_heartbeat()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 277, in _do_dealer_heartbeat
    yield from self._stop()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 610, in _stop
    tasks = list(asyncio.Task.all_tasks(self._event_loop).copy())
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in all_tasks
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in <setcomp>
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/_weakrefset.py", line 60, in __iter__
    for itemref in self.data:
RuntimeError: Set changed size during iteration
[2020-11-06 16:48:57.710 ERROR interconnect] An error occurred while sending heartbeat: Set changed size during iteration
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 199, in _do_heartbeat
    yield from self._do_dealer_heartbeat()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 277, in _do_dealer_heartbeat
    yield from self._stop()
  File "/usr/lib/python3/dist-packages/sawtooth_validator/networking/interconnect.py", line 610, in _stop
    tasks = list(asyncio.Task.all_tasks(self._event_loop).copy())
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in all_tasks
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/asyncio/tasks.py", line 67, in <setcomp>
    return {t for t in cls._all_tasks if t._loop is loop}
  File "/usr/lib/python3.5/_weakrefset.py", line 60, in __iter__
    for itemref in self.data:
RuntimeError: Set changed size during iteration
```

---

<div class="post-metadata">

### Author: ![will\_gluwa](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.creditcoin.org/will_gluwa/32/9_2.png) [@will\_gluwa](https://community.creditcoin.org/u/will_gluwa)
#### Post date: [November 6, 2020, 5:15pm UTC](https://community.creditcoin.org/t/creditcoin-1-6-3-error/118/9 "2020-11-06T17:15:24Z")

</div>

This is caused by a bug in Python:

> **[Issue 36607: asyncio.all\_tasks() crashes if asyncio is used in multiple...](https://bugs.python.org/issue36607)**

We’re investigating a potential fix for this issue.

---

<div class="post-metadata">

### Author: ![will\_gluwa](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.creditcoin.org/will_gluwa/32/9_2.png) [@will\_gluwa](https://community.creditcoin.org/u/will_gluwa)
#### Post date: [November 6, 2020, 6:56pm UTC](https://community.creditcoin.org/t/creditcoin-1-6-3-error/118/10 "2020-11-06T18:56:03Z")

</div>

Fix for this issue is contained in version 1.6.5. See [https://docs.creditcoin.org/updating-creditcoin-nodes#e110](https://docs.creditcoin.org/updating-creditcoin-nodes#e110) for information on how to pull the latest docker images.

---

<div class="post-metadata">

### Author: ![pringles](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.creditcoin.org/pringles/32/64_2.png) [@pringles](https://community.creditcoin.org/u/pringles)
#### Post date: [November 6, 2020, 9:54pm UTC](https://community.creditcoin.org/t/creditcoin-1-6-3-error/118/11 "2020-11-06T21:54:55Z")

</div>

thx will I’ll be soon

---

<div class="post-metadata">

### Author: ![Doni](https://avatars.discourse-cdn.com/v4/letter/d/a698b9/32.png) [@Doni](https://community.creditcoin.org/u/Doni)
#### Post date: [November 17, 2020, 5:20am UTC](https://community.creditcoin.org/t/creditcoin-1-6-3-error/118/12 "2020-11-17T05:20:35Z")

</div>

How did you solve the problem?
