Timeout too quick for OpenNeuro sample project
spolcyn opened this issue · comments
The dataset download from OpenNeuro's S3 buckets can take some time, during which the DataRequest from the project server often times out (Error: RPC Handler: DataRequest: sendDataMessage: Data Request Timed Out(5)
, e.g., for dataset ds003524
)
Increasing the timeout or creating a mechanism to let the project server know that download is occurring/updates on download progress could help avoid a timeout issue.
The rpc_timeout can be increased for a command which initializes an OpenNeuroStream. An example of this is now included in test_bidsInterface.py::openNeuroStreamTest which sets rpc_timeout to 60 seconds for initializing (downloading) the dataset.