Blocker - Cook failure

I am getting a cook failure that I cannot find the cause of other than the project being of a large size.
Local file size is 2.4GB and although I have aggressive compression, I could still be going over the 300MB download size but I am not being told that.

Here is the error I am getting from my output log.

LogOnline: Warning: MCP: Http Unexpected Result: HttpResult: 502 Code: 0 Error: Failure ErrorCode=errors.com.epicgames.cookplugin.cookfailure, Message=Editor terminated with exit code -1 while running Cook for C:\build\FortniteGame\FortniteGame.uproject; see log C:\build\Engine\Programs\AutomationTool\Saved\Logs\Cook-2022.12.21-02.10.46.txt SentryEventId=0692b340c21d4ccea71f38151e23bce3, Raw={
“errorCode”: “errors.com.epicgames.cookplugin.cookfailure”,
“errorMessage”: “Editor terminated with exit code -1 while running Cook for C:\build\FortniteGame\FortniteGame.uproject; see log C:\build\Engine\Programs\AutomationTool\Saved\Logs\Cook-2022.12.21-02.10.46.txt SentryEventId=0692b340c21d4ccea71f38151e23bce3”
}
LogValkyrie: ProjectSizeRequest::Cancel for 13873769-4d3e-9fab-31f6-42a2ecd99a77 - Editor terminated with exit code -1 while running Cook for C:\build\FortniteGame\FortniteGame.uproject; see log C:\build\Engine\Programs\AutomationTool\Saved\Logs\Cook-2022.12.21-02.10.46.txt SentryEventId=0692b340c21d4ccea71f38151e23bce3
LogValkyrieSummary: Server Summary - Failed to distribute content due to (Failure ErrorCode=ContentBeaconV2.FailedToBuildManifestClient.Host, Failed Building manifest for EConsumerRole::Client with platform: Windows and error: Failure ErrorCode=errors.com.epicgames.cookplugin.cookfailure, Message=An error occurred while communicating with the game servers (Editor terminated with exit code -1 while running Cook for C:\build\FortniteGame\FortniteGame.uproject; see log C:\build\Engine\Programs\AutomationTool\Saved\Logs\Cook-2022.12.21-02.10.46.txt SentryEventId=135710b23e134b0a87c5f573a9edb800).,
CookJobId:3c7c5369-b1a8-4442-a58f-c27f45665e3f, Raw=errors.com.epicgames.cookplugin.cookfailure, ClientId:094ad308f92a4328b25def546d095821, RequestId:75F00F8A86EF47C3A4DD6636DE648C2D, InnerErrorCode:errors.com.epicgames.cookplugin.cookfailure, InnerErrorMessage:An error occurred while communicating with the game servers (Editor terminated with exit code -1 while running Cook for C:\build\FortniteGame\FortniteGame.uproject; see log C:\build\Engine\Programs\AutomationTool\Saved\Logs\Cook-2022.12.21-02.10.46.txt SentryEventId=135710b23e134b0a87c5f573a9edb800)., CookJobId:3c7c5369-b1a8-4442-a58f-
c27f45665e3f, CachedInnerErrorType:EInnerErrorType::CookFailure, Message=Extended error, Raw=ContentBeaconV2.FailedToBuildManifestClient.Host, Failed Building manifest for EConsumerRole::Client with platform: Windows and error: Failure ErrorCode=errors.com.epicgames.cookplugin.cookfailure, Message=An error occurred while communicating with the game servers (Editor terminated with exit code -1 while running Cook for C:\build\FortniteGame\FortniteGame.uproject; see log C:\build\Engine\Programs\AutomationTool\Saved\Logs\Cook-2022.12.21-02.10.46.txt SentryEventId=135710b23e134b0a87c5f573a9edb800).
, CookJobId:3c7c5369-b1a8-4442-a58f-c27f45665e3f, Raw=errors.com.epicgames.cookplugin.cookfailure, ClientId:094ad308f92a4328b25def546d095821, RequestId:75F00F8A86EF47C3A4DD6636DE648C2D, InnerErrorCode:errors.com.epicgames.cookplugin.cookfailure, InnerErrorMessage:An error occurred while communicating with the game servers (Editor terminated with exit code -1 while running Cook for C:\build\FortniteGame\FortniteGame.uproject; see log C:\build\Engine\Programs\AutomationTool\Saved\Logs\Cook-2022.12.21-02.10.46.txt SentryEventId=135710b23e134b0a87c5f573a9edb800)., CookJobId:3c7c5369-b1a8-4442-a58f
-c27f45665e3f, CachedInnerErrorType:EInnerErrorType::CookFailure)
PlatformCook: New page: Platform Cook
PlatformCook: Error: Cooker had an error while cooking this project. Error: errors.com.epicgames.cookplugin.cookfailure, An error occurred while communicating with the game servers (Editor terminated with exit code -1 while running Cook for C:\build\FortniteGame\FortniteGame.uproject; see log C:\build\Engine\Programs\AutomationTool\Saved\Logs\Cook-2022.12.21-02.10.46.txt SentryEventId=135710b23e134b0a87c5f573a9edb800)., CookJobId:3c7c5369-b1a8-4442-a58f-c27f45665e3f
LogValkyrieActivityTracker: Warning: Session → Fail Activity: LoadingNewContent - Error updating content
LogValkyrieSummary: Failed to update content due to error.
LogValkyrieRequestManagerEditor: Warning: Failed to get extended error information for cook job:3c7c5369-b1a8-4442-a58f-c27f45665e3f, error:Failure ErrorCode=errors.com.epicgames.content-service.ticket_not_found, Message=Ticket ID 3c7c5369-b1a8-4442-a58f-c27f45665e3f was either invalid or expired, Raw={
“errorCode”: “errors.com.epicgames.content-service.ticket_not_found”,
“errorMessage”: “Ticket ID 3c7c5369-b1a8-4442-a58f-c27f45665e3f was either invalid or expired”
}

I have managed to get the project to cook and launch in FN.
It was almost certainly my final cook size as I went through and further dropped the in game texture size and all is good.

I do believe better messaging from the server that the cook has exceeded size if that is indeed what was happening here.

The issue was that your cook job just took long to complete (>20m) so it was cancelled by the backend. As you’ve already discovered, reducing the size of your project in some way will help, but you are absolutely right that we need to communicate this and protect against it more clearly in the future. We are actively working on our user messaging and hope to have that available soon in the new year!

3 Likes

Thanks Graeme!

This project is only getting bigger though, I plan to push close to the 300mb download, and will most likely approach 4GB upload. I can also forsee many of my and Alliance projects doing the same.
Hoping a discussion can be had in the new year about raising this limit.

I am getting a very similar error, but my project size seems to be much smaller:

And this is the errors from “Platform cook” in the message log:
We encountered an error preparing your project. Error: errors.com.epicgames.content-service.cook-failure, An error occurred while communicating with the game servers (Content (re)cook error errors.com.epicgames.cookplugin.cookfailure.
JOB_ID=12a153ce-e368-4e47-acb0-c512361f377d)., CookJobId:12a153ce-e368-4e47-acb0-c512361f377d
Too many warnings / errors, aborted processing of errors / warnings

I can’t edit my previous msg, so here is the error from the output log:

[2023.08.30-11.34.43:023][519]LogValkyrie: ProjectSizeRequest::Cancel for 6a9e22cf-4535-d667-7096-c88df2d3aed1 - Content (re)cook error errors.com.epicgames.cookplugin.cookfailure.
JOB_ID=12a153ce-e368-4e47-acb0-c512361f377d
[2023.08.30-11.34.43:399][548]LogValkyrieSummary: Server Summary - Failed to distribute content due to (Failure ErrorCode=ContentBeaconV2.FailedToBuildManifestClient.Host, Failed Building manifest for EConsumerRole::Client with platform: Windows and error: Failure ErrorCode=errors.com.epicgames.content-service.cook-failure, Message=An error occurred while communicating with the game servers (Content (re)cook error errors.com.epicgames.cookplugin.cookfailure.
JOB_ID=12a153ce-e368-4e47-acb0-c512361f377d)., CookJobId:12a153ce-e368-4e47-acb0-c512361f377d, Raw=errors.com.epicgames.content-service.cook-failure, ClientId:a4509099a73a48b2a1a72c242ebe8e8c, RequestId:60FA816CF1DB411AAB87B12A767F0064, InnerErrorCode:errors.com.epicgames.content-service.cook-failure, InnerErrorMessage:An error occurred while communicating with the game servers (Content (re)cook error errors.com.epicgames.cookplugin.cookfailure.
JOB_ID=12a153ce-e368-4e47-acb0-c512361f377d)., CookJobId:12a153ce-e368-4e47-acb0-c512361f377d, CachedInnerErrorType:EInnerErrorType::CookFailure, Message=Extended error, Raw=ContentBeaconV2.FailedToBuildManifestClient.Host, Failed Building manifest for EConsumerRole::Client with platform: Windows and error: Failure ErrorCode=errors.com.epicgames.content-service.cook-failure, Message=An error occurred while communicating with the game servers (Content (re)cook error errors.com.epicgames.cookplugin.cookfailure.
JOB_ID=12a153ce-e368-4e47-acb0-c512361f377d)., CookJobId:12a153ce-e368-4e47-acb0-c512361f377d, Raw=errors.com.epicgames.content-service.cook-failure, ClientId:a4509099a73a48b2a1a72c242ebe8e8c, RequestId:60FA816CF1DB411AAB87B12A767F0064, InnerErrorCode:errors.com.epicgames.content-service.cook-failure, InnerErrorMessage:An error occurred while communicating with the game servers (Content (re)cook error errors.com.epicgames.cookplugin.cookfailure.
JOB_ID=12a153ce-e368-4e47-acb0-c512361f377d)., CookJobId:12a153ce-e368-4e47-acb0-c512361f377d, CachedInnerErrorType:EInnerErrorType::CookFailure)
[2023.08.30-11.34.43:427][549]PlatformCook: Error: We encountered an error preparing your project. Error: errors.com.epicgames.content-service.cook-failure, An error occurred while communicating with the game servers (Content (re)cook error errors.com.epicgames.cookplugin.cookfailure.
[2023.08.30-11.34.43:427][549]PlatformCook: Error: JOB_ID=12a153ce-e368-4e47-acb0-c512361f377d)., CookJobId:12a153ce-e368-4e47-acb0-c512361f377d
[2023.08.30-11.34.43:431][549]LogValkyrieActivityTracker: Warning: Session → Fail Activity: LoadingNewContent - Error updating content
[2023.08.30-11.34.43:431][549]LogValkyrieSummary: Failed to update content due to error.
[2023.08.30-11.34.43:654][560]PlatformCook: Error: Too many warnings / errors, aborted processing of errors / warnings

Hey!! What exactly did you do to fix this issue?? I’ve been experiencing this for the past 2 days and cannot find the main issue. it keeps saying

ProjectSizeRequest::Cancel for 4316e4c1-441d-2be8-ef20-aca71ff7e834 - Content (re)cook error errors.com.epicgames.cookplugin.cookfailure.
JOB_ID=456ab09f-5de0-4dc2-834e-927effa02772

and cant find whats causing it, so any help would be great!