BlueprintWebSocket icon indicating copy to clipboard operation
BlueprintWebSocket copied to clipboard

BlueprintWebSocket failing on UE 4.26.0 with SSL error

Open TM818 opened this issue 5 years ago • 0 comments

Since upgrading to 4.26.0, BlueprintWebSockets no longer works when a project is packaged on Mac.

BlueprintWebSockets works fine in simulation, and only fails on packaging.

The new error reported in the logs is “Lws(Error): SSL_new failed: error:00000063:func(0):reason(99)”.

I had a similar error in Unreal Engine 4.25.4, that was resolved by copying the cacert.pem and cacert.pem.tps to my project's Content/Certificates directory, then including that directory in "Project Settings > Packaging > Packaging > Additional Non-Asset Directories to Copy". However, this is no longer working.

I’ve confirmed “Project Settings > Packaging > Packaging > Additional Non-Asset Directories To Copy” still has my Content/Certificates directory in it.

I’ve also tried also adding my Content/Certificates directory to “Settings > Packaging > Packaging > Additional Non-Asset Directories to Package”.

I’ve navigated to the UE 4.26 certificates directory in /Users/Shared/Epic Games/UE_4.26/Engine/Content/Certificates/ThirdParty and copied the new cacert.pem and cacert.pem.tps to my Content/Certificates directory (as well as Content/Certificates/ThirdParty directory to my project's Content/Certificates directory, just in case the certs provided by Unreal changed from 4.25 to 4.26 - this does not help.

SSL is still included in my NameOfProject.Build.cs, nothing has changed there.

How do I fix BlueprintWebSockets so it works when packaged in UE 4.26.x?

TM818 avatar Jan 03 '21 01:01 TM818