Gamelift InitSDK Error on Amazon Linux 2023

0

I am getting an invalid attempt to read memory error when starting my unreal engine server on amazon linux 2023. I am using the 5.1 sdk which i have compiled using an amazonlinux 2023 container and placed the .so file within the unreal engine plugin.

[2023.08.31-01.29.38:908][  0]GameServerLog: Initializing the GameLift Server
[2023.08.31-01.29.38:908][  0]GameServerLog: PID: 0
[2023.08.31-01.29.38:916][  0]LogCore: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to read memory at address 0x00007f04eebdce80

[2023.08.31-01.29.38:916][  0]LogCore: Fatal error!

0x00007f04eebdce80 libcrypto.so.3!UnknownFunction(0x3dce80)
Micah
asked 21 days ago58 views
1 Answer
0

Hi Micah,

Thanks for raising this concern. Unreal Engine statically links OpenSSL into the server executable, which causes version conflicts with OpenSSL being used with the GameLift Server SDK on Amazon Linux platforms. To mitigate this, it is recommended to use the same version of OpenSSL that Unreal Engine uses. Ureal Engine 5.1 uses OpenSSL 1.1.n. But it is recommended you verify if this is indeed the version your Unreal Engine is using.

Once you have built your GameLift server, please ensure you copy the .so files for OpenSSL into the packaged bundle, namely libcrypto.so.1.1 and libssl.so.1.1. These can be placed in the same location as the GameLift Server SDK library libaws-cpp-sdk-gamelift-server.so.

We are currently working on improving this experience by updating our public documentation to include more detailed instructions. Hope this helps!

AWS
answered 3 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions