nasa / nasa/api-docs

NASA EPIC API Failing with 503 Service Unavailable

Open
#236 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SCSS
Stars
555
Forks
140
Avg merge
2h 30m
Merged PRs (30d)
3

Description

Description:
When accessing the NASA EPIC API endpoint using the following URL:

https://api.nasa.gov/EPIC/api/natural?api_key=YOUR_API_KEY

the application consistently returns a 503 Service Unavailable error with the message:

"upstream connect error or disconnect/reset before headers. retried and the latest reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused"

Expected Result:
The API should return the latest EPIC natural color image metadata in valid JSON format without errors.

Actual Result:
The API responds with HTTP 503 Service Unavailable, preventing access to EPIC data.

Impact:
This issue prevents developers and applications from retrieving real-time EPIC Earth imagery data. Projects relying on EPIC for visualization, research, or educational purposes are affected.

Suggested Action:
Investigate the root cause of the 503 error on the EPIC API servers. Review backend connectivity, load balancing, or availability issues. Apply the necessary fixes to restore stable API functionality.

Priority: High

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the request to https://api.nasa.gov/EPIC/api/natural with a valid API key and confirm the HTTP 503 response and connection-refused message. The issue names no repository files or tests; done means the endpoint again returns valid JSON containing the latest EPIC natural-color image metadata.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.