CH04 Image of the day; nasa site errors with 404 between 8 pm - 11:59 pm EDT because it could not generate image for the next day (nasa site assumes it's the next day due to UTC time it uses) #21
Labels
enhancement
New feature or request
Exercise
CH04 packaging java
Problem
CH04 Image of the day; nasa site errors with 404 between 8 pm - 11:59 EST pm because it could not generate an image for the next day (nasa site assumes it's the next day due to UTC time it uses)
On 2020-10-25, when launching //localhost:800/image between 8 pm CST and just before 11:00 pm CST, the nasa site for astronomy image of the day returns 404 error and outputs the date as 2020-10-26. Clearly, it's using UTC. Once the time rolls to 11 pm CST (12 am EST), //localhost:800/image returns the expected json with image url.
The workaround is to provide start and end time as the url parameters.
Docker version
Please run
docker version
and paste the output.Client: Docker Engine - Community
Version: 19.03.6
API version: 1.40
Go version: go1.12.16
Git commit: 369ce74a3c
Built: Thu Feb 13 01:27:49 2020
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.6
API version: 1.40 (minimum version 1.12)
Go version: go1.12.16
Git commit: 369ce74a3c
Built: Thu Feb 13 01:26:23 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.2.13
GitCommit: 7ad184331fa3e55e52b890ea95e65ba581ae3429
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683
Code version
Please run
git log -n 1
and paste the output.commit 19a8d04 (HEAD -> master, origin/master, origin/HEAD)
Author: Elton Stoneman [email protected]
Date: Fri Sep 25 09:10:55 2020 +0100
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: