Unable to access cesium apis in build

Hello there!

Few items first for context: I’m developing an application using UE 5.1 for various geolocation features and very heavily utilize the cesium for unreal plugin.

The problem is that, while I have no issues accessing and loading cesium terrains within the UE 5.1 editor, the packaged application is unable to access api.cesium.com. I’m pretty sure it’s a firewall or proxy setting change, but I’m struggling to figure out what’s different between the UE editor and a deployed application.

Here is the relevant log information – again bear in mind. I have no issues accessing terrain datasets while in the editor. It’s just in a build that these problems occur:

[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CB0080: invalid HTTP response code received. URL: https://api.cesium.com/v1/assets/2275207/endpoint?access_token=[...], HTTP code: 0, content length: 0, actual payload size: 0
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CB0080: request failed, libcurl error: 35 (SSL connect error)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CB0080: libcurl info message cache 0 (Found bundle for host: 0x279d2da28f0 [serially])
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CB0080: libcurl info message cache 1 (Hostname ‘api.cesium.com’ was found in DNS cache)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CB0080: libcurl info message cache 2 ( Trying 52.85.151.18:443…)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CB0080: libcurl info message cache 3 (Connected to api.cesium.com (52.85.151.18) port 443 (#3))
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CB0080: libcurl info message cache 4 (schannel: disabled automatic use of client certificate)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CB0080: libcurl info message cache 5 (ALPN: offers http/1.1)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CB0080: libcurl info message cache 6 (schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CB0080: libcurl info message cache 7 (Closing connection 3)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279C73C7290: invalid HTTP response code received. URL: https://api.cesium.com/v1/assets/1/endpoint?access_token=[...], HTTP code: 0, content length: 0, actual payload size: 0
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279C73C7290: request failed, libcurl error: 35 (SSL connect error)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279C73C7290: libcurl info message cache 0 (Hostname ‘api.cesium.com’ was found in DNS cache)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279C73C7290: libcurl info message cache 1 ( Trying 52.85.151.18:443…)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279C73C7290: libcurl info message cache 2 (Connected to api.cesium.com (52.85.151.18) port 443 (#0))
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279C73C7290: libcurl info message cache 3 (schannel: disabled automatic use of client certificate)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279C73C7290: libcurl info message cache 4 (ALPN: offers http/1.1)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279C73C7290: libcurl info message cache 5 (schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279C73C7290: libcurl info message cache 6 (Closing connection 0)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CBFB70: invalid HTTP response code received. URL: https://api.cesium.com/v1/assets/96188/endpoint?access_token=[...], HTTP code: 0, content length: 0, actual payload size: 0
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CBFB70: request failed, libcurl error: 35 (SSL connect error)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CBFB70: libcurl info message cache 0 (Found bundle for host: 0x279d2da28f0 [serially])
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CBFB70: libcurl info message cache 1 (Hostname ‘api.cesium.com’ was found in DNS cache)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CBFB70: libcurl info message cache 2 ( Trying 52.85.151.18:443…)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CBFB70: libcurl info message cache 3 (Connected to api.cesium.com (52.85.151.18) port 443 (#2))
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CBFB70: libcurl info message cache 4 (schannel: disabled automatic use of client certificate)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CBFB70: libcurl info message cache 5 (ALPN: offers http/1.1)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CBFB70: libcurl info message cache 6 (schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279D1CBFB70: libcurl info message cache 7 (Closing connection 2)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279CA36FB70: invalid HTTP response code received. URL: https://api.cesium.com/v1/assets/2/endpoint?access_token=[...], HTTP code: 0, content length: 0, actual payload size: 0
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279CA36FB70: request failed, libcurl error: 35 (SSL connect error)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279CA36FB70: libcurl info message cache 0 (Found bundle for host: 0x279d2da28f0 [serially])
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279CA36FB70: libcurl info message cache 1 ( Trying 52.85.151.18:443…)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279CA36FB70: libcurl info message cache 2 (Connected to api.cesium.com (52.85.151.18) port 443 (#1))
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279CA36FB70: libcurl info message cache 3 (schannel: disabled automatic use of client certificate)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279CA36FB70: libcurl info message cache 4 (ALPN: offers http/1.1)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279CA36FB70: libcurl info message cache 5 (schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.)
[2024.01.31-23.59.49:551][ 1]LogHttp: Warning: 00000279CA36FB70: libcurl info message cache 6 (Closing connection 1)
[2024.01.31-23.59.49:554][ 1]LogCesium: Error: [2024-01-31 18:59:49.555] [error] [TilesetContentManager.cpp:825] An unexpected error occurred when loading tile: Connection failed.

[2024.01.31-23.59.49:554][ 1]LogCesium: Error: [2024-01-31 18:59:49.555] [error] [TilesetContentManager.cpp:825] An unexpected error occurred when loading tile: Connection failed.

[2024.01.31-23.59.49:554][ 1]LogCesium: Error: [2024-01-31 18:59:49.555] [error] [TilesetContentManager.cpp:825] An unexpected error occurred when loading tile: Connection failed.

[2024.01.31-23.59.49:554][ 1]LogCesium: Error: [2024-01-31 18:59:49.555] [error] [RasterOverlayCollection.cpp:127] Error while creating tile provider: Connection failed.

What platform are you running the packaged application on? Is it the exact same system where the Editor works? Have you set any environment variables such as HTTP_PROXY to make the Editor work?