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

curl crashes on using libssl on M1 macs #167

Closed
ahoiroman opened this issue Jun 24, 2021 · 1 comment
Closed

curl crashes on using libssl on M1 macs #167

ahoiroman opened this issue Jun 24, 2021 · 1 comment

Comments

@ahoiroman
Copy link

  • Sail Version: 1.8.1
  • Laravel Version: 8.48.1
  • PHP Version: 8.x
  • OS: macOS Big Sur

Description:

In my Laravel application I'd like to perform a curl-request, which is not successful, as the process is triggering a segfault.

Calling the raw curl statement inside the container like this

sail@6b159f978899:/var/www/html$ curl -u test@zammad.com:test123 'https://my-app.com/api/v1/users/search?query=smith&limit=10&expand=true'
Segmentation fault

It fails with segfault.

Performing a little web search, I found the reason:

On Apple Silicon in native arm64 containers, older versions of libssl in debian:buster, ubuntu:20.04 and centos:8 will segfault when connected to some TLS servers, for example curl https://dl.yarnpkg.com. The bug is fixed in newer versions of libssl in debian:bullseye, ubuntu:21.04 and fedora:35.

(https://docs.docker.com/docker-for-mac/release-notes/)

Is it possible to update to 21.04?

@driesvints
Copy link
Member

We can't upgrade to 21.04 because Forge is still using 20.04. Please see #159 and downgrade Docker as this is a bug in Docker itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants