CAP Talk

General Discussion => The Lobby => Topic started by: Eclipse on July 17, 2018, 03:25:53 PM

Title: Errors when downloaded documents from NHQ
Post by: Eclipse on July 17, 2018, 03:25:53 PM
Anyone else seeing errors when trying to download pubs from NHQ?

Started about a month ago - multiple "failed to load PDF", etc., usually a few retries
will eventually load things, but in trying to D/L the Constitution this AM all I get
is a hot mess of broken doc.
Title: Re: Errors when downloaded documents from NHQ
Post by: TheSkyHornet on July 17, 2018, 03:26:52 PM
Same thing.

It takes me a number of reloads to get the docs to open. Sometimes I just have to resort to downloading the link and opening it from my desktop. Luckily, I have some saved copies.
Title: Re: Errors when downloaded documents from NHQ
Post by: NIN on July 17, 2018, 04:56:27 PM
Its made rather maddening on my Chromebook.

Title: Re: Errors when downloaded documents from NHQ
Post by: Holding Pattern on July 17, 2018, 06:39:21 PM
this is a chrome issue. Set chrome to not open pdfs as a workaround.
Title: Re: Errors when downloaded documents from NHQ
Post by: NIN on July 17, 2018, 06:59:54 PM
Quote from: Holding Pattern on July 17, 2018, 06:39:21 PM
this is a chrome issue. Set chrome to not open pdfs as a workaround.

I get that, but why does Chrome open PDFs from other sources?
Title: Re: Errors when downloaded documents from NHQ
Post by: Eclipse on July 17, 2018, 07:22:37 PM
Quote from: Holding Pattern on July 17, 2018, 06:39:21 PM
this is a chrome issue. Set chrome to not open pdfs as a workaround.

It's not a Chrome issue - same behavior in Edge and IE, except that instead of a friendly
error it downloads the broken document and displays it.

Also, when the rest of the world works fine, and a single server doesn't, it's not a "Chrome issue".
Title: Re: Errors when downloaded documents from NHQ
Post by: Holding Pattern on July 17, 2018, 07:37:07 PM
I've had this issue across multiple sites. Firefox handles it just fine, chrome does too if you set it to just download pdfs.
Title: Re: Errors when downloaded documents from NHQ
Post by: Eclipse on July 17, 2018, 08:05:28 PM
Quote from: Holding Pattern on July 17, 2018, 07:37:07 PM
I've had this issue across multiple sites. Firefox handles it just fine, chrome does too if you set it to just download pdfs.

Interesting solution - break your machine to accommodate a server-side issue.

Any suggestion what to do on a Chromebook?
Title: Re: Errors when downloaded documents from NHQ
Post by: Holding Pattern on July 18, 2018, 12:30:01 AM
Quote from: Eclipse on July 17, 2018, 08:05:28 PM
Quote from: Holding Pattern on July 17, 2018, 07:37:07 PM
I've had this issue across multiple sites. Firefox handles it just fine, chrome does too if you set it to just download pdfs.

Interesting solution - break your machine to accommodate a server-side issue.

Any suggestion what to do on a Chromebook?

Sure. Download the file and then open it in chrome.
Title: Re: Errors when downloaded documents from NHQ
Post by: Holding Pattern on July 18, 2018, 12:34:00 AM
https://www.google.com/search?q=chrome+failed+to+load+pdf+document&rlz=1C1GCEA_enUS781US781&oq=chrome+failed+to+l&aqs=chrome.1.69i57j0l5.4714j0j7&sourceid=chrome&ie=UTF-8

https://stackoverflow.com/questions/45467019/failed-to-load-pdf-document-in-chrome

https://productforums.google.com/forum/#!topic/chrome/qePbDBgO-7c;context-place=topicsearchin/chrome/category$3Awindows7%7Csort:relevance%7Cspell:false

https://productforums.google.com/forum/#!topic/chrome/zLpFop8F58A

https://github.com/dompdf/dompdf/issues/1538

If this is a server-side issue, then it is an incredibly poorly documented one.
Title: Re: Errors when downloaded documents from NHQ
Post by: Eclipse on July 18, 2018, 01:22:14 AM
At least one of those links you provided has comments that this is a PHP problem,
which is what it likely is, since, again, this is not only happening in Chrome,
but it is only happening on NHQ's site.

(https://s8.postimg.cc/4uf18iezp/pdf.jpg)
Title: Re: Errors when downloaded documents from NHQ
Post by: Holding Pattern on July 18, 2018, 05:39:43 AM
Yes, but when IE/Edge has a problem, I simply attribute that to it being IE/Edge.
Title: Re: Errors when downloaded documents from NHQ
Post by: jeders on July 18, 2018, 04:36:03 PM
I had that problem yesterday when trying to download stuff from national on Firefox.
Title: Re: Errors when downloaded documents from NHQ
Post by: Spam on July 18, 2018, 07:30:57 PM
Me too.

Attention NHQ/IT: we need to put this high on the SCR list. The list as it currently is showing on eServices does have some pretty good candidates, but fixing a problem by which line members and commanders can't access core program documentation is a REAL, immediate problem.

The current top 10:

1. Maintenance Requests and Parts Order Tracking System
2. Maintenance data on sortie page (alert if within 10 hrs of inspection)
3. SIRS Enhancements
4. Event Admin & Encampment, Registration and Payment System
5. Stand Alone Communications ICP function
6. Pilot Records Requests (bulk downloads)
7. ICS Forms - 201,210, 211,218 (electronic)
8. IG ECIM Replacement Project (pull and store data)
9. CEAP Admin
10. High Profile Missions (ID field)

V/r
Spam

Title: Re: Errors when downloaded documents from NHQ
Post by: Spam on July 18, 2018, 07:39:11 PM
(I posted that just so everyone realizes that they really are working on a deliberative, prioritized list with real, useful products).

V/r
Spam
Title: Re: Errors when downloaded documents from NHQ
Post by: Gunsotsu on July 18, 2018, 09:54:55 PM
It seems to be getting worse. Where it would load after a few attempt, I can't get anything to load. First noticed this problem over a week ago.
Title: Re: Errors when downloaded documents from NHQ
Post by: darkmatter on July 18, 2018, 11:00:10 PM
I've had this issue for a month I just that it was do to my dieing iPads hardware
Title: Re: Errors when downloaded documents from NHQ
Post by: NovemberWhiskey on July 23, 2018, 02:06:05 PM
Specifically, the issue seems to be that sometimes the server will send a Content-Type: text/plain header rather than the expected Content-Type: application/pdf.

Good:
HTTP/1.1 200 OK
Date: Mon, 23 Jul 2018 13:54:08 GMT
Content-Length: 210848
Last-Modified: Mon Jul 23 13:54:08 2018
Content-Type: application/pdf
Age: 0
X-Cache: MISS
X-Cache-Hits: 0
Accept-Ranges: bytes
Strict-Transport-Security: max-age=15768000


Bad:
HTTP/1.1 200 OK
Date: Mon, 23 Jul 2018 13:54:09 GMT
Content-Length: 210848
Last-Modified: Thu Nov 23 06:38:19 2017
Vary: Accept-Encoding
Content-Type: text/plain
Age: 0
X-Cache: MISS
X-Cache-Hits: 0
Accept-Ranges: bytes
Strict-Transport-Security: max-age=15768000


Difficult to know what would cause that from the outside; some kind of misconfigured server behind a load-balancer; issue with reverse proxy caching, maybe?
Title: Re: Errors when downloaded documents from NHQ
Post by: arajca on July 23, 2018, 02:41:40 PM
With Firefox, I haven't had any problems downloading regs and pamphlets.
Title: Re: Errors when downloaded documents from NHQ
Post by: TheSkyHornet on July 23, 2018, 02:49:18 PM
When trying to open CAPR 60-2 just now in Chrome:

(http://i68.tinypic.com/2jzlur.png)

It opens fine in IE and Firefox.
Title: Re: Errors when downloaded documents from NHQ
Post by: chuckmilam on August 04, 2018, 02:09:40 PM
Quote from: NovemberWhiskey on July 23, 2018, 02:06:05 PM
Difficult to know what would cause that from the outside; some kind of misconfigured server behind a load-balancer; issue with reverse proxy caching, maybe?

This was what I was thinking.
Title: Re: Errors when downloaded documents from NHQ
Post by: Fubar on August 05, 2018, 08:43:23 PM
Quote from: chuckmilam on August 04, 2018, 02:09:40 PM
Quote from: NovemberWhiskey on July 23, 2018, 02:06:05 PM
Difficult to know what would cause that from the outside; some kind of misconfigured server behind a load-balancer; issue with reverse proxy caching, maybe?

This was what I was thinking.

I was thinking we need to reconfigure the primary power coupling.
Title: Re: Errors when downloaded documents from NHQ
Post by: OldGuy on August 05, 2018, 09:17:26 PM
Quote from: Fubar on August 05, 2018, 08:43:23 PM
Quote from: chuckmilam on August 04, 2018, 02:09:40 PM
Quote from: NovemberWhiskey on July 23, 2018, 02:06:05 PM
Difficult to know what would cause that from the outside; some kind of misconfigured server behind a load-balancer; issue with reverse proxy caching, maybe?

This was what I was thinking.

I was thinking we need to reconfigure the primary power coupling.
The dilithium crystals may need replacement?