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

Connecting to Ryuk failed #149

Closed
nikolayk812 opened this issue Feb 10, 2020 · 3 comments · Fixed by #154
Closed

Connecting to Ryuk failed #149

nikolayk812 opened this issue Feb 10, 2020 · 3 comments · Fixed by #154

Comments

@nikolayk812
Copy link

Describe the bug
Sometimes I get this:
failed to create container: connecting to reaper failed: Connecting to Ryuk on localhost:32787 failed: dial tcp [::1]:32787: connect: connection refused

Then I restart the test and then it works.

To Reproduce
Not known to me

Expected behavior
No such error

** docker info **
output of the command:

Client:
 Debug Mode: false

Server:
 Containers: 28
  Running: 0
  Paused: 0
  Stopped: 28
 Images: 116
 Server Version: 19.03.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.19.76-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 1.943GiB
 Name: docker-desktop
 ID: BXSA:MCZH:LQVP:DID3:JENA:NDE4:NWOL:D355:BAQV:COEX:HNY4:QNC5
 Docker Root Dir: /var/lib/docker
 Debug Mode: true
  File Descriptors: 35
  Goroutines: 52
  System Time: 2020-02-10T21:20:41.4269363Z
  EventsListeners: 3
 HTTP Proxy: gateway.docker.internal:3128
 HTTPS Proxy: gateway.docker.internal:3129
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Product License: Community Engine
@itaischwartz
Copy link
Contributor

Happened to me too

@gianarb
Copy link
Member

gianarb commented Feb 12, 2020 via email

gianarb added a commit that referenced this issue Mar 3, 2020
…ing-port

Fix reaper connect failure by waiting for listening port
@mdonkers
Copy link
Contributor

For whoever finds this issue (like me). There might be another reason to get the above error. I created a new ticket:
#764

(tests that don't use a container might cause the Ryuk reaper container to time-out and shutdown, after which it cannot be re-used again for subsequent tests)

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

Successfully merging a pull request may close this issue.

4 participants