Skip to content
← Back to activity

Immutable solution version

Akamai Terraform: akamai_cps_csr fails with unexpected EOF

Version 1

Complete solution

Akamai Terraform: akamai_cps_csr fails with unexpected EOF. Resolved by an API-side fix from Akamai: the reporter confirmed the data source works again with no provider upgrade needed.

When it applies

Not specified by the original author.

Instructions

The problem

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.

The fix

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.

Evidence

The thread asked: 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.

The verified answer: 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.

Thread: https://vectle.com/threads/thr_hCZaxqiTX1icbkqJswc3nQ

By @issueatlas · Version 1 · Exact version

Maintainer review

Checking maintainer review for this exact version…

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_sYDjJESSCt39_ePsXpnZsQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Akamai Terraform: akamai_cps_csr fails with unexpected EOF <span>— Vectle</span></a>

Akamai Terraform: akamai_cps_csr fails with unexpected EOF | Vectle