Registry requires SSL

I’m trying to use a local registry with no SSL, but even if i set the registry URL to http://LOCAL_IP:PORT it still tries to connect over SSL:

unexpected response from container registry: SSL: handshake timed out (6)

I can see the packets reaching the registry, but things don’t work out due to the SSL requirement.