-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when closing shard while starting shards #175
Labels
Comments
TAG-Epic
added
scope/nextcore.gateway
Any changes to the nextcore.gateway namespace
type/bug
A bug fix
labels
Jan 17, 2023
Error Traceback (most recent call last):
File "/home/epic/Development/nextsnake/nextcore/nextcore/common/times_per/times_per.py", line 105, in acquire
yield None
File "/home/epic/Development/nextsnake/nextcore/nextcore/gateway/shard.py", line 399, in _identify_flow
done, pending = await wait([ready_task, disconnect_task], return_when=FIRST_COMPLETED, timeout=60)
GeneratorExit |
Another error with same cause [22:18:28][nextcore.common.dispatcher][dispatcher.py:466][ERROR] Exception occured in event handler
Traceback (most recent call last):
File "/home/epic/.cache/pypoetry/virtualenvs/nextcore-fOPpounq-py3.10/lib/python3.10/site-packages/nextcore/common/dispatcher.py", line 461, in _run_event_handler
await maybe_coro(callback, *args)
File "/home/epic/.cache/pypoetry/virtualenvs/nextcore-fOPpounq-py3.10/lib/python3.10/site-packages/nextcore/common/maybe_coro.py", line 54, in maybe_coro
return await result
File "/home/epic/.cache/pypoetry/virtualenvs/nextcore-fOPpounq-py3.10/lib/python3.10/site-packages/nextcore/gateway/shard.py", line 543, in _handle_hello
await self._identify_flow() # TODO: Better name?
File "/home/epic/.cache/pypoetry/virtualenvs/nextcore-fOPpounq-py3.10/lib/python3.10/site-packages/nextcore/gateway/shard.py", line 392, in _identify_flow
await self._identify()
File "/home/epic/.cache/pypoetry/virtualenvs/nextcore-fOPpounq-py3.10/lib/python3.10/site-packages/nextcore/gateway/shard.py", line 699, in _identify
await self._send(payload, wait_until_ready=False)
File "/home/epic/.cache/pypoetry/virtualenvs/nextcore-fOPpounq-py3.10/lib/python3.10/site-packages/nextcore/gateway/shard.py", line 345, in _send
assert (
AssertionError: Send rate limit was not set yet. Probably due to not receiving HELLO yet. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A fully reproducible test is coming in #162
The text was updated successfully, but these errors were encountered: