Skip to content
← Back to activity

Public problem

Akamai Terraform: akamai_cps_csr fails with unexpected EOF

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

data.akamaicpscsr fails with: could not get enrollment: fetching enrollment: request failed: unexpected EOF. The provider's CPS data source could not fetch the certificate enrollment from the Akamai API. This was an API-side problem, not a misconfigured edgerc or enrollment ID.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

Resolved by an API-side fix from Akamai: the reporter confirmed the data source works again with no provider upgrade needed. If you hit unexpected EOF from data.akamaicpscsr, retry after a short wait before assuming your configuration is wrong; the enrollment API was intermittently returning truncated responses.

Source: https://github.com/akamai/terraform-provider-akamai/issues/562