Reporting Completely Blank

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Hmm. Doing a F12 trace on my system doesn't show any 402 replies when pulling up reporting. How do you have your cert configured, and what do you have set as HTTPS protocols?
 

eltharynd

Cadet
Joined
Feb 5, 2022
Messages
4
I'm behind reverse proxy from a jail.

Code:
server {
        listen 443 ssl http2;

        server_name example.com;
        access_log /var/log/nginx/example/access.log;
        error_log /var/log/nginx/example/error.log;

        ssl_certificate /usr/local/etc/nginx/ssl/example.com.crt;
        ssl_certificate_key /usr/local/etc/nginx/ssl/example.com.key;
        ssl_trusted_certificate /usr/local/etc/nginx/ssl/example.com.crt;

        location / {
                proxy_cache_bypass $http_upgrade;
                proxy_headers_hash_max_size 512;
                proxy_headers_hash_bucket_size 128;
                proxy_http_version 1.1;
                proxy_set_header Connection 'upgrade';
                proxy_set_header Host $host;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_set_header X-Forwarded-Host $server_name;
                proxy_set_header X-Forwarded-Ssl on;
                proxy_set_header X-Real-Remote-Addr $remote_addr;
                proxy_set_header X-Real-Remote-Port $remote_port;

                proxy_set_header X-Forwarded-Port 80;
                proxy_pass http://local.ip.of.truenas:80;
        }
}
 

AlexandreQ

Cadet
Joined
May 11, 2022
Messages
1
Hello everyone,

Got same error since the version 12.0.

Extract of chrome console when accessing/refreshing report page :
Code:
main.f571b3b7d0e39c37f202.js:1
ERROR DOMException: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://10.0.4.100/'.
    at https://10.0.4.100/ui/polyfills.dfc5ec7548fd9565e416.js:1:43541
    at XMLHttpRequest.D.a.<computed> [as send] (https://10.0.4.100/ui/polyfills.dfc5ec7548fd9565e416.js:1:20829)
    at e.getServerTime (https://10.0.4.100/ui/10.3533d9fc2ae7ebbd50ff.js:1:130480)
    at e.convertTimespan (https://10.0.4.100/ui/10.3533d9fc2ae7ebbd50ff.js:1:130665)
    at e.ngAfterViewInit (https://10.0.4.100/ui/10.3533d9fc2ae7ebbd50ff.js:1:128272)
    at sn (https://10.0.4.100/ui/main.f571b3b7d0e39c37f202.js:1:2024777)
    at an (https://10.0.4.100/ui/main.f571b3b7d0e39c37f202.js:1:2024620)
    at rn (https://10.0.4.100/ui/main.f571b3b7d0e39c37f202.js:1:2024358)
    at Cr (https://10.0.4.100/ui/main.f571b3b7d0e39c37f202.js:1:2046979)
    at https://10.0.4.100/ui/main.f571b3b7d0e39c37f202.js:1:2046333


If someone could give me a solution to solve the problem, it would allow me to diagnose another problem encountered on my NAS.

Thank you in advance.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,176
You'll need to provide a lot more detail about your setup and how your browser is reaching your server.
 
Joined
May 23, 2022
Messages
1
I'll add my 2c

System:
- TrueNAS-12.0-U8
- i5 750, 8GB RAM

To recreate, I accessed the Web UI,
- via Edge Version 101.0.1210.53 (Official build) (64-bit) by IP across routed subnet
- via FireFox 100.0.2 (64-bit) by IP on same subnet
- via HTTP and HTTPS

Behavior is the same:
- Widget works
- CPU Reporting does not
- Disk Reporting does not

I tried a few other reports, I did not find a working report but the search was not exhaustive. All dashboard widgets work, all "Reporting" does not.
 
Top