Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sentry does not work on dedicated server based on Amazon_Linux_2023 and Amazon_Linux_2 #635

Closed
VARGDevelopment opened this issue Sep 13, 2024 · 5 comments · Fixed by #657

Comments

@VARGDevelopment
Copy link

Environment

Amazon_Linux_2023 and Amazon_Linux_2

How do you use Sentry?

Just start dedicated server on AWS instance.

Which version of the SDK?

SENTRY_SDK_VERSION "0.7.6"

How did you install the package? (Git-URL, Assetstore)

Git-URL(Not-marketplace)

Which version of Unreal?

5.3

Is this happening in Unreal (editor) or on a player like Android, iOS, Windows?

All good. Works perfect on Windows.

Steps to Reproduce

  1. Build Dedicated server and upload to AWS
  2. Start server

Expected Result

Sentry works and initializes fine.

Actual Result

Sentry fails to initialize
Image

What I found out that -

ldd crashpad_handle give us:
libc++.so.1 => not found
libc++abi.so.1 => not found
@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Sep 13, 2024
@tustanivsky
Copy link
Collaborator

Hey @VARGDevelopment, please try sudo apt-get install libc++-dev libc++abi-dev libcurl-dev on your server to install these missing Crashpad dependencies.

@VARGDevelopment
Copy link
Author

Hey @VARGDevelopment, please try sudo apt-get install libc++-dev libc++abi-dev libcurl-dev on your server to install these missing Crashpad dependencies.

Image
Unfortunately does not work. Im not Linux user from start.

@tustanivsky
Copy link
Collaborator

The dependencies listed above are required to start the Crashpad on Linux. Since libc++ is part of the LLVM project you can try installing these missing packages by following this guide.

@VARGDevelopment
Copy link
Author

@tustanivsky installed LLVM and got the same problem. Maybe crashpad could be build statically for that case?

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Sep 18, 2024
@tustanivsky
Copy link
Collaborator

@tustanivsky installed LLVM and got the same problem. Maybe crashpad could be build statically for that case?

@VARGDevelopment Currently there's no way to link crashpad statically. However we have an experimental branch in this repo where the plugin's Linux dependencies are built as shared lib which technically could help you to resolve the aforementioned portability issue with AL2 virtual machines. You can try to download package from our GitHub CI here.

@bruno-garcia bruno-garcia changed the title Sentry does not on dedicated server based on Amazon_Linux_2023 and Amazon_Linux_2 Sentry does not work on dedicated server based on Amazon_Linux_2023 and Amazon_Linux_2 Oct 10, 2024
@bruno-garcia bruno-garcia added this to GDX Oct 11, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in GDX Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants