Linux cook failure: Error: Failed to initialize libwebsockets

I’ve been having the same issue with my Jenkins Docker Agent using UE 5.5.3.
I’ve done the following and it seems to have helped:

  1. In the Jenkins Docker image, add the following step:
RUN apt-get update && \
    apt-get install -y \
        libssl-dev \
        zlib1g-dev \
        ca-certificates && \
  apt-get clean
  1. In the Jenkins Docker image, add the following step (I think this is what ended up fixing it. Might want to try this before doing the other steps):
RUN echo "* soft nofile 1048576" >> /etc/security/limits.conf && \
    echo "* hard nofile 1048576" >> /etc/security/limits.conf
  1. Disable any plugins that depended on libwebsockets from the uproject file (I don’t think this actually helps as the module still tries to initialise with all dependencies disabled):
		{
			"Name": "EditorTelemetry",
			"Enabled": false
		},
		{
			"Name": "EditorPerformance",
			"Enabled": false
		},
		{
			"Name": "StudioTelemetry",
			"Enabled": false
		}
2 Likes