All, after extensive testing, logging, and analysis the longstanding, intermittent issues affecting the managed endpoints in my enterprise has been traced to how the policy decision engine in GlobalProtect handles traffic destined for our cloud instance.
To further explain:
For some time upon execution of jamf commands (policy, primarily) in terminal following has been seen:
“An error occurred. There is no message.”
Subsequent runs would be successful. Nevertheless log captures of “mdmclient” and “com.apple.ManagedClient” are replete with various and sundry errors. Correlating these with netstat commands shows that jamf policy would be begin execution over the VPN tunnel (utunX)… and then quickly gets denied and directed to physical interface (en0). That this occurs, regardless of how quick, during initial TLS handshake hasn’t really helped matters.
Further attempts running jamf terminal commands shows that while most traffic appears to head out via native interface some was now allowed via the tunnel:
Socket-level inspection shows both GlobalProtect and the Jamf binary maintaining simultaneous HTTPS sessions to Jamf/AWS endpoints, but with different source addresses. GlobalProtect-owned connections appear to originate from the local LAN IP (192.168.x.x), while the Jamf process itself shows at least one active connection from the tunnel IP (10.x.x.x). This indicates that traffic handling is being mediated at the proxy/filter layer and is not reflected purely by route-table state. It also suggests Jamf traffic is not being cleanly or uniformly bypassed in practice, but is rather hitting an arbitrator in a policy-based decision engine.
Key Findings
- jamf policy frequently fails on the first attempt with:
“An error occurred. There is no message.” - The same command often succeeds immediately on the second attempt.
- route -n get cityofphoenix.jamfcloud.com has repeatedly shown Jamf traffic
resolving via utun0, indicating that Jamf is not cleanly excluded from the tunnel by route alone. - Packet capture and socket inspection show Jamf-related traffic appearing on both:
- utun0 using the tunnel IP
- en0 using the native LAN IP
- GlobalProtect NetworkExtension logs show Jamf flows being intercepted and evaluated by the GP extension before final path selection.
- In at least one captured case, a Jamf TCP flow was:
- initially seen on utun0
- then accepted by the provider on en0
- GP logs also show initial flow rejection followed by later acceptance for Jamf-related traffic, which aligns with the observed “first attempt fails, second attempt works” pattern.
- This behavior is consistent with flow-divert / app-proxy / DNS proxy policy arbitration, not simple static route-based split tunneling.
- Production and test GP portals produce materially different route tables, indicating that portal/gateway policy is a major factor in the resulting client behavior.
- Jamf Cloud is AWS-backed and resolves to multiple IPs over time, so IP-based exception handling is inherently more brittle than domain-based handling.
Update:
The error behind the symptom, “An error occurred. There is no message,” was discovered to have been caused by the following:Problem 1 — Jamf Server XML Serialization Failure (Deterministic)
A non-XML-safe byte (0x01) present in a script’s scriptContents field triggers a MarshalException during
server-side policy response serialization. The “Extension Activation” policy acts as the execution trigger,
causing the server to serialize the full policy object graph on each check-in. When the invalid byte is
encountered, the response is truncated mid-stream.
This manifests on endpoints as:
• HTTP 200 responses with incomplete XML (CLI path)
• HTTP 500 responses (API/UI path)
• “Message has no content” errors on clients
The issue was observed on multiple managed Macs during the observation window.
Evidence indicates:
• The failure is entirely server-side
• NetworkExtension (NE) behavior is consistent across failing and successful executions
• The issue persists across Jamf Pro versions 11.25.2 and 11.26.1
Observed behavior suggests:
• Non-XML-safe data is accepted and stored without effective validation for XML safety
• Serialization failures are not isolated at the field or object level
• Response status may be committed prior to full serialization completion
Each failure produces a consistent three-event log sequence:
JPRO-023 → JPROClientComm → JPRO-002, with no observable recovery behavior.
Problem 2 — Control-Plane Fragmentation (Systemic, Emergent)
Independently, the endpoint network architecture exhibits deterministic control-plane fragmentation. DNS
resolution, NE evaluation, and TCP execution occur across different interfaces and providers with
divergent state.
Key observations:
• Jamf Cloud traffic consistently exits via en0 (physical interface)
• Apple software update traffic traverses utun0 (VPN tunnel)
1• APNs delivery is bifurcated and non-deterministic (~54% GP rejection)
GlobalProtect functions as the effective routing authority through default route ownership. During
observed disconnect cycles (74s and 42s), the system reported “No network” despite the physical interface
remaining active.
This fragmentation:
• Does not cause the Jamf serialization failure
• Does introduce non-deterministic behavior in Apple control-plane components
• Contributes to systemic instability in endpoint workflows
ROOT CAUSE MODEL
This failure emerges from two layers acting together, each necessary for the observed outcome.
Layer 1 — Trigger + Data
Trigger:
The “Extension Activation” policy executes on all check-ins, forcing serialization of its full object graph.
Data:
The referenced script contains non-XML-safe control characters, including 0x01, due to embedded binary
plist content.
Remediation at this layer:
• Fixing the script resolves the data condition
• Disabling the policy removes the trigger
Layer 2 — Enabling Condition (Platform Behavior)
The observed failure is enabled by a combination of behaviors in the serialization pipeline:
1 No effective XML safety validation at ingestion
– Non-XML-safe characters are accepted and persisted in user-writable fields
2 No observable error isolation during serialization
– A single invalid field causes full response failure
3 Response commitment timing consistent with early status emission
– Clients receive HTTP 200 with incomplete payloads
These behaviors are supported by stack traces and runtime observations, not inferred from theory.
SERIALIZATION FAILURE PATH
The following traces the failure path through the serialization pipeline. This level of detail is included to
demonstrate that the failure is deterministic and occurs at a specific, reproducible boundary.
2Observed Pattern
Each failure produces a consistent three-stage propagation:
1 JPRO-023 — JAXBMessageMarshaller
– Exception occurs during marshaller.marshal()
– Full stack trace logged
– Exception wrapped and re-thrown
2 JPROClientComm — JAMFHttpServlet
– Exception propagates through intermediate layers without interception
– Logged again at servlet boundary
3 JPRO-002 — Terminal Handler
– Final logging event
– Device metadata partially unavailable
– No recovery or fallback behavior observed
This forms a consistent:
log → propagate → log → propagate → log → terminate sequence
Across 612 failures:
• 612 JPRO-023
• 612 JPROClientComm
• 613 JPRO-002
This near 1:1:1 ratio confirms a deterministic, repeatable execution path.
KEY INTERPRETATION
• The system detects the failure condition
• The failure is logged at multiple layers
• The exception is propagated without observable mitigation
• The response is not recoverable once serialization fails
This is consistent with a catch-log-rethrow pattern without effective containment.
HTTP RESPONSE BEHAVIOR
Observed behavior strongly suggests:
• HTTP 200 status is returned prior to full response serialization
• When serialization fails mid-stream, the body is truncated and the client receives a syntactically valid
but incomplete response
This explains:
3• “Message has no content”
• Inconsistent response sizes (~139 KB vs ~144 KB)
CROSS-VERSION OBSERVATION
Between versions:
• 11.25.2: Woodstox + InvalidCharHandler
• 11.26.1: Glassfish JAXB + NoEscapeHandler
The implementation changed, but:
• The failure persists
• The absence of observable recovery behavior remains consistent
This suggests a systemic design gap rather than a version-specific defect.
DEFENSIBLE SUMMARY
The “Message has no content” error is caused by a server-side XML serialization failure triggered by
non-XML-safe data (0x01) in the referenced script, activated by the “Extension Activation” policy’s
universal execution scope.
The failure:
• Is independent of network conditions
• Persists across Jamf Pro versions 11.25.2 and 11.26.1
• Was observed across multiple managed Macs
• Produces a consistent three-stage error propagation pattern
The behavior observed indicates:
• Non-XML-safe data can be stored in user-controlled fields without effective XML safety validation
• Serialization failures are not isolated at the field or object level
• Response commitment timing allows truncated HTTP 200 responses to reach clients
Independently, the environment exhibits deterministic control-plane fragmentation, where DNS, routing,
policy enforcement, and transport execution operate under divergent assumptions. This contributes to
non-deterministic behavior in Apple control-plane services but does not influence the serialization failure
mechanism.
