File not found (404) error loading IAU2006_XYS_15.json

218 views
Skip to first unread message

steven...@gmail.com

unread,
Feb 11, 2016, 10:09:17 AM2/11/16
to cesium-dev
When displaying a page that has a Cesium map, I get a "GET http://mysite.com/js/cesium/Build/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_15.json 404 (Not Found)" error. I get a similar error if I reference the unminimized Cesium build. This file, as well as the files named *_0.json through *_27.json" do exist on the server. I only get this error for the "*_15.json" file. The map works great.

Any ideas why this file won't load? Thanks.

Scott Hunter

unread,
Feb 11, 2016, 10:28:46 AM2/11/16
to cesiu...@googlegroups.com
Are you using IIS?  IIS will not serve file extensions that it does not recognize, and needs to be configured with the appropriate mime type.  https://technet.microsoft.com/en-us/library/cc725608(v=ws.10).aspx

On Thu, Feb 11, 2016 at 10:09 AM, <steven...@gmail.com> wrote:
When displaying a page that has a Cesium map, I get a "GET http://mysite.com/js/cesium/Build/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_15.json 404 (Not Found)" error. I get a similar error if I reference the unminimized Cesium build. This file, as well as the files named *_0.json through *_27.json" do exist on the server. I only get this error for the "*_15.json" file. The map works great.

Any ideas why this file won't load? Thanks.

--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

steven...@gmail.com

unread,
Feb 11, 2016, 3:32:18 PM2/11/16
to cesium-dev
Yes, using IIS. It's a hosted account. I'll ask them about the MIME settings. Slightly interesting that it's on the *_15 file.

Scott Hunter

unread,
Feb 11, 2016, 3:38:29 PM2/11/16
to cesiu...@googlegroups.com
_15.json is probably the only file actually being requested.  Those JSON files are divided up by time and it only requests them as needed based on simulation time.

On Thu, Feb 11, 2016 at 3:32 PM, <steven...@gmail.com> wrote:
Yes, using IIS. It's a hosted account. I'll ask them about the MIME settings. Slightly interesting that it's on the *_15 file.

steven...@gmail.com

unread,
Feb 16, 2016, 11:15:02 PM2/16/16
to cesium-dev
Thanks for the suggestion, Scott. Yes, it was a missing MIME setting.
Reply all
Reply to author
Forward
0 new messages