If you use Cumulus, please donate Image

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Error regarding USNO Sunmoon data

Discussion of Ken True's web site templates

Moderator: saratogaWX

User avatar
Toxic17
Posts: 392
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Error regarding USNO Sunmoon data

Postby Toxic17 » Tue May 09, 2017 12:09 pm

Just FYI:
From Tuesday, 2 May 2017 through Friday, 12 May 2017 the Naval Observatory will perform scheduled network maintenance.
Network degradations or outages impacting our product delivery are possible but should be temporary in nature.


Source: http://aa.usno.navy.mil/data/docs/RS_OneDay.php
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
Toxic17
Posts: 392
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Error regarding USNO Sunmoon data

Postby Toxic17 » Sun Jul 02, 2017 10:52 pm

looks like the site is down again.

had the usual error again...

Warning: Invalid argument supplied for foreach() in /../../../../get-USNO-sunmoon.php on line 359

Warning: Invalid argument supplied for foreach() in /../../../../get-USNO-sunmoon.php on line 368
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
saratogaWX
Posts: 803
Joined: Wed May 06, 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows XP SP3
Location: Saratoga, CA, USA
Contact:

Re: Error regarding USNO Sunmoon data

Postby saratogaWX » Mon Jul 03, 2017 1:11 am

Yes, the api.usno.navy.mil server is down

<!-- get-USNO-sunmoon.php - Version 2.04 - 11-Nov-2015 -->
<!-- refetch seconds=1 -->
<!-- loading ./cache/USNO-moondata.txt from http://api.usno.navy.mil/rstt/oneday?da ... 4323&tz=-7 -->
<!-- GET /rstt/oneday?date=07/02/2017&coords=37.27153397,-122.02274323&tz=-7 HTTP/1.1
Host: api.usno.navy.mil Port: 80 IP=199.211.133.93-->
<!-- Network error: Connection timed out (110) -->
<!-- HTTP stats: dns=0.102 conn=5.005 put=n/a get( blocks)=n/a close=n/a total=5.107 secs -->
<!-- fetch function elapsed= 5 secs. -->
<!-- loading finished. -->
<!-- processing JSON entries for Moon data -->
<!-- json_decode returns - No errors -->
<!-- note: 'fracillum' not in JSON, no 'illumination' is available. -->
<!-- USNOdata
Array
(
)
-->

User avatar
Toxic17
Posts: 392
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Error regarding USNO Sunmoon data

Postby Toxic17 » Mon Jul 03, 2017 11:13 am

saratogaWX wrote:Yes, the api.usno.navy.mil server is down


Ken, Do you have a contact address for them?
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
saratogaWX
Posts: 803
Joined: Wed May 06, 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows XP SP3
Location: Saratoga, CA, USA
Contact:

Re: Error regarding USNO Sunmoon data

Postby saratogaWX » Mon Jul 03, 2017 3:24 pm

I've found that hostmaster@navy.mil generally gets a response.

I've sent them a note about the issue, and used http://www.usno.navy.mil/help/astronomy-help (selecting Astronomy Data Services) to send an additional email.

Hopefully, one or the other will get the issue with api.usno.navy.mil resolved soon.

User avatar
Toxic17
Posts: 392
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Error regarding USNO Sunmoon data

Postby Toxic17 » Wed Jul 05, 2017 11:54 am

Looks like its now resolving to the URL.
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
saratogaWX
Posts: 803
Joined: Wed May 06, 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows XP SP3
Location: Saratoga, CA, USA
Contact:

Re: Error regarding USNO Sunmoon data

Postby saratogaWX » Wed Jul 05, 2017 6:33 pm

Yes, they replied to my 'it's down' message this morning with
The site is now up.

Sincerely,

Astronomical Applications Department.


I guess the webmaster for api.usno.navy.mil took a 4-day July 4th holiday and returned to fix the server. :roll:

User avatar
Toxic17
Posts: 392
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Error regarding USNO Sunmoon data

Postby Toxic17 » Wed Jul 05, 2017 10:16 pm

saratogaWX wrote:Yes, they replied to my 'it's down' message this morning with
The site is now up.

Sincerely,

Astronomical Applications Department.


I guess the webmaster for api.usno.navy.mil took a 4-day July 4th holiday and returned to fix the server. :roll:


yep looks that way, I too got an email from them, so at least someone works there ;)
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
Toxic17
Posts: 392
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Error regarding USNO Sunmoon data

Postby Toxic17 » Wed Jul 26, 2017 3:23 pm

Ken

I thought I have an issue again with USNO data, but I noticed the file was 0 bytes in size. deleted the USNO-moondata.txt and refreshed the page fixed the issue.

Is there a possibility that there could be a file check added to the script to check its size and if it is zero bytes then delete it?

Just a suggestion...
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image


Return to “Saratoga Templates”

Who is online

Users browsing this forum: No registered users and 2 guests