Ping for Truenas Scale server returns 422 error
In all my years of web development I have never once seen a 422 error## TL;DRbut here I am.
The status ping for my truenas scale server is returning a 422 code.
I realise this is more of a truenas related issue but it only gives me this code on Homarr.
App Setup
- Internal and External url: The url of my truenas dashboard(truenas.local:81/ui/dashboard)Port 81 because I use traefik on port 80
Error Info
I checkout the chrome console and opened up the failed ping object and it says it failed with a 422 status code. Content not found? I have copy-pasted the URL from the dashboard I use to access truenas.Most Likely Cause
I think the issue is Homarr for some reason not using port 81 in this case. The log specifically says thattruenas.local failed NOT truenas.local:81. This is different to my qbittorrent, which the console says it successfully pinged torrent.local:10095.Any help would be appreciated
Solution
The ping still returned 422 though? I ended up fixing it by just changing the internal address to the unsecure ip and port, rather than the traefik/pihole dashboard address