-
Notifications
You must be signed in to change notification settings - Fork 108
Async requests hold indefinetely when more than one result is gathered #329
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
Comments
We have now released version 2.2.1, that should solve your issue. |
It still doesn't work but now instead of hanging indefinetely it crashes with a Stack Trace
Pip freeze
```
aiohttp==3.4.4
argon2-cffi==20.1.0
asgiref==3.2.10
async-generator==1.10
async-timeout==3.0.1
attrs==21.2.0
azure-core==1.15.0
azure-identity==1.5.0
azure-kusto-data==2.2.1
backcall==0.2.0
bleach==3.3.0
certifi==2021.5.30
cffi==1.14.5
chardet==4.0.0
cryptography==3.4.7
cycler==0.10.0
debugpy==1.3.0
decorator==5.0.9
defusedxml==0.7.1
entrypoints==0.3
idna==2.10
ipykernel==6.0.1
ipython==7.25.0
ipython-genutils==0.2.0
ipywidgets==7.6.3
jedi==0.18.0
Jinja2==3.0.1
jsonschema==3.2.0
jupyter==1.0.0
jupyter-client==6.1.12
jupyter-console==6.4.0
jupyter-core==4.7.1
jupyterlab-pygments==0.1.2
jupyterlab-widgets==1.0.0
jupytext==1.11.3
kiwisolver==1.3.1
markdown-it-py==1.1.0
MarkupSafe==2.0.1
matplotlib==3.4.2
matplotlib-inline==0.1.2
mdit-py-plugins==0.2.8
mistune==0.8.4
msal==1.9.0
msal-extensions==0.3.0
multidict==4.7.6
nbclient==0.5.3
nbconvert==6.1.0
nbformat==5.1.3
nest-asyncio==1.5.1
notebook==6.4.0
numpy==1.21.0
packaging==21.0
pandas==1.2.5
pandocfilters==1.4.3
parse==1.19.0
parso==0.8.2
pexpect==4.8.0
pickleshare==0.7.5
Pillow==8.3.0
portalocker==1.7.1
prometheus-client==0.11.0
prompt-toolkit==3.0.19
ptyprocess==0.7.0
pyarrow==4.0.1
pycparser==2.20
Pygments==2.9.0
PyJWT==2.1.0
pyparsing==2.4.7
pyrsistent==0.18.0
python-dateutil==2.8.1
python-dotenv==0.18.0
pytz==2021.1
PyYAML==5.4.1
pyzmq==22.1.0
qtconsole==5.1.1
QtPy==1.9.0
requests==2.25.1
river==0.7.1
scipy==1.7.0
seaborn==0.11.1
Send2Trash==1.7.1
six==1.16.0
terminado==0.10.1
testpath==0.5.0
toml==0.10.2
tornado==6.1
traitlets==5.0.5
urllib3==1.26.6
wcwidth==0.2.5
webencodings==0.5.1
widgetsnbextension==3.5.1
yarl==1.6.3
```
|
We now released 2.3.0, and now this should work properly. |
Now it's working. Thanks for taking a look at this! |
Code Sample, a copy-pastable example if possible
The following code will run without problems. However, if I uncomment the second call to execute on the
async.gather
the script hangs indefinitely. I've tried several variations including creating two different clients but those will also hang.Problem description
I want to run several queries simultaneously and with the current behaviour I can't use the async features. What I would expect is to perform non-blocking IO on both queries.
When I stop execution via Control+C I get the following stack trace:
If query related, does it happen on other platforms (Kusto Web UI, Kusto Explorer)?
Not query related. A single call to async execute and the sync client work fine.
Output of
pip freeze
aiohttp==3.4.4
asgiref==3.2.10
async-timeout==3.0.1
attrs==21.2.0
azure-core==1.15.0
azure-identity==1.5.0
azure-kusto-data==2.1.3
backcall==0.2.0
certifi==2021.5.30
cffi==1.14.5
chardet==4.0.0
cryptography==3.4.7
decorator==5.0.9
idna==2.10
ipython==7.25.0
ipython-genutils==0.2.0
jedi==0.18.0
matplotlib-inline==0.1.2
msal==1.9.0
msal-extensions==0.3.0
multidict==4.7.6
numpy==1.21.0
pandas==1.2.5
parso==0.8.2
pexpect==4.8.0
pickleshare==0.7.5
portalocker==1.7.1
prompt-toolkit==3.0.19
ptyprocess==0.7.0
pycparser==2.20
Pygments==2.9.0
PyJWT==2.1.0
python-dateutil==2.8.1
python-dotenv==0.18.0
pytz==2021.1
requests==2.25.1
six==1.16.0
traitlets==5.0.5
urllib3==1.26.6
wcwidth==0.2.5
yarl==1.6.3
The text was updated successfully, but these errors were encountered: