We have an Umbraco 7.4.3 running in an https environment.
When we try to login to it, it enters the backoffice and immediatelly logs out, with message "Session time out".
We have the following errors in console:
This did not happen before, but we started having the error once Umbraco reached around 3k nodes.
Do you have any idea on what could have happen or how we can fix it? We also tried uploading the Umbraco files again, but no luck.
Besides the huge number of nodes being registered, there was no code change on the website that would make it fail. I followed some considerations from other topics and requested the host to take a look into any server change and, perhaps, adding a machinekey to the web.config to see if it is fixed.
Once we find a solution I'll post it in this thread to help others.
Once they did that, Umbraco login stopped working at all and there was a 500 error in /postlogin
To fix it, I had to remove the "IsolateApps" from the key, so the final fix was:
Unauthorized (401) when logging in backoffice
Hi Everyone,
We have an Umbraco 7.4.3 running in an https environment. When we try to login to it, it enters the backoffice and immediatelly logs out, with message "Session time out". We have the following errors in console:
https://websiteurl.com/umbraco/LegacyTreeJs?umb__rnd=7.4.3.1089022656 Failed to load resource: the server responded with a status of 401 ()
Failed to load resource: the server responded with a status of 401 () https://www.gravatar.com/avatar/df12f7a5953a283801da32e9c28db59d.jpg?s=64&d=404 Failed to load resource: the server responded with a status of 404 (Not Found)
https://websiteurl.com/umbraco/backoffice/UmbracoApi/Dashboard/GetDashboard?section=content Failed to load resource: the server responded with a status of 401 ()
https://websiteurl.com/umbraco/backoffice/UmbracoTrees/ApplicationTree/GetApplicationTrees?application=content&tree=&isDialog=false Failed to load resource: the server responded with a status of 401 ()
This did not happen before, but we started having the error once Umbraco reached around 3k nodes. Do you have any idea on what could have happen or how we can fix it? We also tried uploading the Umbraco files again, but no luck.
There's been a few other reports of this, make sure to read this to see if you can get anything useful out of those:
https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/49453-HTTPS-and-BackOffice-logging-in?p=0
And apart from that: ask yourself what changed recently in the site? Maybe it has something to do with features that were recently implemented.
Hi Sebastiaan, thanks for the feedback.
Besides the huge number of nodes being registered, there was no code change on the website that would make it fail. I followed some considerations from other topics and requested the host to take a look into any server change and, perhaps, adding a machinekey to the web.config to see if it is fixed. Once we find a solution I'll post it in this thread to help others.
For future reference...
This problem was fixed by adding a machinekey to the webconfig. I contacted the hosting company and they added the following to web.config:
Once they did that, Umbraco login stopped working at all and there was a 500 error in /postlogin To fix it, I had to remove the "IsolateApps" from the key, so the final fix was:
is working on a reply...