Introduction
Akamai property is not deployed when activation is pending or hostname is not mapped. This guide provides step-by-step diagnosis and resolution with specific commands and configuration examples.
Symptoms
Typical symptoms and error messages when this issue occurs:
bash
Property "my-property" activation pending
Hostname: api.example.com not mapped
Status: PENDINGObservable indicators: - CDN returns errors to end users - Content not being cached as expected - SSL or security configuration issues
Common Causes
- 1.Akamai issues are commonly caused by:
- 2.Property activation pending or hostname not mapped
- 3.Cache key configuration not matching requirements
- 4.Origin server unreachable or firewall blocking IPs
- 5.Bot manager or WAF rules blocking legitimate traffic
Step-by-Step Fix
Step 1: Check Current State
bash
curl -I -H "Pragma: akamai-x-cache-on" https://example.com/pathStep 2: Identify Root Cause
bash
akamai property listStep 3: Apply Primary Fix
bash
# Akamai Property Manager configuration
{
"name": "my-property",
"rules": {
"name": "default",
"children": [
{
"name": "Cache static content",
"criteria": [
{
"name": "path",
"options": {
"matchOperator": "MATCHES_ONE_OF",
"values": ["/static/*"]
}
}
],
"behaviors": [
{
"name": "caching",
"options": {
"behavior": "CACHE",
"ttl": "1d"
}
}
]
}
]
}
}Apply this configuration in the CDN dashboard or via API.
Step 4: Apply Alternative Fix (If Needed)
bash
# Alternative fix: adjust TTL
Edge-Cache-TTL: 3600
Stale-While-Revalidate: 86400Step 5: Verify the Fix
After applying the fix, verify with:
bash
curl -I -H "Pragma: akamai-x-cache-on" https://example.com/test | grep -E "X-Cache|Akamai"Expected output should show proper caching headers and successful content delivery.
Common Pitfalls
- Cache TTL too short causing origin overload
- SSL certificate not covering all hostnames
- Origin server blocking CDN IP ranges
- Purge request not propagated to all edges
Best Practices
- Configure appropriate cache TTLs
- Use origin shielding when possible
- Monitor CDN analytics for issues
- Implement proper error handling
Related Issues
- CDN Cache Not Working
- CDN SSL Certificate Error
- CDN Origin Unreachable
- CDN Performance Degradation