Closed juliusl closed 1 year ago
It is a known issue. In libcurl ver. 7.59.0 a number of checks were added for recusive calls. The PhotonLibOS using a special way to interacting with libcurl (by multicurl handler and libcurl event notifications), used to fits libcurl version lower than 7.59.0, but may fail in newer versions.
Provides another version of libcurl (7.42 or newer, but should be older than 7.59.0) helps to resolve this problem.
PhotonLibOS will migrate to own-implemented http client, instead of libcurl. OverlayBD will also change to photon::net::http in the future. That would helps resolve this problem permanently.
7.59.0 was released 2018/1/24 which is very old. Should overlaybd build script pin to a particular version?
It is a known issue. In libcurl ver. 7.59.0 a number of checks were added for recusive calls. The PhotonLibOS using a special way to interacting with libcurl (by multicurl handler and libcurl event notifications), used to fits libcurl version lower than 7.59.0, but may fail in newer versions.
Provides another version of libcurl (7.42 or newer, but should be older than 7.59.0) helps to resolve this problem.
PhotonLibOS will migrate to own-implemented http client, instead of libcurl. OverlayBD will also change to photon::net::http in the future. That would helps resolve this problem permanently.
@Coldwings Is it possible to statically link libcurl for the mariner build?
Should overlaybd build script pin to a particular version?
Yes
What happened in your environment?
This error is happening for all curl calls. It looks like the first curl call at the top of the logs succeeds and all subsequent calls start to fail,
What did you expect to happen?
The i/o request completes successfully.
How can we reproduce it?
1) Create a mariner machine 2) Setup overlaybd 3) Remote pull from a private registry
What is the version of your Overlaybd?
0.6.15
What is your OS environment?
Mariner
Are you willing to submit PRs to fix it?