Self hosted, mostly working fine however completely randomly I am getting kicked out of the application and redirected to the root folder.
Site is running as follows:
https://mydomain/ninja - I can hit this url, login and do stuff as per normal. However completely randomly I will get booted out of the app and get returned to http:/mydomain - I then have to clear my cookies to be able to log back in and carry on.
Obviously a major PIA and not sure whats going on. My env file (relevant bits) is set as follows:
Not sure to be honest, i’ve not added anything apart from what the app originally needed, however it maybe installed upon the server by default. It’s running Centos7.2 if that helps.
Reading that post, it does seem possible that is the cause though.
Done that now, will see how it runs. Wondering how easy it would be to move it from the /ninja folder to the domain root, just a case of moving the files or is there anything else db wise I need to setup? Could the fact it’s in a sub folder be causing the issues or do you think it’s more stack related?
Still doing it and causing us a nightmare now operationally - it’s looking like we will have to move away from the product now, it’s just not working for us.
Nothing like that. Just moved the app into the root of the domain and it still does it.
Interestingly it also does the same thing when not logged in i.e. just refreshing the login screen - took just over 35 refreshes but then went into the redirect spiral and requires cookies being cleared to fix.
Going to move it to another Linux box and see if it does the same there - failing that, i’m binning it.
Configured with public in the url - initially it was domain/ninja/public but also tried moving the files as discussed earlier to domain/public with the same results.
Must be an environment issue, OS is Centos 7 but strange nobody else has ever reported it - clearing the cookies allows us to use it again.