On my personal dedicated server I am running a Rancher server now, unfortunately it seems that every time I perform an action it logs me out right after and dumps me back to the login screen.
It also seems that pages aren’t updating properly to backend actions.
Rancher v0.46.0
Cattle v0.112.0
User Interface v0.65.0
Rancher Compose v0.5.2
There aren’t any known gotchas with v0.46.0. I have been using v0.46.0, but haven’t had those issues. I know it’s been a couple of days. Are you still facing this issue?
Yeah still happening. I can only seem to perform a few actions before I get hit with a login screen. Same behavior across OSX and Linux, firefox (iceweasel) and chrome.
hi,
try to increase memory on rancher server.
Iv expirenced similar things and it usually happens when memory is low and processes ar being queued up…and when rancher server has a oome.
I migh be wrong, but i think rancher server default has xmx1024M so then it would not matter if you actually have 16g on server. you might experience oom.
Yeah this is still full force. Getting logged out constantly in 0.47, this never happened before and I just verified that my old 0.46 was not doing this until I upgraded to 0.47.
These rancher instances are barely doing anything, one agent and stack each. 0.47 has a lot of new toys but it’s been extremely unstable for me. I find it hard to believe this is a resource problem.
What kind of auth is enabled (github, local, ldap)?
Are you using any proxies or anything special in front of rancher (e.g. SSL termination)
To get some idea what’s going on, can you:
Go to the login page
Open up the browser dev tools (Chrome’s are the best)
Go to the “Network” tab
Check “Preserve Log”
Login and do something that causes you to get kicked out.
Take a screenshot of the network tab (scrolled down to the bottom)
There will likely be one response that says status 401… click on that and screenshot the “Headers” and “Preview” tabs contents.
Or if you’re willing to give me access to the instance or do a screenshare, you can contact me directly on the forum or email (my first name at rancher dot com).
Could you look into rancher-server logs to see if at the start of rancher-server, if rancher was able to clone the catalog? It looks as if Rancher Catalog might be causing your issues. Does the machine have outbound internet access to be able to git clone the catalog?
In the beginning of the logs after the steps to set up Rancher server are complete, you should see something like
2015-11-30 18:51:22,194 INFO [main] [ConsoleStatus] [102/102] [33071ms] [0ms] Starting storage-simulator
18:51:22.298 [main] INFO ConsoleStatus - [DONE ] [39406ms] Startup Succeeded, Listening on port 8081
time="2015-11-30T18:51:24Z" level=info msg="Starting Rancher Catalog service"
time="2015-11-30T18:51:24Z" level=info msg="Cloning the catalog from github url https://github.com/rancher/rancher-catalog.git"
Cloning into './DATA'...
time="2015-11-30T18:51:24Z" level=info msg="Starting websocket proxy. Listening on [:8080], Proxying to cattle API at [localhost:8081], Monitoring parent pid [9]."
time="2015-12-03T22:20:24Z" level=info msg="Starting Rancher Catalog service"
time="2015-12-03T22:20:24Z" level=info msg="Cloning the catalog from github url https://github.com/rancher/rancher-catalog.git"
fatal: destination path './DATA' already exists and is not an empty directory.
Additionally I am beginning to wonder if my log-out issues are related to IceWeasel since I was unable to reproduce in chrome today (although I have reproduced it in chrome on my home laptop running Chrome on OSX)
I dug around in the container but can’t tell where the relative reference for ./DATA is