Since last night I'm no longer able to access public ESRI Image Layers, specifically the traffic layer I found in this sample:
Did something change on the ESRI side? I pulled an old copy of my code from a working build last month and experienced the same thing. Here's a simple bit of code:
// simple demo map view with oauth
@State private var map = {
let map = Map(basemapStyle: .arcGISTopographic)
map.initialViewpoint = Viewpoint(latitude: 34.02700, longitude: -118.80500, scale: 72_000)
let trafficLayerURL = URL(string: "http://www.arcgis.com/home/item.html?id=ff11eb5b930b4fabba15c47feb130de4")!
let trafficLayer = ArcGISMapImageLayer(url: trafficLayerURL)
map.addOperationalLayer(trafficLayer)
return map
}()
var body: some View {
// SceneView(scene: scene)
MapViewReader { mapViewProxy in
// apply highlightsGraphics graphic overlay
MapView(map: map)
my debug output looks like the following after completing oauth:
(501) personaAttributesForPersonaType for type:0 failed with error Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated from this process.}
Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false}
elapsedCPUTimeForFrontBoard couldn't generate a task port
Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false}
elapsedCPUTimeForFrontBoard couldn't generate a task port
[C:1-4] Error received: Invalidated by remote connection.
Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false}
elapsedCPUTimeForFrontBoard couldn't generate a task port
Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false}
elapsedCPUTimeForFrontBoard couldn't generate a task port
fence tx observer 13c23 timed out after 0.600000
fence tx observer 13d53 timed out after 0.600000
Failed to load item AXCodeItem<0x10b41eed0> [Rank:6000] SpringBoardUIServices [AXBundle name:/System/Library/AccessibilityBundles/SpringBoardUIServices.axbundle/SpringBoardUIServices] [Platforms and Targets:{ iOS = SpringBoardUIServices; } Framework] [Excluded: (null)]. error: Error Domain=AXLoading Code=0 "URL does not exist: file:///System/Library/AccessibilityBundles/SpringBoardUIServices.axbundle" UserInfo={NSLocalizedDescription=URL does not exist: file:///System/Library/AccessibilityBundles/SpringBoardUIServices.axbundle}
nw_endpoint_flow_failed_with_error [C4.1.1.1 3.163.24.109:443 in_progress channel-flow (satisfied (Path is satisfied), viable, interface: en2[802.11], ipv4, dns, uses wifi, LQM: good)] already failing, returning
nw_endpoint_flow_failed_with_error [C4.1.1.2 3.163.24.91:443 in_progress channel-flow (satisfied (Path is satisfied), viable, interface: en2[802.11], ipv4, dns, uses wifi, LQM: good)] already failing, returning
nw_endpoint_flow_failed_with_error [C4.1.1.3 3.163.24.50:443 in_progress channel-flow (satisfied (Path is satisfied), viable, interface: en2[802.11], ipv4, dns, uses wifi, LQM: good)] already failing, returning
nw_endpoint_flow_failed_with_error [C4.1.1.4 3.163.24.41:443 in_progress channel-flow (satisfied (Path is satisfied), viable, interface: en2[802.11], ipv4, dns, uses wifi, LQM: good)] already failing, returning
nw_endpoint_flow_failed_with_error [C4.1.1.4 3.163.24.41:443 cancelled channel-flow ((null))] already failing, returning
nw_connection_copy_protocol_metadata_internal_block_invoke [C4] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
nw_connection_copy_protocol_metadata_internal_block_invoke [C4] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
nw_connection_copy_protocol_metadata_internal_block_invoke [C4] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
nw_connection_copy_protocol_metadata_internal_block_invoke [C4] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
nw_connection_copy_connected_local_endpoint_block_invoke [C4] Client called nw_connection_copy_connected_local_endpoint on unconnected nw_connection
nw_connection_copy_connected_path_block_invoke [C4] Client called nw_connection_copy_connected_path on unconnected nw_connection
nw_connection_copy_connected_remote_endpoint_block_invoke [C4] Client called nw_connection_copy_connected_remote_endpoint on unconnected nw_connection
nw_connection_copy_protocol_metadata_internal_block_invoke [C4] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
nw_connection_copy_protocol_metadata_internal_block_invoke [C4] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
nw_flow_add_write_request [C4 arcgis.com:443 failed parent-flow (satisfied (Path is satisfied), interface: en2[802.11], ipv4, dns, uses wifi, LQM: good)] cannot accept write requests
nw_write_request_report [C4] Send failed with error "Socket is not connected"
nw_connection_copy_metadata_block_invoke [C4] Client called nw_connection_copy_metadata on unconnected nw_connection
Instructed to remove hit test redirection, but it was already removed
[NetworkComponent] Failed to serialize component GoalStorageComponent for entity (13155253870753100728)
I tried another public service and experienced the same thing. In both cases I was also unable to open the services in the "map viewer" in AGO. Map Viewer would just spin for a long time. Please let me know if I can provide more helpful notes or if you have any questions/feedback.
Thank you!
Solved! Go to Solution.
Archive/delete this. It seems to be a network issue with the device from a recent update. I can access Map Viewer on other devices just fine.