I have successfully deployed a local docker registry and implemented an listener endpoint to receive event notifications following the documentation for registry configuration using the sample insecure configuration file. Pushing, pulling and listing images work well. However, i still receive no event notification. The registry logs are throwing some errors i do not really understand:
time="2018-02-02T23:20:48Z" level=warning msg="httpSink{http://localhost:5050/event} encountered too many errors, backing off" time="2018-02-02T23:20:49Z" level=error msg="retryingsink: error writing events: httpSink{http://localhost:5050/event}: error posting: Post http://localhost:5050/event: dial tcp 127.0.0.1:5050: getsockopt: connection refused, retrying"
The endpoint listener is implemented in java and the registry is on an Ubuntu 14.04 server.