Error parsing help links: Premature end of file.

1903
6
08-07-2019 05:16 AM
DianeMcGuerty1
New Contributor II

Has anyone found a way to get rid of this error showing up in AGS logs. I have found similar errors that are mentioning the server not being able to start or that one of the config xml files is empty but that is not the case here. The server is running just keeps getting this error.

0 Kudos
6 Replies
ClintonBallandis1
Occasional Contributor

Hi Diane

I'm also getting the same Premature end of file warnings. We recently upgraded from 10.5 to 10.6.1 and this is a new error since the upgrade. My server is running fine. Although I'm also getting some severe warnings regarding being Unable to instantiate class for xml schema type not sure if they are related.

0 Kudos
ClintonBallandis1
Occasional Contributor

Hi Diane,

Are you by any chance getting warnings in Chrome Dev tools when you log into server manager saying that a cxhelp.xml file can't be found?

I've checked my server configuration and the help files are at the following location:

C:\Program Files\ArcGIS\Server\help\server_help\en\cxhelp.xml  not help/en-us/cxhelp.html

I''m wondering if this is where the : "Error parsing help links: Premature end of file." error is coming from ? 

Thanks,

Clinton

0 Kudos
SteveSchunzel
New Contributor III

I'm also getting this error on one of my GIS servers after upgrading to 10.6.1.  I also get the 404 errors that Clinton mentions, but I get these on all of my GIS servers and they don't have the error.  In the log file it shows a WARNING  code of 9000 - 'Internal Server Error' but I'm not able to track this down beyond that.

0 Kudos
Travis_Esri
Esri Contributor

Hey guys!

Hopefully I can clear of some of the errors discussed here.

In regards to the to /help/en-us/cxhelp/cxhelp.xml 404 error. This is a know limitation and it is based on your browser's locale. When you open Server manager for example, it loads based on your browser's locale which in this case is English/United States (en-us). If that returns a 404, then it will try again with English (en) (/help/en/cxhelp/cxhelp.xml). You should see a successful request to "en" as opposed to "en-us" later on in your dev tools (basically this 404 is expected depending on your browser's locale and can be ignored).

As for the "Error parsing help links" in the logs, I believe this is a bug that is fixed in 10.7 (BUG-000113625).

If you navigate to your rest/services endpoint and click on "API Reference" it will return an error as we are seeing in the logs (which is why the source is Rest). This is because you have likely changed ArcGIS Server to be HTTPS only as part of your upgrade. If/when you upgrade to 10.7 or later, you should not see this error. All it is reporting is that it is attempting to access the "API Reference" link in rest/services and is returning an error just as you would in your browser. 

Luckily neither of the issues I discussed above affects core functionality. As for more serious logs such as 'Internal Server Error,' that will likely require more in depth troubleshooting which I would suggest reaching out to Esri Support Services to start that process.

 

Hope this helps,

Travis

Suleyman-Arslan
Occasional Contributor

Hello @Travis_Esri ,

I have the same problem with ArcGIS Hosting Server version 10.9.1

I can browse Server Manager through web adaptor. The error still exist on browser console but I can use Server Manager. 

But I can not use Server manager from host machine directly (host:6443/arcgis/manager)

 

SuleymanArslan_2-1680177912769.png

 

SuleymanArslan_1-1680177788502.png

 

Do you have any idea to resolve this issue?

 

Thanks,

Suleyman.

0 Kudos
Yogesh_Chavan
New Contributor III

Hello @Suleyman-Arslan,

Greetings.

I bumped across this post and observed that our organization is also facing this exact same issue, and I have raised a community post, https://community.esri.com/t5/arcgis-enterprise-questions/joined-server-site-refuses-to-launch-post/...

But, could not find anything helping. Did you managed to find out what was this issue? 

Any help, or thoughts would be highly appreciated.

Thank you,

Yogesh.

0 Kudos