convoy icon indicating copy to clipboard operation
convoy copied to clipboard

Unable to connect to convoy.sock

Open stowns opened this issue 8 years ago • 1 comments

When starting up docker engine on rhel7.

level=warning msg="Unable to connect to plugin: /var/run/convoy/convoy.sock/Plugin.Activate: Post http://%2Fvar%2Frun%2Fconvoy%2Fconvoy.sock/Plugin.Activate: dial unix /var/run/convoy/convoy.sock: connect: no such file or directory, retrying in 1s
convoy info

{
"General": {
	"Root": "/var/lib/rancher/convoy",
	"DriverList": [
		"devicemapper"
	],
	"DefaultDriver": "devicemapper",
	"MountNamespaceFD": "",
	"IgnoreDockerDelete": false,
	"CreateOnDockerMount": false,
	"CmdTimeout": ""
},
"devicemapper": {
	"DataDevice": "/dev/mapper/vg_docker-thinpool_v",
	"DefaultVolumeSize": "107374182400",
	"Driver": "devicemapper",
	"Filesystem": "ext4",
	"MetadataDevice": "/dev/mapper/vg_docker-thinpoolmeta_v",
	"Root": "/var/lib/rancher/convoy/devicemapper",
	"ThinpoolBlockSize": "2097152",
	"ThinpoolDevice": "/dev/mapper/convoy-pool",
	"ThinpoolSize": "633507676160"
}
}

/var/run/convoy/convoy.sock exists. I'm not sure if this is a permissions issue or?

ls -l /var/run/convoy/
total 0
srwxr-xr-x 1 root root 0 Jun  6 17:08 convoy.sock

Convoy log as a couple errors in it

level=error msg="Handler not found: POST /VolumeDriver.Capabilities" pkg=daemon
...
level=error msg="http server erroraccept unix /var/run/convoy/convoy.sock: use of closed network connection" pkg=daemon

stowns avatar Jun 06 '17 17:06 stowns

Can you try if standard convoy command works? Also, can you show the full log of convoy daemon?

yasker avatar Jun 08 '17 17:06 yasker