Opening unreachable datasets hangs
ptbremer opened this issue · 2 comments
ptbremer commented
It seems that if you try to open a dataset that you cannot reach both the viewer and the jupyter notebook hangs indefinitely rather than returning some empty data or a data not found error. I.e. something like
<alias key="server" value="https://acam.apps.czapps.llnl.gov"/>
<alias key="username" value="visus"/>
<alias key="password" value="xxxxxxxxxxxxxxxxxxxxxxxxx"/>
<dataset name="AMTruss" url="$(server)/mod_visus?dataset=AMTruss&~auth_username=$(username)&~auth_password=$(password)"/>
in the config will just hang
scrgiorgio commented
we added a timeout to avoid this behavior.
scrgiorgio commented
We probably need to add a timeout to the network request.
Just out of curiosity: does it returns after a "while"?
…On Fri, Jul 1, 2022 at 7:45 PM Peer-Timo Bremer ***@***.***> wrote:
It seems that if you try to open a dataset that you cannot reach both the
viewer and the jupyter notebook hangs indefinitely rather than returning
some empty data or a data not found error. I.e. something like
<alias key="server" value="https://acam.apps.czapps.llnl.gov"/>
<alias key="username" value="visus"/>
<alias key="password" value="xxxxxxxxxxxxxxxxxxxxxxxxx"/>
<dataset name="AMTruss" url="$(server)/mod_visus?dataset=AMTruss&~auth_username=$(username)&~auth_password=$(password)"/>
in the config will just hang
—
Reply to this email directly, view it on GitHub
<#188>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJTZP5QQBVUGX6PEKYD6TTVR4VFNANCNFSM52NM44AA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Giorgio Scorzelli
Director of Software Development, Center for Extreme Data Management,
Analysis and Visualization (CEDMAV)
Director of Software Development, National Science Data Fabric (NSDF)