sci-visus/OpenVisus

Opening unreachable datasets hangs

ptbremer opened this issue · 2 comments

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&amp;~auth_username=$(username)&amp;~auth_password=$(password)"/>

in the config will just hang

we added a timeout to avoid this behavior.