-
Notifications
You must be signed in to change notification settings - Fork 593
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 8.5.0 bug in Alpine 3.19 #4440
Comments
https://gitlab.alpinelinux.org/alpine/aports/-/issues/15690 can you try running |
can you check if my prebuilt static curl binaries work? https://github.com/ZoeyVid/curl-quic/releases/latest |
yes, because nextcloud trys to use libcurl |
can you try |
The problem is in c-ares 1.24.0 c-ares/c-ares#683 fixed with c-ares/c-ares#685, and released in c-ares 1.26.0. curl 8.6.0 from edge repository uses c-ares 1.24.0 so the problem still persist. |
I made a script to automate build https://gist.github.com/leosamuele221/aed36a3b9135032b6a8ffe7274e58ce7 |
can you report this here: https://gitlab.alpinelinux.org/alpine/aports/-/issues |
Yes i can, I'll do it as soon as possible. One option is to run this script https://gist.github.com/leosamuele221/aed36a3b9135032b6a8ffe7274e58ce7 when creating nextcloud container (maybe in the Dockerfile) so it builds a working curl Another better option is to build a working curl and download it from github when creating the container |
Hi, can you update to v8.1.0 beta and check if that improves things? |
Have you done so? |
do |
I'm coming here periodically, because we have noticed a similar issue in our setup. I just want to share a solution which was working for us: Specify a hostname for the container you are unable to resolve internally: e.g. setting "--hostname=mycontainer.domain.local" You might need to take all containers down and restart them, to have them pickup the change in the local network. This is not brilliant and i wish things would be resolved on the CURL or C-ARES side of things - but i just upgraded to Alpine 3.20 (curl 8.7.1 (aarch64-alpine-linux-musl) libcurl/8.7.1 ... c-ares/1.28.1) and i still see the problematic behaviour (everything (ping, wget, etc.) is resolving fine, but curl is not able to resolve if the hostname is missing) |
All right, that is annoying. Can someone please log an issue upstream? |
Encountered the issue while running Alpine 3.19.
Hope this helps |
I reinstalled CentOS, a complete reset, reinstalled fresh nextcloud-aio and now everything works. |
This should hopefully be resolved with #4857 |
This is now released with v9.1.0 Beta. Testing and feedback is welcome! See https://github.com/nextcloud/all-in-one#how-to-switch-the-channel |
Steps to reproduce
Expected behavior
Normal work of memories transcoder
Actual behavior
Nextcloud container can't connect to memories transcoder container
Host OS
CentOS 9
Nextcloud AIO version
Nextcloud AIO v8.0.0
Current channel
Latest
Possible solution
Downgrade to Alpine 3.18
Upgrade to Alpine 3.20 (as soon as available)
Install curl 8.6.0 (see below)
Other valuable info
The problem is curl 8.5.0 that is affected by curl/curl#12558. This bug is actually solved in curl 8.6.0 so you just need to update curl.
Curl 8.6.0 isn't available from alpine package manager (in Alpine 3.19 the only version available is 8.5.0 https://pkgs.alpinelinux.org/packages?name=curl&branch=v3.19&repo=main)
The only way to install curl 8.6.0 is to build it from source
To install from source follow this steps:
enter in nextcloud-aio-nextcloud container
docker exec -it nextcloud-aio-nextcloud bash
remove curl 8.5.0
apk del curl
download curl 8.6.0 (you can do it in any folder you want, personally I did it in "/home/test")
wget https://github.com/curl/curl/releases/download/curl-8_6_0/curl-8.6.0.tar.gz
unpack it
tar -xf curl-8.6.0.tar.gz
move to it
cd curl-8.6.0
install dependecies
apk add openssl-dev g++ make autoconf libpsl-dev
configure
./configure --with-openssl
make and install
make && make install
With curl 8.6.0 the problem is solved!
If you want more info on how to build curl here is the docs https://github.com/curl/curl/blob/master/docs/INSTALL.md#unix
The text was updated successfully, but these errors were encountered: