You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Balena-engine-daemon crashes when attempting to get a distribution list via the socket api.
Steps to reproduce the issue:
Run sudo balena-engine-daemon in a bash console.
Run sudo curl --unix-socket /var/run/balena-engine.sock http://localhost/version to verify communication with the daemon. It should succeed.
Run sudo curl --unix-socket /var/run/balena-engine.sock http://localhost/v1.35/distribution/library/busybox/json. It fails with curl: (52) Empty reply from server
Describe the results you received:
sudo curl --unix-socket /var/run/balena-engine.sock http://localhost/v1.35/distribution/library/busybox/json. It fails with curl: (52) Empty reply from server. balena-engine-daemon meanwhile crashes with a stack dump. (see attached)
Describe the results you expected:
The curl command should return the same thing as Docker does with sudo curl --unix-socket /run/docker.sock http:/v1.35/distribution/library/busybox/json
Description
Balena-engine-daemon crashes when attempting to get a distribution list via the socket api.
Steps to reproduce the issue:
sudo balena-engine-daemon
in a bash console.sudo curl --unix-socket /var/run/balena-engine.sock http://localhost/version
to verify communication with the daemon. It should succeed.sudo curl --unix-socket /var/run/balena-engine.sock http://localhost/v1.35/distribution/library/busybox/json
. It fails withcurl: (52) Empty reply from server
Describe the results you received:
sudo curl --unix-socket /var/run/balena-engine.sock http://localhost/v1.35/distribution/library/busybox/json
. It fails withcurl: (52) Empty reply from server
.balena-engine-daemon
meanwhile crashes with a stack dump. (see attached)Describe the results you expected:
The
curl
command should return the same thing as Docker does withsudo curl --unix-socket /run/docker.sock http:/v1.35/distribution/library/busybox/json
Result from docker
Additional information you deem important (e.g. issue happens only occasionally):
none
Output of
balena-engine version
:Output of
balena-engine info
:Additional environment details (device type, OS, etc.):
Stack track from
balena-engine-daemon
The text was updated successfully, but these errors were encountered: