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

do_connect: Connection to localhost failed (Error NT_STATUS_IO_TIMEOUT) #7

Closed
git-clone opened this issue Feb 1, 2021 · 7 comments
Closed

Comments

@git-clone
Copy link

I updated today and I am getting an error on the health check

do_connect: Connection to localhost failed (Error NT_STATUS_IO_TIMEOUT)

Host is RPi4.

Could be related to an issue with libseccomp2 that has affected other containers on RPi4.

https://github.com/visibilityspots/dockerfile-cloudflared/issues/30
https://github.com/alpinelinux/docker-alpine/issues/110

But I am not sure ... another symptom is the container doesn't have the correct date/time

bash-5.1# date
Sun Jan  0 00:100:4174038  1900
@git-clone
Copy link
Author

just updated again today - I still have the same issue - time to roll my sleeves up and skill up I guess :)

@MathiasVDA
Copy link

I also seem to have this issue on a freshly setup raspberry pi 3B running Raspbian GNU/Linux 10 (buster). The health check fails with: do_connect: Connection to localhost failed (Error NT_STATUS_IO_TIMEOUT)

I have a, also freshly setup, odroid xu4 running Ubuntu 18.04.3 LTS with exactly the same configuration and that runs this image perfectly.

@MathiasVDA
Copy link

This dperson/samba#356 (comment) seems to fix it for me on my raspi

@elswork
Copy link
Member

elswork commented Feb 16, 2021

I've the same issues in my RPI4, for the moment I can only suggest to use an earlier versión, for Raspberry SBC's (elswork/samba:3.2.1)
I believe that issue would disappear in next versions, I would inform you here when a new release of this container works properly for Raspberry.

@mauroao
Copy link

mauroao commented Jun 12, 2021

I solved this problem on my Raspberry PI 4 by adding the --privileged flag to the docker run command

@mauroao
Copy link

mauroao commented Jun 12, 2021

Another solution
Worked form me (raspberry pi 4) !

Upload a recent libsecconp from:
https://packages.debian.org/sid/armhf/libseccomp-dev/download

Update it:

sudo dpkg -i libseccomp2_2.5.1-1_armhf.deb

@elswork
Copy link
Member

elswork commented Dec 1, 2021

As @mauroao comments, upgrading to libseccomp2 solves that issue on Raspbian.
Thanks you

@elswork elswork closed this as completed Dec 1, 2021
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

4 participants