AUTH failed when using URL

Hi, I’m trying to use URL to Authenticate to redis-cli and I’m getting “AUTH failed” , when using the same credential to authenticate with (AUTH user password) method all work OK, but when trying to implement the following method: (redis-cli redis://usrname:password@ipaddress:6379) I’m getting “AUTH failed”, is there anything else I need to do to enable it?