RetrieveServiceStatus returns an error here but we hide that error. The reason it returns an error is that this is the first time the underlying HTTP client attempts to connect to the unix domain socket as Gary is describing. This can be fixed either by what Gary descries or by running amc as root as Michele did. The actual problem is though that we hide the connection error.
You both are right :-)
The problem is in the way of how we check for an extension to be supported
func (c *clientImpl) HasExtension(name string) bool { ceStatus( )
if c.serviceStatus == nil {
status, _, err := c.RetrieveServi
if err != nil {
return false
}
c.serviceStatus = status
}
....
}
RetrieveService Status returns an error here but we hide that error. The reason it returns an error is that this is the first time the underlying HTTP client attempts to connect to the unix domain socket as Gary is describing. This can be fixed either by what Gary descries or by running amc as root as Michele did. The actual problem is though that we hide the connection error.