SOLVED - 403 error on Dashboard

Hello @All

I have a problem with a nethserver. When I https://.980 into the server, the javascript files, etc. load correctly however I get a 403 on the Dashboard file.

The HTML title tells me, that I am in the “Login” Window and the HTML source for the window is returned, however the page comes with a 403 return code. (and will not be processed by the browser)

I tried MS IE, MS Edge, current Chrome, current Firefox under Windows and Safari on OSX.

I am not quite sure what version of nethserver is running as I kind of inherited the project.

Kind regards

Thomas

Hi Thomas!
Welcome into the NS Family!

Usually, 403 error is for “forbidden”.
Is there a router between you and the NS?
Can you access any others https websites?
From where do you try to access NS? From WAN or from LAN?
Can you ping the NS?
Have you tried to login through SSH?
Have you tried https://yourIP:980 instead of https://yourdomain:980?
Will you try to check https://yourNSserverIP or http://yourNSserverIP, both without port? ( :980 ).
You should see the Apache HTTP Server Test Page of NS.

1 Like

Hello Gabriel

Thanks for your reply

The computer I use and the server are in the same subnet. So - no router, firewall etc.

I access the server via ip address and not dns name

The Apache pages open

I can see “sitename -login” in the title. The jquery files load ok. I get the 403 as soon as I access The directory Dashboard

I tried with the english and iralian locale in the url

It is the sane

I tried rebooting and various browsers

Thanks

Thomas

I see that you tried to access the NS with different browsers and also from different computers (Win and OSX). So, is not a browser or computer issue.

Did you install something between last good login and now?

Can you access the NS through SSH or WinSCP to look into the /var/log/httpd/error_log or /var/log/messages?
Maybe is something relevant there.

Can you try to reach another section, directly? https://yourIP:980/en-US/LogViewer

1 Like

Hello Gabriel & others

I solved it !!! (and I kind of feel a little ashamed)

It was very simple - the harddisk was full. So the whole thing failed because no messages could be written into the logs, etc. I freed up the space and setup the root user correctly to get error messages by mail, etc.)

System is working again.

Thanks for your help

–Thomas

1 Like

Hello Gabriel

Did you install something between last good login and now?<<

No, nor has the datavolume significantly been increased

Can you access the NS through SSH or WinSCP to look into the /var/log/httpd/error_log or /var/log/messages?
Maybe is something relevant there.<<

Well, that is my second problem. The previous admin stopped working for the client and never documented the root password. As everything was working, there was no need to change the config (I know – my bad). I am trying to get in touch with him now.

Can you try to reach another section, directly? https://yourIP:980/en-US/LogViewer<<https://yourIP:980/en-US/LogViewer<<

Unfortunately – same thing.

BTW – attached is a screenshot with the Chrome developer tools open.

Kind regards & thanks for your help

Thomas