Custom terrain produced using cesium-terrain-builder

1. A concise explanation of the problem you're experiencing.

Completely generate quantized-mesh-terrain using cesium-terrain-builder docker.
but error occur when loading cesium.js in browser

error message is

An error occurred in "w": Failed to obtain terrain tile X: 1 Y: 0 Level: 0.
Cesium.js:459 An error occurred in "w": Failed to obtain terrain tile X: 0 Y: 0 Level: 0.

2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.

        var viewer = new Cesium.Viewer('cesiumContainer', {
            imageryProvider: new Cesium.createWorldImagery(),
            selectionIndicator: false,
            baseLayerPicker: true,
            homeButton: false,
            sceneModePicker: false,
            timeline: false,
            animation: false,
            shadows: false,
            vrButton: true,
            infoBox: true,
            navigationHelpButton: false,
            geocoder: false,
        var terrainProvider = new Cesium.CesiumTerrainProvider({
            url: './terrain'
        viewer.scene.terrainProvider = terrainProvider;

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

calculate volume

4. The Cesium version you're using, your operating system and browser.

chrome and firefox

and upload image at thread is blocked??
I can't find any button related with upload file

Does the browser console output a more descriptive error message, or perhaps a network error?

Also, if you’ve got a heightmap/DEM and you’re trying to generate quantized-mesh, you could upload it to There is an offline CLI version of that available too:

For attaching photos, looks like google groups only allows moderators/admins to attach photos for some reason, but I just enabled attaching files so you should at least be able to do that. You can also just upload any screenshots to and link them here.

I know about Cesium ion and i already use it and serve from ion server.
but later if data amount is larger. i have to pay for using ion server.
So i trying to find how to serve terrain from my(custom) server.
Thank you

Side-tracking the conversation a bit:

This is the first mention I’d heard of an “on-premise” version of the Cesium Ion functionality.

Looking at , I see instructions that describe unzipping a server tool, but I don’t see any details on pricing, licensing, downloads, or anything like that.

Are there further details on what the “on-premise” aspect includes?

That’s a good question Mark!

The on-premise tools have only recently been made public. Right now the only way to buy (or just get more info/evaluate etc.) is to shoot Tim ( an email.