GeoScene使用过程中的常见问题

创建日期:2024-06-21
更新日期:2025-04-02

1、arcgis runtime报错:javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target。

以管理员方式打开PowerShell,执行以下代码。

cd "C:\Program Files\Java\jdk-11.0.17\bin"

.\keytool -importcert -file D:/java/nginx-1.21.1/ssl/giszhengshu.crt -alias zhengshu -cacerts

输入密钥库口令:changeit

是否信任此证书?:是

2、使用REST API获取数据,当数据量过大时报错:Error performing query operation.。

解决方法:使用主站管理员用户登录:https://hylab.cn:6443/geoscene/admin/login,点击machines,点击..com,点击edit,设置SOC maximum heap size为256M。参考资料:https://support.esri.com/en-us/knowledge-base/error-error-performing-query-operation-000011736

微信截图_20250402182903.png

3、生成token报错:{"error":{"code":400,"message":"Unable to generate token.","details":["Invalid username or password."]}}。

用户名或密码错误,请检查用户名或密码。

4、生成token报错:{"error":{"code":400,"message":"Unable to generate token.","details":["Too many invalid logins. Please try again later."]}}。

等一会再试就好了。(大约5分钟)

5、请求GeoScene Rest API服务报错:Wait time of the request to the service 'Distribution.MapServer' has expired.

目前判断是GIS服务器配置偏低,数据量大导致的。

转载请注明转自www.hylab.cn,原文地址:GeoScene使用过程中的常见问题

网站简介

一个来自三线小城市的程序员开发经验总结。