ArcGIS Server发布MapServer和FeartureServer后无法访问一直转圈加载问题的一种解决方法

hello bros,最近需要在ArcGIS Server上发布一堆栅格数据和矢量数据,一开始还好好的,后来发现大部分服务居然无法访问了,访问一直转圈,最后报错:

ArcGIS REST Framework
Home
Error: Wait time of the request to the service 'gis_1/farmland_shp_.MapServer' has expired.
Code: 500

大致意思就是数据处理没有完成,超时了。

而我发布的都是非常小的数据,不可能是电脑性能不够,因此极有可能是ArcGIS Server处理数据出错了,登录manage网页,查看一下日志:

复制代码
WARNING	2025年6月17日 上午10:12:42	Unable to process request. Wait time of the request to the service 'gis_1/service_area_gf2_image.MapServer' has expired.	Rest	DESKTOP-C1MTRO0	9003			7524	1		92802eda-5bb2-4d43-bb86-712e2ffe88e5
WARNING	2025年6月17日 上午10:12:27	Unable to process request. Wait time of the request to the service 'gis_1/NDVI2.MapServer' has expired.	Rest	DESKTOP-C1MTRO0	9003			7524	1		d9905e76-4dd0-4ff9-8854-8d429599e31e
WARNING	2025年6月17日 上午10:11:42	Unable to process request. Wait time of the request to the service 'gis_1/service_area_gf2_image.MapServer' has expired.	Rest	DESKTOP-C1MTRO0	9003			7524	1		6ef307d1-1cea-40cc-810e-89e06599f655
WARNING	2025年6月17日 上午10:11:26	Unable to process request. Wait time of the request to the service 'gis_1/NDVI2.MapServer' has expired.	Rest	DESKTOP-C1MTRO0	9003			7524	1		8f9325c6-bdc8-4d03-888a-f3f510394053
WARNING	2025年6月17日 上午10:11:10	Unable to process request. Wait time of the request to the service 'gis_1/guchan.MapServer' has expired.	Rest	DESKTOP-C1MTRO0	9003			7524	1		fbec47fa-8e89-4556-834c-4ee4d5d647ae
WARNING	2025年6月17日 上午10:10:10	Unable to process request. Wait time of the request to the service 'gis_1/guchan.MapServer' has expired.	Rest	DESKTOP-C1MTRO0	9003			7524	1		a4d978e9-d89a-4230-884c-22020deedac5
WARNING	2025年6月17日 上午10:05:31	Unable to process request. Error handling service request :0x80004005 - 未初始化图层或表。 in '"esriCarto.GraphicFeatureServer"'	Rest	DESKTOP-C1MTRO0	9003			7524	1		ddfed14f-aaf1-44a7-bf0f-20f65a4c4dee
SEVERE	2025年6月17日 上午10:05:31	服务"System/DynamicMappingHost.MapServer"的实例无法处理请求。	System/DynamicMappingHost.MapServer	DESKTOP-C1MTRO0	8001			8948	34		ddfed14f-aaf1-44a7-bf0f-20f65a4c4dee
SEVERE	2025年6月17日 上午10:05:31	Initialization failed.	gis_1/feinong_feiniang.MapServer	DESKTOP-C1MTRO0	17000		anonymous	8948	15284	GraphicFeatureServer::Connect2	ddfed14f-aaf1-44a7-bf0f-20f65a4c4dee
WARNING	2025年6月17日 上午10:05:31	图层类型:"1.tif"是"Raster Layer",它不是所支持的类型。	gis_1/feinong_feiniang.MapServer	DESKTOP-C1MTRO0	17001		anonymous	8948	15284	GraphicFeatureServer::InitializeLayers	ddfed14f-aaf1-44a7-bf0f-20f65a4c4dee
WARNING	2025年6月17日 上午10:05:28	"System/DynamicMappingHost.MapServer"中的服务实例激活失败。 AutomationException: 0x80004005 - 未初始化图层或表。 in '"esriCarto.GraphicFeatureServer"'	Server	DESKTOP-C1MTRO0	7563			7524	28		ddfed14f-aaf1-44a7-bf0f-20f65a4c4dee
SEVERE	2025年6月17日 上午10:05:28	服务"System/DynamicMappingHost.MapServer"的实例无法处理请求。	System/DynamicMappingHost.MapServer	DESKTOP-C1MTRO0	8001			15612	34		
SEVERE	2025年6月17日 上午10:05:28	Initialization failed.	gis_1/feinong_feiniang.MapServer	DESKTOP-C1MTRO0	17000		anonymous	15612	14664	GraphicFeatureServer::Connect2	ddfed14f-aaf1-44a7-bf0f-20f65a4c4dee
WARNING	2025年6月17日 上午10:05:28	图层类型:"1.tif"是"Raster Layer",它不是所支持的类型。	gis_1/feinong_feiniang.MapServer	DESKTOP-C1MTRO0	17001		anonymous	15612	14664	GraphicFeatureServer::InitializeLayers	ddfed14f-aaf1-44a7-bf0f-20f65a4c4dee
WARNING	2025年6月17日 上午10:01:00	Unable to process request. Error handling service request :0x80004005 - 未初始化图层或表。 in '"esriCarto.GraphicFeatureServer"'	Rest	DESKTOP-C1MTRO0	9003			7524	1		c53ea52a-8a49-4186-9ad4-30157e275efc
SEVERE	2025年6月17日 上午10:01:00	服务"System/DynamicMappingHost.MapServer"的实例无法处理请求。	System/DynamicMappingHost.MapServer	DESKTOP-C1MTRO0	8001			18320	34		c53ea52a-8a49-4186-9ad4-30157e275efc
SEVERE	2025年6月17日 上午10:01:00	Initialization failed.	gis_1/farm_structure.MapServer	DESKTOP-C1MTRO0	17000		anonymous	18320	17932	GraphicFeatureServer::Connect2	c53ea52a-8a49-4186-9ad4-30157e275efc
WARNING	2025年6月17日 上午10:01:00	图层类型:"cropland.tif"是"Raster Layer",它不是所支持的类型。	gis_1/farm_structure.MapServer	DESKTOP-C1MTRO0	17001		anonymous	18320	17932	GraphicFeatureServer::InitializeLayers	c53ea52a-8a49-4186-9ad4-30157e275efc
WARNING	2025年6月17日 上午10:00:57	"System/DynamicMappingHost.MapServer"中的服务实例激活失败。 AutomationException: 0x80004005 - 未初始化图层或表。 in '"esriCarto.GraphicFeatureServer"'	Server	DESKTOP-C1MTRO0	7563			7524	28		c53ea52a-8a49-4186-9ad4-30157e275efc
SEVERE	2025年6月17日 上午10:00:57	服务"System/DynamicMappingHost.MapServer"的实例无法处理请求。	System/DynamicMappingHost.MapServer	DESKTOP-C1MTRO0	8001			3308	34		117e4ad6-fed3-4243-86ec-c6771c500ff0
SEVERE	2025年6月17日 上午10:00:57	Initialization failed.	gis_1/farm_structure.MapServer	DESKTOP-C1MTRO0	17000		anonymous	3308	9048	GraphicFeatureServer::Connect2	c53ea52a-8a49-4186-9ad4-30157e275efc
WARNING	2025年6月17日 上午10:00:57	图层类型:"cropland.tif"是"Raster Layer",它不是所支持的类型。	gis_1/farm_structure.MapServer	DESKTOP-C1MTRO0	17001		anonymous	3308	9048	GraphicFeatureServer::InitializeLayers	c53ea52a-8a49-4186-9ad4-30157e275efc
WARNING	2025年6月17日 上午10:00:56	Unable to process request. Error handling service request :处理请求的时间超过了服务"System/DynamicMappingHost.MapServer"的使用超时时间。	Rest	DESKTOP-C1MTRO0	9003			7524	1		117e4ad6-fed3-4243-86ec-c6771c500ff0
SEVERE	2025年6月17日 上午10:00:50	处理请求的时间超过了服务"System/DynamicMappingHost.MapServer"的使用超时时间。 服务器请求超时。请检查针对此类请求配置的使用超时是否正确。	Server

提取某几行:

复制代码
SEVERE	2025年6月17日 上午10:01:00	Initialization failed.	gis_1/farm_structure.MapServer	DESKTOP-C1MTRO0	17000		anonymous	18320	17932	GraphicFeatureServer::Connect2	c53ea52a-8a49-4186-9ad4-30157e275efc
WARNING	2025年6月17日 上午10:01:00	图层类型:"cropland.tif"是"Raster Layer",它不是所支持的类型。	gis_1/farm_structure.MapServer	DESKTOP-C1MTRO0	17001		anonymous	18320	17932	GraphicFeatureServer::InitializeLayers	c53ea52a-8a49-4186-9ad4-30157e275efc
WARNING	2025年6月17日 上午10:00:57	"System/DynamicMappingHost.MapServer"中的服务实例激活失败。 AutomationException: 0x80004005 - 未初始化图层或表。 in '"esriCarto.GraphicFeatureServer"'	Server	DESKTOP-C1MTRO0	7563			7524	28		c53ea52a-8a49-4186-9ad4-30157e275efc
SEVERE	2025年6月17日 上午10:00:57	服务"System/DynamicMappingHost.MapServer"的实例无法处理请求。	System/DynamicMappingHost.MapServer	DESKTOP-C1MTRO0	8001			3308	34		117e4ad6-fed3-4243-86ec-c6771c500ff0

按照我的理解,它所说图层是栅格,是不受支持的类型,那么可能是将栅格错误地当成了其它类型的服务进行发布

根据实际情况,猜测可能是我将包含栅格的服务发布成了featureServer导致处理失败。

因此进行检查:

果然发现将栅格错误地添加了FeatureServer

将所有的包含了raster类型的服务全部去掉要素相关的服务,然后重新访问,成功!!!

相关推荐
我狸才不是赔钱货11 分钟前
容器:软件世界的标准集装箱
linux·运维·c++·docker·容器
zxsz_com_cn29 分钟前
设备健康管理大数据平台:工业智能化的核心数据引擎
运维·人工智能
呉師傅1 小时前
关于联想ThinkCentre M950t-N000 M大师电脑恢复预装系统镜像遇到的一点问题
运维·网络·windows·电脑
ajassi20002 小时前
开源 Linux 服务器与中间件(四)服务器--Tomcat
linux·服务器·开源
王廷胡_白嫖帝3 小时前
1. Linux 驱动开发前景
linux·运维·驱动开发
wangbing11253 小时前
迁移服务器
运维·服务器
细节控菜鸡3 小时前
【排查实录】Web 页面能打开,服务器能通接口,客户端却访问失败?原因全在这!
运维·服务器·前端
one year.3 小时前
Linux:库制作与原理
linux·运维·服务器
陈苏同学3 小时前
Win11安装 Ubuntu 22.04 子系统 - WSL2 - 安装完迁移到其它盘
linux·运维·ubuntu
我命由我123454 小时前
PDFBox - PDFBox 加载 PDF 异常清单(数据为 null、数据为空、数据异常、文件为 null、文件不存在、文件异常)
java·服务器·后端·java-ee·pdf·intellij-idea·intellij idea