Open jorgemarpa opened 3 years ago
@jorgemarpa - Thanks for the report. The gaia
module is a bit different than the rest so there isn't (yet) an easy way to set the timeout on the Python end.
cc @jcsegovia as he may know a workaround
This is a bit of a long shot because it may be overridden somewhere in the call chain, but you could try setting Python's default socket timeout as follows:
import socket
socket.setdefaulttimeout(600)
thanks for the suggestion @barentsen. I tried that before posting the issue, but it did not work.
I am doing an asynchronous query to Gaia using
launch_job_async()
, but when the search radius gets larger than~ 0.7 deg
I get the time out error. For queries with smaller searches radius works ok. When the query is launch, I can see the job on the ESA Gaia archive website, but theastroquery
job finishes with the error before the job is finished successfully on the server side.Here's an example of the query I'm running.
Output and error traceback:
Thanks for the help!