astropy / astropy/astroquery

Gaia SIF data retrieval issue

Open
#3,648 4 comments 0 reactions 0 assignees View on GitHub
gaia Upstream
Dominant language
Python
Stars
791
Forks
451
Avg merge
1d 3h
Merged PRs (30d)
4

Description

I’m trying to retrieve the Gaia SIF/FPR data for our variable-star pipeline, specifically the `crowded_field_source` table.

I’m currently unable to connect to the Gaia TAP service.

### Reproduction

Running:

```bash
curl -I "https://gea.esac.esa.int/tap-server/tap/availability"
```

returns:

```text
curl: (56) Recv failure: Connection reset by peer
```

I also get the same issue through `astroquery`:

```python
from astroquery.gaia import Gaia

Gaia.load_tables(only_names=True)
```

Output:

```text
INFO: Retrieving tables... [astroquery.utils.tap.core]
Remote end closed connection without response
```

The intended query is:

```sql
SELECT TOP 10 *
FROM gaiadr3.crowded_field_source
```

But the connection fails before the query can be executed.

```
^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.15/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1415, in getresponse
response.begin()
File "/opt/homebrew/Cellar/python@3.11/3.11.15/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 330, in begin
version, status, reason = self._read_status()
^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.15/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 299, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
```

Could someone confirm if the Gaia TAP service is currently accessible and whether `crowded_field_source` can be queried programmatically?

Contributor guide

Open the contributing guide

Research direction

Start by running the reported curl request against the Gaia TAP availability endpoint and then reproduce the failure with astroquery.gaia.Gaia.load_tables(only_names=True). Check whether the service is reachable and whether the stated gaiadr3.crowded_field_source query works programmatically; done means documenting confirmed availability or a reproducible project-side failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.