Error 404 HUE or KNOX

Hello team,

I am using knox and hue and when entering hue it sends a 404 error. Previously I used the desktop.auth.backend.LdapBackend option and I change it to desktop.auth.backend.knoxSpnegoDjanjoBackend and remove this option because when using hue with knox they do not upload files and send a 502 error, is there a way to fix it?